Has tunneled traffic from victims through an internal, compromised host to proxy communications to command and control nodes.1
- Tactic
- Command and Control
- Platforms
- ESXi, Linux, macOS, Network Devices, Windows
- Version
- 1.2
- Created
- 14 March 2020
- Last modified
- 12 May 2026
Adversaries may use an internal proxy to direct command and control traffic between two or more systems in a compromised environment. Many tools exist that enable traffic redirection through proxies or port redirection, including HTRAN, ZXProxy, and ZXPortMap. [1] Adversaries use internal proxies to manage command and control communications inside a compromised environment, to reduce the number of simultaneous outbound network connections, to provide resiliency in the face of connection loss, or to ride over existing trusted communications paths between infected systems to avoid suspicion. Internal proxy connections may use common peer-to-peer (p2p) networking protocols, such as SMB, to better blend in with the environment.
Internal Proxy MITRE reference T1090.001
9 groups have been recorded using this technique. Newest first; each entry carries MITRE’s procedure text and a link to the group’s full record. Click a name to filter the rules below.
Has used the built-in netsh port proxy command to create proxies on compromised systems to facilitate access.12
Has utilized a proxy tool to communicate between compromised assets.1
Discovered system proxy settings and used them if available.1
Used custom tools to create SOCK5 and custom protocol proxies between infected hosts.12
Has used local servers with both local network and Internet access to act as internal proxy nodes to exfiltrate data from other parts of the network without direct Internet access.1
All 9 groups for this technique · 6 newest in this preview
3 campaigns have been recorded using this technique. Listed newest first; dates are year-granularity and attribution is MITRE’s.
During APT28 Nearest Neighbor Campaign, APT28 used the built-in netsh portproxy command to create internal proxies on compromised systems.1
During the SolarWinds Compromise, APT29 used SSH port forwarding capabilities on public-facing systems, and configured at least one instance of Cobalt Strike to use a network pipe over SMB.12
During Operation Wocao, threat actors proxied traffic through multiple infected systems.1
All 3 campaigns for this technique
23 software entries are documented implementing this technique. MITRE files each as a tool or as malware; newest first, then by how many groups carry them.
Can act as an internal HTTP proxy within the targeted environment.1
Has leveraged SOCKS Proxy to pivot into victim networks in attempts to resemble legitimate administrative traffic.123456
Has leveraged peer-to-peer software to facilitate communications within the victim network to include the software WebRTC.1 GlassWorm has also established a SOCKS proxy to interact with victim devices that also acted as a proxy node for follow-on behaviors.1
Has proxied traffic between infected devices and their C2 servers.1
Can start a reverse proxy to initiate connections to arbitrary endpoints in victim networks.1
Can proxy C2 communications including to and from internal agents without internet connectivity.12
All 23 software entries for this technique · 6 newest in this preview
Offense vs defense T1090.001
Is defensive coverage keeping up with adversary use? Eight counts, each ranked against all 697 ATT&CK techniques. Attack sits left, defense right, so a shape leaning left means adversaries are better documented here than defenders are equipped. Hover any spoke for its percentile and the share of techniques that have more. The timeline below shows when each side arrived.
How it got here
Adversary activity (campaign spans) over cumulative rule output. Each source is plotted independently from zero, so neither line includes the other. Campaign dates are year-granularity.
Internal Proxy detection strategy DET0075
MITRE names one behaviour worth catching for this technique and breaks it into 5 analytics, one per platform. Each carries the log sources it needs and the fields you tune per environment.
Internal Proxy Behavior via Lateral Host-to-Host C2 Relay
AN0204 · Windows
Anomalous process (e.g., rundll32, svchost, cmd) initiates connections to internal peer hosts not seen in typical communication baselines, used to proxy or forward traffic internally, often using SMB, RPC, or high ports.
Log sources
The data this analytic draws on. You do not need every component — each one you already collect covers part of it. Each links to its ATT&CK record.
| Data component | Name | Channel |
|---|---|---|
| Process CreationDC0032 | WinEventLog:Sysmon | EventCode=1 |
| Network Traffic FlowDC0078 | Windows Firewall Log | SMB over high port |
| Network Connection CreationDC0082 | WinEventLog:Sysmon | EventCode=3, 22 |
Tunable fields
MITRE calls these the analytic’s mutable elements: the thresholds and filters you set for your own environment.
| Field | What you tune |
|---|---|
| InternalConnectionPattern | Tune based on known host-to-host communications that are rare (e.g., workstation-to-workstation). |
| DestinationPort | Focus on unusual internal traffic on ports like 1080, 8080, 4444, or SMB over non-standard ports. |
| TimeWindow | Correlate unusual traffic bursts with new process execution. |
AN0205 · Linux
socat, ssh, iptables, or ncat invoked from user space or cron jobs to create port forwarding, reverse shells, or inter-host tunnels between compromised Linux systems. Behavior is typically paired with socket activity and high entropy traffic.
Log sources
The data this analytic draws on. You do not need every component — each one you already collect covers part of it. Each links to its ATT&CK record.
| Data component | Name | Channel |
|---|---|---|
| Process CreationDC0032 | auditd:SYSCALL | execve |
| Network Traffic FlowDC0078 | NSM:Connections | Internal connection logging |
| Network Traffic ContentDC0085 | NSM:Flow | conn.log |
Tunable fields
MITRE calls these the analytic’s mutable elements: the thresholds and filters you set for your own environment.
| Field | What you tune |
|---|---|
| UserContext | Alert on unexpected users executing inter-host relay tools (e.g., www-data, backup). |
| PortRange | Adjust to watch for commonly misused internal TCP/UDP ports. |
| ProcessPattern | Shell pipelines or wrapped invocations like bash -c 'socat ...' |
AN0206 · macOS
Execution of AppleScript or Automator services launching ssh -L, socat, or launchctl items that dynamically reroute traffic from one Mac endpoint to another. LaunchAgents used to establish permanent internal tunnels.
Log sources
The data this analytic draws on. You do not need every component — each one you already collect covers part of it. Each links to its ATT&CK record.
| Data component | Name | Channel |
|---|---|---|
| Process CreationDC0032 | macos:unifiedlog | None |
| Service CreationDC0060 | macos:osquery | Process Events and Launch Daemons |
| Network Traffic FlowDC0078 | NSM:Flow | pf firewall logs |
Tunable fields
MITRE calls these the analytic’s mutable elements: the thresholds and filters you set for your own environment.
| Field | What you tune |
|---|---|
| LaunchAgentPath | Directory where proxying LaunchDaemons may be dropped, e.g., /Library/LaunchDaemons/. |
| PortBindings | Dynamic port forwards often use ephemeral or non-standard service ports. |
| AppleScriptUsage | May trigger on less common scripting interfaces for traffic redirection. |
AN0207 · ESXi
ESXi shell execution of tools/scripts (nc, socat, perl) relaying network traffic to other internal hosts, especially when initiated by unauthorized users or VMs.
Log sources
The data this analytic draws on. You do not need every component — each one you already collect covers part of it. Each links to its ATT&CK record.
| Data component | Name | Channel |
|---|---|---|
| Process CreationDC0032 | esxi:shell | /var/log/shell.log |
| Network Traffic FlowDC0078 | esxi:vmkernel | /var/log/vmkernel.log |
| Network Connection CreationDC0082 | NSM:Flow | conn.log |
Tunable fields
MITRE calls these the analytic’s mutable elements: the thresholds and filters you set for your own environment.
| Field | What you tune |
|---|---|
| CLICommandPattern | Watch for chained shell commands building local-to-local connections. |
| VMInitiator | Correlate to which VM initiated the traffic tunnel; unexpected VM behavior may be suspicious. |
| ConnectionDirectionality | Unusual east-west communication patterns among VMs. |
AN0208 · Network Devices
Configuration of internal NAT or proxy rules that redirect traffic between client segments internally (e.g., site-to-site port forwarding). Often used to relay internal beaconing or move traffic laterally through trust zones.
Log sources
The data this analytic draws on. You do not need every component — each one you already collect covers part of it. Each links to its ATT&CK record.
| Data component | Name | Channel |
|---|---|---|
| Firewall Rule ModificationDC0051 | Firewall Audit Logs | Config Change |
| Command ExecutionDC0064 | networkdevice:cli | Policy Update |
| Network Traffic FlowDC0078 | NSM:Flow | Inter-segment traffic |
Tunable fields
MITRE calls these the analytic’s mutable elements: the thresholds and filters you set for your own environment.
| Field | What you tune |
|---|---|
| ProxyTarget | Internal subnets or endpoint roles allowed for port forwarding. |
| ConfigChangeUser | Detect changes made outside scheduled or authorized windows. |
| FlowThreshold | Volume of data relayed through proxy exceeds historical norms. |
Network intrusion detection and prevention systems that use network signatures to identify traffic for specific adversary malware can be used to mitigate activity at the network level. Signatures are often for unique indicators within protocols and may be based on the specific C2 protocol used by a particular adversary or tool, and will likely be different across various malware families and versions. Adversaries will likely change tool C2 signatures over time or construct protocols in such a way as to avoid detection by common defensive tools.
Tests from Atomic Red Team (MIT licence) · technique definition