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!
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
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