← Techniques
T1071 Defined ATT&CK T1071 ↗

Application Layer Protocol (C2)

Process Transmit NetworkTraffic — Transmit command-and-control communications over a standard application layer protocol to blend with legitimate traffic.

Ontological Definition
ActorProcess
ActionTransmit
ArtifactNetworkTraffic

Detect

STP 3

No OCSF field is invariant for this technique — the attacker controls the destination, protocol, and timing. Beaconing behaviour analysis requires statistical modelling and uses variable victim-side fields at best.

Gate on
activity_id = Traffic

Focus on beaconing behaviour analysis across all protocols. Unexpected destinations combined with periodic connection patterns are more durable than domain or IP blocklists. No single rule reaches STP 5 for this technique.

Mitigate

STP 3

Protocol-specific controls are STP 3 — the attacker switches protocol. Zero-trust egress controls restricting which processes may make outbound connections raise the bar but stop short of STP 5 because the attacker can use any allowed process as a proxy.

D3FEND controls
d3f:NetworkTrafficFiltering

No STP 5 mitigation exists. Detection is the primary defensive lever.

Restrict outbound connections per process using an egress proxy or zero-trust network controls. This forces C2 through inspectable channels regardless of protocol.

Respond

Controlled

The target process now executes attacker-controlled code. Kill the injector process and the compromised target immediately. Investigate all files, network connections, and child processes they spawned.

Attacker foothold
Implant / Beaconactor.process
C2 Serverdst_endpoint
C2 Channelnetwork
D3FEND response actions
d3f:ProcessTerminationd3f:NetworkIsolation
OCSF event model

Event class: Network Activity (4001)  ·  activity_id: Traffic

attacker-controlledpost-successvictimtainted
%%{init: {"theme": "dark", "themeVariables": {"edgeLabelBackground": "#18181b", "lineColor": "#52525b"}}}%%
graph TD
  classDef attacker fill:#7c2d12,stroke:#ea580c,color:#fed7aa
  classDef victim fill:#1e3a5f,stroke:#3b82f6,color:#bfdbfe
  classDef postSuccess fill:#78350f,stroke:#d97706,color:#fde68a
  classDef tainted fill:#18181b,stroke:#52525b,color:#a1a1aa

  EVENT(["Network Activity\n· Traffic"])

  actor_process["Implant / Beacon\nactor.process\nd3f:Process"]:::attacker
  c2_endpoint["C2 Server\ndst_endpoint\nd3f:Host"]:::attacker
  network_traffic["C2 Channel\nnetwork\nd3f:NetworkTraffic"]:::attacker
  device["Host\ndevice\nd3f:Host\n⚠ tainted"]:::tainted

  EVENT --> actor_process
  EVENT --> c2_endpoint
  EVENT --> network_traffic
  EVENT --> device

  actor_process -->|"beacons to"| c2_endpoint
Implant / Beacon
actor.process·d3f:Process
attacker-controlled
Countermeasures
d3f:ProcessTermination
C2 Server
dst_endpoint·d3f:Host
attacker-controlled
dst_endpoint.ipattacker_controlledC2 IP — attacker-controlled, rotated frequently
dst_endpoint.domainattacker_controlledC2 domain — attacker-controlled, DGA or fast-flux evades this
Countermeasures
d3f:NetworkTrafficFiltering
C2 Channel
network·d3f:NetworkTraffic
attacker-controlled
network.bytes_outvariableOutbound bytes — beaconing periodicity is the closest technique-proximate observable
network.protocol_nameattacker_controlledProtocol — Execution Medium, attacker switches freely
Countermeasures
d3f:NetworkTrafficFiltering
Host
device·d3f:Host
tainted
Countermeasures
d3f:NetworkIsolation
Definitional Sigma rule

Broad by design — defines the technique, not an operational alert. Gate on variable or attacker-controlled field conditions to narrow for production use.

title: Application Layer Protocol (C2) (T1071)
status: experimental
description: >
  Definitional rule — broad by design. Defines the technique independent of
  medium, tool, or attacker-controlled variables. Narrow with variable and
  attacker-controlled field conditions for operational use.
logsource:
  product: ocsf
  category: Network Activity (4001)
detection:
  selection:
    activity_id: 'Traffic'
  condition: selection
Seen in the wild2reports

APT28's Covenant C2 bridge routes all traffic through Koofr and Filen cloud storage APIs — C2 communication indistinguishable from legitimate cloud storage at the network layer.

GammaLoad uses Telegram and Cloudflare Workers as Dead Drop Resolvers — application layer protocol abuse to retrieve live C2 addresses while blending with legitimate traffic.