Awesome Open Source
Awesome Open Source


Windows OS keylogger with a hook mechanism (i.e. with a keyboard hook procedure).

Mapped most of the keys for the standard US keyboard layout.

All the code you need is in this file:

Built with Visual Studio Community 2019 v16.9.3 (64-bit) and tested on Windows 10 Enterprise OS (64-bit).

Made for educational purposes. I hope it will help!

How to Run

Run Keylogger_x86.exe (32-bit) or Keylogger_x64.exe (64-bit).


If hide window functionality is enabled, do not forget to shutdown the keylogger's process through task manager.

If hide files functionality is enabled, do not forget to delete the hidden keylogger's files after shutting the keylogger down first.

If startup functionality is enabled, do not forget to remove the keylogger's registry key called keylogger located at HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run.

Executable provided does not have these functionalities active. If you want to try them out, uncomment the corresponding methods inside the source code and recompile it.



Figure 1 - Keylogger


Figure 2 - Log

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
C Plus Plus (371,435
Windows (9,734
Security (8,739
Keylogger (346
Ethical Hacking (230
Offensive Security (171
Related Projects