Cryptlog - A python keylogger

The constant threat: viruses, trojans, spyware, ... the list goes on

Cryptlog - A python keylogger

Post by 3vilp4wn on Sun May 19, 2013 3:38 pm
([msg=75685]see Cryptlog - A python keylogger[/msg])

Hello all!
I recently made a simple (Well, not very simple, but I digress) windows only ( :( ) keylogger in python and PHP. Here's the basics of how it works:

1.) captures keys in chunks of 25 keystrokes.
2.) Encrypts the keystrokes with a simple XOR encryption (not very good encryption mind you.)
3.) Sends the encrypted keystrokes off to a server that will record them. The server can deal with multiple clients (keyloggers) running at once, and will still display the keystrokes fine.

It's on github now, so I don't need to worry about updating it here :mrgreen:
CryptLog on Github!

Here's from the readme:
Here's what you need to do to start logging keystrokes:
1.) Download PyHook. You only need PyHook to be on the computer you use to build the keylogger.
2.) Edit the "" file.
a.) replace "thisiswhereyourkeygoes" with whatever key you want to encrypt the data with.
b.) Change "" to whatever your site is. (Need a good freehost? PM me.)
3.) Edit the "" file.
a.) Change "" to the name of your site.
4.) Edit the "droplogs.php" file.
a.) Change "keyloggerlogfiles.txt" to the name of the file you want to keep logs in.
5.) Upload "droplogs.php" to your site.
6.) Compile the file(s).
a.) Download "Pyinstaller 2.0" (
b.) Run "python -F --name=Cryptlog -w path\to\" where "path\to\" is the relitive path pointing to You *MUST* run this in PyInstaller's directory.
c.) *OPTIONAL* Run "python -F --name=Viewlogs path\to\" where "path\to\" is the relitive path pointing to You *MUST* run this in PyInstaller's directory.
7.) Put "Cryptlog.exe" into the victim's startup folder, or, better yet, into the startup registry key.
8.) Run "Viewlogs.exe" or "" and type in the name of the logfile that you set in setp 3a. Then, type in the ID of the log that you want to view. Each time Cryptlog.exe starts up, it creates a new log with a new ID. Next, type in what you used as your key in step 1a. From there, you should be able to view the logs of the keystrokes.
9.) *OPTIONAL* Send me an email telling me how much you love/hate CryptLog. My email (or, rather, the Evil Ninja Hackers email) is ""

Have fun,


If you need help setting it up, just post here or PM me.

Anyways, that's all.
It takes a bit to set up, but once you set it up, you can use the same.exe all the time :)
It's also hard for antivirus to detect, because each .exe is different.

Have fun,
Do not mistake understanding for realization, and do not mistake realization for liberation
Evil Ninja Hackers

User avatar
Posts: 144
Joined: Sun Feb 10, 2013 2:05 am
Location: The darkness.
Blog: View Blog (0)

Re: Cryptlog - A python keylogger

Post by Th3_M4d_H4tt3r on Wed Jun 26, 2013 4:42 pm
([msg=76251]see Re: Cryptlog - A python keylogger[/msg])

This is freaking awsome, thats some sexy coding XD
Tip me if I helped you!
BTC Address: 15wu8gxFAemZH3jC4km3Z8gMYtKHLxpnEv
User avatar
Experienced User
Experienced User
Posts: 54
Joined: Tue Jun 18, 2013 8:25 am
Blog: View Blog (0)

Return to Malware

Who is online

Users browsing this forum: No registered users and 0 guests