Monday, 10 November 2014

How to: Keylogger in Ubuntu


Logkeys is a gread program to record every keystroke.

To do so, enter in your terminal window:
sudo apt-get update
sudo apt-get install logkeys
You still need to download the right keymap for your keyboard underhttp://code.google.com/p/logkeys/wiki/Keymaps#Download
There is no US keyboard, as this is built into the program.
To run the keylogger, type
sudo logkeys –start –output=/home/user/Desktop/output.log –keymap=/home/user/Desktop/de.map
–start to start the program
–output=/   is the output file. This will be viewable with the administration password
–keymap   is the keymap file. If you have us keymap, simply type –us-keymap
That’s all, from now on, every keystroke will be recorded.
To stop, enter in the terminal:
sudo logkeys -k
This will stop the recording.
To view your log, simply type:
sudo gedit /home/user/Desktop/output.log
You always have to replace “user” by your name of the home folder.

The output will look something like this:

Logging started ...

2011-11-01 13:55:11+0100 > hello, how are you<LShft>?
2011-11-01 13:55:20+0100 > check this
2011-11-01 13:55:28+0100 > sudo k<BckSp>logkeys 

Logging stopped at 2011-11-01 13:55:44+0100

No comments:

Post a Comment