TORch is a solution for creating an SSH-via-Tor backdoor on a remote device as a means of fallback remote management and initial headless device configuration.
Since Tor traffic easily crosses NAT boundries, this is a nice solution for
A TORch solution consists of 3 processes:
torch-agent- Installed on remote machine; responsible for creating Tor hidden service and broadcasting the onion hostname an MQTT broker
torch-subscriber- Listens for and handles onion hostname publications
Copy the files to the target device
Run the installation script:
[email protected]:~$ ./install-ubuntu2004.sh
This will create a local user
torch and install the TORch agent as a Systemd service named
The TORch agent will look for a
torch.conf configuration in the configuration directory.
The configuation directory can be specified by
A fully configured example can be found here
See the sample
torch.conf file for additional configuration options and details