Today we will take a look at an automated standalone keylogger written in Python. The keylogger has many of the cool features shown a while back in the “Python Keylogger” post, with some new stuff added in for good measure.
The keylogger is rather simple and can be run from command line. For those who missed the last post, one of the features allows to take screenshots when the client browses specific websites… adding to that, we implement a function to send automated emails containing the logs and screenshots captured.
Let’s take a look at the requirements…
The program is written in Python. If you don’t have it, go ahead and download it from their website. I’m on version 2.7.5 as of right now. I have also made a tutorial showing how to setup Python in case you need it. 😉
These are the modules we will need (required):
Once you have installed the modules, go ahead and download the files.
The zip comes with the source code and an already compiled executable – which lacks some of the features, however. If you want all of them, watch the video below and modify the code – that way you also learn more about how it works! 🙂
Click here to download the keylogger: [ DOWNLOAD ]
Automated Screenshots – this feature allows taking screenshots of specific websites, folders or files. The way it works is by checking the titlebar of the active window from a list (that you can choose). So if we choose “Facebook” every time it finds that word it will start taking X screenshots in Y intervals.
Why is this useful? Well, it can be used in login websites where the victims have they’re username saved and type their password, or just for obtaining targeted information.
Automated Emails – there’s not much to say about this one, it’s very simple: the keylogger will send you daily emails containing the logs and screenshots captured.
If you want the keylogger to execute at startup, there’s a few ways to do it.
One is to add a new service, like so (as administrator, obviously):
sc create servicename binpath= keylog.exe
Or just add a new registry key using “regedit”, also as administrator.
If you have any questions about it, just leave a comment below…
Check out the video in high quality!