Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 681 Bytes

README.md

File metadata and controls

29 lines (17 loc) · 681 Bytes

keylogger

Linux kernel level keylogger.

To build:

make

To install the keylogger module:

sudo insmod keylogger.ko

Test whether the module is loaded:

lsmod | grep "keylogger"

Test whether the logging is happening:

cat /var/log/kern.log The log file will show the keystrokes logged after the module has been loaded.

To uninstall the keylogger module:

sudo rmmod keylogger

TODO:

  1. Figure out how to get status of Capslock key. Since this module could be loaded when the capslock is already enabled, we cannot depend on just listening for Capslock key press event.

  2. Keep configuration info like keycode to ascii mapping separately. And load it at runtime.