|
1 year ago | |
---|---|---|
debian | 1 year ago | |
docker-tor | 1 year ago | |
example | 1 year ago | |
torch_agent | 1 year ago | |
.gitignore | 1 year ago | |
LICENSE.md | 1 year ago | |
README.md | 1 year ago | |
build-deb.sh | 1 year ago | |
publish-deb.sh | 1 year ago | |
pyproject.toml | 1 year ago | |
requirements.txt | 1 year ago | |
setup.cfg | 1 year ago | |
setup.py | 1 year ago | |
torch.conf | 1 year ago | |
torch.png | 1 year ago |
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 brokertorch-subscriber
- Listens for and handles onion hostname publicationsEasily launch a TORch Node monitor service using the torch-subscriber-docker
project
Add the Rudefox Repo as an apt
source
Install the torch-agent
package
sudo apt install torch-agent
If you don't already have a GPG key, generate one:
gpg --full-generate-key
Using the e-mail address you provided during GPG key generation, run build-deb.sh
to build a Debian package and install it
./build-deb.sh [email protected]
apt update && apt install build/torch-agent_0.0.6-1_all.deb
This will:
torch
torch-agent
/etc/tor/torrc
to activate control via the Tor Controller portThe TORch agent will look for a torch.conf
configuration in the configuration directory.
The configuation directory can be specified by
TORCH_CONFIG_DIR
environment variable--config-dir
commandline option/etc/torch
A fully configured example can be found here
See the sample torch.conf
file for additional configuration options and details