Skip to content

A Python 3 standalone Windows 10 / Linux Rootkit using Tor.

License

Notifications You must be signed in to change notification settings

Abaso007/tor-rootkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tor Rootkit

Docker Image CI Pyinstaller Build (Win) Pyinstaller Build (Linux)

A Python 3 standalone Windows 10 / Linux Rootkit. The networking communications are established over the tor network.

Disclaimer

Use for educational purposes only.

Installation

  • Clone with git:
git clone https://github.com/emcruise/TorRootkit.git
  • Change directory to the repository:
cd ./TorRootkit

Listener

The listener is designed to run on linux.

  1. Build docker container:
sudo docker build -t listener .
  1. Run docker container:
sudo docker run -it listener

Client

The client runs on Windows and Linux.

Note:

  • On Windows the build file bundles tor into a executable.
  • On Linux the build file expects that tor is installed globally in order for the client to work.

Prerequisites

  1. Change directory to client:
cd .\client
  1. Install all pip3 dependencies:
pip3 install -r requirements.txt
  1. Build executable from build.py:
  • downloads Tor Expert Bundle (Windows)
  • bundles python3 interpreter and tor expert bundle into 1 standalone .exe file
python build.py <listener-onion-address> <listener-onion-port>
  1. Execute the bundled client (Windows):
.\dist\client.exe
  1. Execute the bundled client (Linux):
./dist/client

Features

  • Standalone executable, including python interpreter and tor
  • The executable has a size of ~13MB on Windows and ~7MB on Linux
  • the whole communication works over tor hidden services which guarantees some degree of anonymity
  • The Listener can handle multiple clients
  • The Client auto reconnects when a unexpected closed connection occurs

Upcoming Features

  • cross-plattform compatibility
  • Up- and Download functionality
  • Screenshots
  • Keylogging
  • Persistence

How to use

Listener Shell Commands

Command Explanation
help Shows the help menu
^C or exit Exits the shell
list lists all connected clients with their according index
select <index> start shell with client

Client Shell Commands

Command Explanation
help Shows the help menu
^C or exit Exits the client shell and returns to listener shell
os <command> Executes a command in the clients shell and returns the output
background Keeps the connection to a client and returns to listener

Contribution

All contributions are appreciated.

Credits

About

A Python 3 standalone Windows 10 / Linux Rootkit using Tor.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.9%
  • Dockerfile 1.1%