RepositoryGoDEGermany
LU

luantak/ToRat

ToRat is a Remote Administation tool written in Go using Tor as a transport mechanism and RPC for communication

1.0kstars
193forks
6issues
4views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: persistence

#1 Repository of the week

1
TINIX TRENDING·Topic: keylogger

#1 Repository of the week

1
TINIX TRENDING·Topic: shell-reverse

#1 Repository of the week

License CircleCI Go Report Card Docker Cloud Build Status

A Cross Platform Remote Administration tool written in Go using Tor as its transport mechanism currently supporting Windows, Linux, MacOS clients.

DISCLAIMER

USE FOR EDUCATIONAL PURPOSES ONLY

Wiki

How to use ToRat Docker Image

Preview

Client Commands

CommandInfo
cdchange the working directory of the client
lslist the content of the working directory of the client
shreddelete files/ directories unrecoverable
screentake a Screenshot of the client
catview Textfiles from the client including .docx, .rtf, .pdf, .odt
aliasgive the client a custom alias
downdownload a file from the client
upupload a file to the client
speedtestspeedtest a client's internet connection
hardwarecollects a variety of hardware specs from the client
netscanscans a clients entire network for online devices and open ports
gomapscan a local ip on a clients network for open ports and services
escapeescape a command and run it in a native shell on the client
reconnecttell the client to reconnect
helplists possible commands with usage info
exitbackground current session and return to main shell

Server Commands

CommandInfo
selectselect client to interact with
listlist all connected clients
aliasselect client to give an alias
cdchange the working directory of the server
helplists possible commands with usage info
exitexit the server

Current Features

Architecture

  • RPC (Remote procedure Call) based communication for easy addition of new functionality
  • Automatic upx leads to client binaries of ~6MB with embedded Tor
  • sqlite via gorm for storing information about the clients
  • client is obfuscated via garble

Server Shell

  • Cross Platform reverse shell (Windows, Linux, Mac OS)

  • Supports multiple connections

  • Welcome Banner

  • Colored Output

  • Tab-Completion of:

    • Commands
    • Files/ Directories in the working directory of the server
  • Unique persistent ID for every client

    • give a client an Alias
    • all Downloads from client get saved to ./$ID/$filename

Persistence

  • Windows:

    • Multiple User Account Control Bypasses (Privilege escalation)
    • Multiple Persistence methods (User, Admin)
  • Linux:

    • Multiple Persistence methods (User, Admin)

Tor

  • Fully embedded Tor within go

  • the ToRAT_client communicates over TLS encrypted RPC proxied through Tor with the ToRat_server (hidden service)

    • anonymity of client and server
    • end-to-end encryption
  • optional transport without Tor e.g. Use Tor2Web, a DNS Hostname or public/ local IP

    • smaller binary ~3MB upx'ed
    • anonymity of client and server

Upcoming Features

Contribution

All contributions are welcome you don't need to be an expert in Go to contribute.

You may want to join the #torat channel over at the Gophers Slack

Credits

Similar Projects

Discover other similar projects and AI models.

RepositoryGo
Fahrj/reverse-ssh

Statically-linked ssh server with reverse shell functionality for CTFs and such

1.1k
Jul 19, 2026
RepositoryGo
SaturnsVoid/GoBot2

Second Version of The GoBot Botnet, But more advanced.

759
Sep 24, 2021
RepositoryGo
avelino/awesome-go

A curated list of awesome Go frameworks, libraries and software

197.2k
Dec 2, 2026
RepositoryGo
ollama/ollama

Get up and running with Inkling, Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

188.9k
Dec 2, 2026
RepositoryJava
tiagorlampert/sAINT

:eye: (s)AINT is a Spyware Generator for Windows systems written in Java. [Discontinued]

757
Apr 3, 2020
RepositoryPython
safesploit/python-remote-session-lab-poc

Educational lab project exploring secure remote session design, authentication flows, logging, and detection considerations. Built for defensive research and blue-team understanding.

174
Jul 22, 2023
RepositoryPython
lawndoc/mediator

An extensible, end-to-end encrypted reverse shell that works across networks without port forwarding.

100
Sep 28, 2025
RepositoryPython
practical-tutorials/project-based-learning

Curated list of project-based tutorials

290.9k
Nov 30, 2026
RepositoryGo
golang/go

The Go programming language

140.0k
Dec 1, 2026