Reverse TCP Listener for Built Agents
This listener creates a TCP connection channel between the agent (client) and the C2 server. The agent connects to the C2 listener by using one or more specified hosts and port. All data is transmitted immediately without sleep or bandwidth limits.
Plugin ID: shelldot.listener.agent-reverse-tcp
Configuration Reference
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
hosts |
string[] | Yes | - | Array of IP addresses or hostnames the agent will use to connect to C2. |
port |
int | Yes | - | TCP port on which the C2 server listens for connections. |
handshakeBytes |
string | No | "" |
Base64-encoded random bytes used for the initial handshake between the C2 and the agent. |
startTime |
string | No | - | Optional UTC start time if the listener should delay its start (e.g. 2025-04-10T11:02:09Z). |
Configuration Scenarios
Scenario 1 - Basic TCP Reverse Connection
The minimal configuration for an agent connecting back over TCP to a single C2 host.
Scenario 2 - Multi-Host with Delayed Start
The agent connects to one of multiple hosts and the listener activates at a scheduled time.