A lightweight, educational key logger written in C++ using native Windows API. This tool captures keystrokes before they are processed by the operating system and logs them to a file. It runs silently in the background with no visible window or console, and can be accessed via the system tray (under hidden icons).
β οΈ Disclaimer: This project is for educational purposes only. Do not use it for malicious activities.
-
Clone the project.
-
Build it in Release mode using your preferred C++ development environment (e.g., MSVC or MinGW).
-
Add the compiled binary to Windows startup to run automatically on boot.
To make the program launch at system startup:
-
Open the Registry Editor (
regedit.exe). -
Navigate to the following path:
mathematica
CopyEdit
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run -
Create a new
String Value(Right-click > New > String Value). -
Name it as desired (e.g.,
KeyLogger), and set its value to the full path of your compiled executable (e.g.,C:\Path\To\KeyLogger.exe).
β Done! The application will now start automatically with Windows.
- You can open the log file by right-clicking the icon in the system tray and selecting the appropriate option (note: the icon may appear blank or hidden under the "Show hidden icons" menu).
-
Email: iliyafaramarzi1384@gmail.com
-
Telegram: @iliyafaramarzi