This project is a keylogger developed in C++ by Thomas O'Neil Álvarez, with support for customizing its icon and compiling it for Windows systems.
The keylogger records all keypresses on a Windows machine and logs them into a file named registro_teclas.txt. It runs in the background as a hidden process.
- Records all keypresses, including special characters and combinations.
- Supports customizable icons for the executable.
- Developed in C++ for educational purposes.
- Ensure you have
mingw-w64installed on your Kali Linux machine. Install it if necessary with:sudo apt update sudo apt install mingw-w64
- Navigate to the directory containing the project files:
cd /path/to/project - Compile the keylogger into a
.exefile:- Without a custom icon:
x86_64-w64-mingw32-g++ keylogger.cpp -o keylogger.exe -lws2_32 -static -mwindows
- With a custom icon (requires
recursos.rc):- Compile the resource file:
x86_64-w64-mingw32-windres recursos.rc -o recursos.o
- Compile the executable:
x86_64-w64-mingw32-g++ keylogger.cpp recursos.o -o keylogger.exe -lws2_32 -static -mwindows
- Compile the resource file:
- Without a custom icon:
- Replace
Photoshop.icowith your desired.icofile in the project folder. - Update
recursos.rcto point to the new icon file:ICONO ICON "new_icon_name.ico" - Recompile the project following the steps above.
-
Using a USB Drive:
- Copy the
keylogger.exefile onto a USB drive. - Plug the USB into a Windows machine and transfer the file.
- Copy the
-
Dragging from Kali to Windows (in a virtual machine setup):
- Ensure shared folders are enabled between your Kali and Windows VM environments.
- Drag and drop the file from Kali to the Windows desktop.
To stop the keylogger running in the background:
- Open Task Manager on Windows (
Ctrl + Shift + Esc). - Locate the
keylogger.exeprocess. - Right-click and select End Task.
- This project is intended for educational purposes only. Use it responsibly and ensure compliance with all local laws and regulations.
Use this project at your own risk. It is designed exclusively for educational purposes.