Logkeys is a keylogger for Linux. This is malicious software that can record everything a user types on the keyboard. The latter is often used to conduct espionage or recover passwords easily.
Today there are several software keylogger on Linux, or as LKL Uberkey. But these are quite old and only support the PS / 2 keyboards. Logkey is a project a little later that, in addition, supports USB keyboards.
1. Installing Logkeys
Visit the official site and download the latest version. Then open a terminal as root and run the following commands:
tar zxvf logkeys-*.tar.gz && rm -f logkeys-*.tar.gz && cd logkeys*
2. Exemple d’utilisation de Logkeys
Logkeys has the distinction of operating as a demon. Here is an example command to launch. Please note, in some cases, it will adjust the path /dev/input/event. Feel free to test them all if it does not work (event0, event1 … event6):
logkeys –start –device=/dev/input/event4
The logs will then be visible in /var/log/logkeys.log:
tail -f /var/log/logkeys.log
If you want to stop the demon, you can do it with the following command: