klogger
klogger is a user space keylogger made to run on Linux,
although it probably can run on other systems (I haven't tested
yet). After doing
much research on making a practical keylogger in Linux, I
decided to make a user space keylogger rather then a kernel
space keylogger. A user space keylogger has the advantages
that it can be more portable (doesn't have to be built for a
specific kernel) and has fast and easy access to the file system
and network.
There are several modifications in the works to klogger
which would be nice:
- A way to detect the current keymap (Standard US
layout, dvorak, etc...) and choose an appropriate
keymap from a set of corresponding keymaps. This would
require modifying scancodes.c as it currently
only considers a US layout.
- Better PS/2 mouse parsing. Because this program
reads from the PS/2 port, it has to ignore the mouse.
The logic to do this is currently simple and could
definitely be improved.
- Network access. The ability for this program to
send it's output to a remote network host would be nice.
- Testing on different operating systems. This
program seems like it would be able to work on a variety
of UNIX operating systems, but I haven't been able to
test it. Any bug reports for other operating systems
are welcome.
- Testing for non-PS/2 keyboards. I haven't tested
this with USB keyboards so again, bug reports are
welcome.
Download: klogger.tar.gz