Hacker News new | past | comments | ask | show | jobs | submit login
Show HN: Keysniffer – an academic functional Linux kernel mode keylogger (github.com/jarun)
1 point by apjana on Jan 8, 2020 | hide | past | favorite | 1 comment



`keysniffer` is a Linux kernel module to grab keys pressed in the keyboard, or a keylogger.

It's also an academic project for devs willing to learn Linux kernel module programming, with extensive comments, checkpatch.pl scanned code, standards-compliant Makefile and DKMS support.

`keysniffer` was initially written for the US keyboard (and conforming laptops). By default it shows human-readable strings for the keys pressed. Optionally, the keycode shift_mask pair can be printed in hex or decimal. You can lookup the keycodes in `/usr/include/linux/input-event-codes.h`.

The keypress logs are recorded in debugfs as long as the module is loaded.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: