Connection Proxy

From enterprise
Jump to: navigation, search
Connection Proxy
ID T1090
Tactic Command and Control
Platform Linux, macOS, Windows
Data Sources Process use of network, Process monitoring, Netflow/Enclave netflow, Packet capture, Process monitoring
Requires Network Yes
Contributors Walker Johnson

A connection proxy is used to direct network traffic between systems or act as an intermediary for network communications. Many tools exist that enable traffic redirection through proxies or port redirection, including HTRAN, ZXProxy, and ZXPortMap.1

The definition of a proxy can also be expanded out to encompass trust relationships between networks in peer-to-peer, mesh, or trusted connections between networks consisting of hosts or systems that regularly communicate with each other.

The network may be within a single organization or across organizations with trust relationships. Adversaries could use these types of relationships to manage command and control communications, 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 victims to avoid suspicion.


  • APT28 used other victims as proxies to relay command traffic, for instance using a compromised Georgian military email server as a hop point to NATO victims.2 The group has also used a tool that acts as a proxy to allow C2 even if the victim is behind a router.3
  • Lazarus Group uses multiple proxies to obfuscate network traffic from victims.4
  • Strider 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.5
  • menuPass has used a global service provider's IP as a proxy for C2 traffic from a victim.6
  • The "ZJ" variant of BACKSPACE allows "ZJ link" infections with Internet access to relay traffic from "ZJ listen" to a command server.7
  • CHOPSTICK used a proxy server between victims and the C2 server.8
  • Cobalt Strike can be configured to have commands relayed over a peer-to-peer network of infected hosts. This can be used to limit the number of egress points, or provide access to a host without direct internet access.9
  • Duqu can be configured to have commands relayed over a peer-to-peer network of infected hosts if some of the hosts do not have Internet access.10
  • FLIPSIDE is a simple proxy that creates an outbound RDP connection.11
  • Gazer identifies a proxy server if it exists and uses it to make HTTP requests.12
  • HTRAN is used for proxying connections to obfuscate command and control infrastructure.13
  • Hikit supports peer connections.14
  • POWERSTATS has connected to C2 servers through proxies.15
  • Regin leveraged several compromised universities as proxies to obscure its origin.16
  • Vasport is capable of tunneling though a proxy.17
  • XTunnel relays traffic between a C2 server and a victim.18
  • netsh can be used to set up a proxy tunnel to allow remote host access to an infected host.19


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.20


Processes utilizing the network that do not normally have network communication or have never been seen before are suspicious. Network activities disassociated from user-driven actions from processes that normally require user direction are suspicious.

Analyze network data for uncommon data flows (e.g., a client sending significantly more data than it receives from a server or between clients that should not or often do not communicate with one another). Processes utilizing the network that do not normally have network communication or have never been seen before are suspicious. Analyze packet contents to detect communications that do not follow the expected protocol behavior for the port that is being used.20