Tips Tricks Tutorials

WEB-NES-BAY

Learn Tips and tricks on Linux, Hacking, linux, PHP, Perl, Web, Hardware

bookmark bookmark
WEBNESBAY On October - 25 - 2009

I am searching for a keylogger for Ubuntu Linux. Finally I found it in sourceforge.net. Here are the simple steps for keylogger in ubuntu

What is Keylogger?

Keystroke logger is the practice of noting (or logging) the keys struck on a keyboard, typically in a covert manner so that the person using the keyboard is unaware that their actions are being monitored. There are numerous keylogging methods, ranging from hardware- and software-based to electromagnetic and acoustic analysis.

keylogger in Linux

We have an opensource software available for Linux called lkl (Linux Key Logger).

LKL is a userspace keylogger that runs under linux–x86/arch. LKL sniffs and logs everything passes trought the hardware keyboard port (0×60).

Download key logger here

How to Install?

Step 1

Unzip or untar the file you have downloaded

Step 2

Change in to directory by typing cd lkl

Step 3

Give the below command

./confiure

This will check all the required resurces it needs

Step 4

Type make' to compile the package.

Step 5

Optionally, type make check’ to run any self-tests that come with the package.

Step 6

Type `sudo make install‘ to install the programs

Now you are done with the installation

How to use?

You can send argument with the command lkl
-h help
-l start to log the 0×60 port (keyboard)
-b debug mode
-k <km_file> set a keymap file
-o <o_file> set an output file
-m <email> send logs to <email>
-t <host> hostname for sendmail. Default is localhost

Example: lkl -l -k us_km -o log.file // use USA kb and put logs in ‘log.file’

Please comment on the same if it doesn’t works for you

Related posts:

  1. How to use Windows Key in Ubuntu Linux
  2. How to surf anonymus in ubuntu linux
  3. Download youtube videos in ubuntu linux
  4. How to block websites in Ubuntu Linux
  5. How to repair windows using linux
Categories: Hacking, Linux

10 Responses

  1. Great trick to know. I’m a huge Ubuntu lover, so this’ll definitely be bookmarked for later use :)

  2. s_man says:

    that is not work with error “have to be root to perform iopl()!”

  3. yellowBeard says:

    s_man;

    use sudo

  4. adit says:

    How to send the log file to my gmail account automatically? I tried giving my email address under the -m option and setting the hostname to smtp.gmail.com under -t option but that is not working. Please help!!!!

    All in all i tried doing this…

    lkl -l -k us_km -o log.file -m xxx@gmail.com -t smtp.gmail.com

    But i did not get any mail. As I am a n00b please explain how to achieve this in detail.

    Thanks

  5. skyniazi says:

    thanks guys.it is working fine..but i want to run logger service in background
    how i can do this

  6. hera says:

    sudo make install
    make[1]: Entering directory /home/hera/Documents/lkl'
    /bin/bash ./mkinstalldirs /usr/local/bin
    /usr/bin/install -c lkl /usr/local/bin/lkl
    make[1]: Nothing to be done for
    install-data-am’.
    make[1]: Leaving directory `/home/hera/Documents/lkl’
    hera@hera-945GCMX-S2:~/Documents/lkl$

    this is what i got after typing sudo make install interminal
    unable to install keylogger.please help!!!

  7. James says:

    this is not working! wish someone would just make a click to install file no compiling etc

  8. Jmunk says:

    So I am running the above code lkl -l -k us_km -o log.file //

    and getting

    Started to log port 0×60. Keymap is us_kmALT. The logfile is log.file.

    unable to find keymap-file: No such file or directory

    What to do???

  1. Linux Keylogger in Ubuntu « hostwebsitereview.com says:

    [...] Read the original post: Linux Keylogger in Ubuntu [...]

Leave a Reply

Easy AdSense by Unreal