Application Layer Protocol

Adversaries may communicate using OSI application layer protocols to avoid detection/network filtering by blending in with existing traffic. Commands to the remote system, and often the results of those commands, will be embedded within the protocol traffic between the client and server.

Adversaries may utilize many different protocols, including those used for web browsing, transferring files, electronic mail, DNS, or publishing/subscribing. For connections that occur internally within an enclave (such as those between a proxy or pivot node and other nodes), commonly used protocols are SMB, SSH, or RDP.[1]

ID: T1071
Platforms: ESXi, Linux, Network Devices, Windows, macOS
Contributors: Duane Michael
Version: 2.4
Created: 31 May 2017
Last Modified: 24 October 2025

Procedure Examples

ID Name Description
S0660 Clambling

Clambling has the ability to use Telnet for communication.[2]

S0038 Duqu

Duqu uses a custom command and control protocol that communicates over commonly used ports, and is frequently encapsulated by application layer protocols.[3]

C0041 FrostyGoop Incident

During FrostyGoop Incident, the adversary initiated Layer Two Tunnelling Protocol (L2TP) connections to Moscow-based IP addresses.[4]

S0601 Hildegard

Hildegard has used an IRC channel for C2 communications.[5]

G1032 INC Ransom

INC Ransom has used valid accounts over RDP to connect to targeted systems.[6]

S0532 Lucifer

Lucifer can use the Stratum protocol on port 10001 for communication between the cryptojacking bot and the mining server.[7]

G0059 Magic Hound

Magic Hound malware has used IRC for C2.[8][9]

S0034 NETEAGLE

Adversaries can also use NETEAGLE to establish an RDP connection with a controller over TCP/7519.

S1147 Nightdoor

Nightdoor uses TCP and UDP communication for command and control traffic.[10][11]

S1084 QUIETEXIT

QUIETEXIT can use an inverse negotiated SSH connection as part of its C2.[1]

S1130 Raspberry Robin

Raspberry Robin is capable of contacting the TOR network for delivering second-stage payloads.[12][13][14]

G0106 Rocke

Rocke issued wget requests from infected systems to the C2.[15]

S0623 Siloscape

Siloscape connects to an IRC server for C2.[16]

S0633 Sliver

Sliver can utilize the Wireguard VPN protocol for command and control.[17]

G0139 TeamTNT

TeamTNT has used an IRC bot for C2 communications.[18]

G1047 Velvet Ant

Velvet Ant has used reverse SSH tunnels to communicate to victim devices.[19]

Mitigations

ID Mitigation Description
M1037 Filter Network Traffic

Use network appliances to filter ingress or egress traffic and perform protocol-based filtering. Configure software on endpoints to filter network traffic.

M1031 Network Intrusion Prevention

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.

Detection Strategy

ID Name Analytic ID Analytic Description
DET0444 Detection of Command and Control Over Application Layer Protocols AN1225

Detects suspicious usage of common application-layer protocols (e.g., HTTP, HTTPS, DNS, SMB) by abnormal processes, with high outbound byte counts or irregular ports, possibly indicating command and control or data exfiltration.

AN1226

Detects suspicious curl, wget, or custom socket traffic that leverages DNS, HTTPS, or IRC-style protocols with unbalanced traffic or beacon-like intervals.

AN1227

Detects applications using abnormal protocols or high volume traffic not previously associated with the process image, such as Automator or AppleScript invoking curl or python sockets.

AN1228

Detects application-layer tunneling or unauthorized app protocols like DNS-over-HTTPS, embedded C2 in TLS/HTTP headers, or misused SMB traffic crossing VLANs.

References