Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/MinhasKamal/TrojanCockroach
A Stealthy Trojan Spyware
https://github.com/MinhasKamal/TrojanCockroach
cpp fud keylogger malware pendrive spyware trojan trojan-cockroach virus
Last synced: 3 months ago
JSON representation
A Stealthy Trojan Spyware
- Host: GitHub
- URL: https://github.com/MinhasKamal/TrojanCockroach
- Owner: MinhasKamal
- License: mit
- Created: 2015-11-19T20:41:54.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-02-11T06:12:37.000Z (9 months ago)
- Last Synced: 2024-05-08T08:33:08.520Z (6 months ago)
- Topics: cpp, fud, keylogger, malware, pendrive, spyware, trojan, trojan-cockroach, virus
- Language: C++
- Homepage:
- Size: 1.23 MB
- Stars: 882
- Watchers: 64
- Forks: 245
- Open Issues: 23
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Trojan Cockroach
[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/donate/?business=5KR6BA9MYTM62&no_recurring=0¤cy_code=USD)
#### A Stealthy Trojan Spyware
You are looking at a **Trojan Virus** that steals data (ID, password; every key stroke) from PC (Windows XP or later), then emails them back to you. It spreads among PCs through USB drives, and is almost undetectable to any antivirus software.
*Created only for learning purpose.*
### Intro
- [TrojanCockroach.cpp](https://github.com/MinhasKamal/TrojanCockroach/blob/master/com/minhaskamal/trojanCockroach/TrojanCockroach.cpp)- logs user's data, sends data through Transmit.exe, infects portable drive.
- [Infect.cpp](https://github.com/MinhasKamal/TrojanCockroach/blob/master/com/minhaskamal/trojanCockroach/Infect.cpp)- installs the virus into computer from portable drive.
- [Transmit.exe](https://github.com/MinhasKamal/TrojanCockroach/blob/master/com/minhaskamal/trojanCockroach/Transmit.exe)- emails data back.
- [TrojanCockroach.lnk](https://github.com/MinhasKamal/TrojanCockroach/blob/master/com/minhaskamal/trojanCockroach/TrojanCockroach.lnk)- resides in the startup folder of PC and activates TrojanCockroach.exe.
- [Infect.lnk](https://github.com/MinhasKamal/TrojanCockroach/blob/master/com/minhaskamal/trojanCockroach/Infect.lnk)- takes different attractive names in the infected portable drive, activates Infect.exe when clicked.
- [DecodeMessage.cpp](https://github.com/MinhasKamal/TrojanCockroach/blob/master/com/minhaskamal/trojanCockroach/DecodeMessage.cpp)- used to decode received email.### Setup
Preparation
Download the full package from here.
Change the method sendData() of TrojanCockroach.cpp- place your email and password in the command.
Compile TrojanCockroach.cpp & Infect.cpp. Transmit.exe is actually the executable distribution of curl for Windows.
Place TrojanCockroach.exe, Infect.exe, Transmit.exe, Infect.lnk & TrojanCockroach.lnk in the same folder. This is how they look-
Now run TrojanCockroach.exe then insert a pendrive (see the magic!). You will get a hidden folder and link file in your pendrive. The hidden folder contains the full package, & the link file is actually renamed form of Infect.lnk.
Attack
Insert the USB-Drive in the subject's PC (Yes, you have to start the spreading process from somewhere!). Run Infect.lnk and the spyware will be injected.
The syware will be activated after a reboot. Now (after a restart) every time any USB-Drive is inserted in the affected PC, the virus will copy itself in that, and the cycle will start again.
Data Collection
You need to wait several days (depending on the number of power on/off of the PC), before getting any data.
After getting the email copy the full message to a text file.
As the message has come through email certain characters are converted. To resolve that --- --- ---.
Now, run DecodeMessage.exe for decoding the message as plain text.
In this phase, you can look for specific patterns in the text, and thus get rid of most of the useless parts (like- mouse click, or same key-group press as happens during gaming).
### Further
You may read [TrojanCockroachStory](https://github.com/MinhasKamal/TrojanCockroach/blob/master/TrojanCockroachStory.md) to get an overview of how the program works. You will get a clearer understanding of the project from its pre-project- **[StupidKeyLogger](https://github.com/MinhasKamal/StupidKeyLogger)**.The project is perfectly runnable. However, I do not want newbies to abuse my project. So, I am **keeping some simple secrets unrevealed**. There are also some intentionally created **holes in this 'README'**. I have made some **nonsense changes in the code** too; so that- no one can run it effectively without getting his hands dirty. I believe these plain obstacles can easily be overcome by ***ACTUAL PROGRAMMERS*** :)
**Note:** *I will not also take any responsibility of someone else's ill act with this program.* But I do believe that a real learner will learn a lot from this.
### License
Trojan Cockroach is licensed under MIT License.