On 7/2/06, Peter Philipp <[EMAIL PROTECTED]> wrote:
On Sun, Jul 02, 2006 at 02:56:03PM -0400, Nick Guenther wrote:
> I have some questions though:
> How can you make a keylogger on UNIX? I thought that UNIX segmented
> it's memory spaces, unlike Windows which has the problem of a "global
> key trampoline" (I'm sorry, I read this somewhere once and do not
> remember exactly what it was called). I suppose if you replaced the
> kernel than you could do this but I don't think that's what was meant.

I think this was meant.  man wskbd tells a little about the keyboard and
the routines for this are in /sys/dev/wscons I think.  Because you have
the source, can recompile and the code is written with KISS in mind you'll
be able to patch something up.  However if you do you should check your
morals, they come back to haunt you if you abuse them.  Running a default
kernel compiled by deraadt directly from the CD-ROM should ensure that no
keylogger of any sort is installed in the kernel.  There really isn't much
reason to compile your own kernel unless you add your own stuff or want to
change something.

Ah, okay, thank you! I see a lot go across on this list only
half-explained, which is good for those who know what is going on but
not for newbies like me.

It's nice that this list is the sort of place where you are expected
to use your own morals instead of blindly following the "no hacking is
bad!" mantra. For the record, I was just curious, I'm not actually
planning on bugging my systems.

-Nick

Reply via email to