Cobalt Strike

Field Detail
Summary Commercial C2 — here mainly for recognising and detecting it
Category Command & Control (C2)
Phase post-exploitation
Interface GUI + CLI (team server / client)
Platform Linux server, cross-platform Java client
Licence Commercial (Fortra)
Docs https://www.cobaltstrike.com/
Related Sliver, Metasploit, Mimikatz

The commercial adversary-simulation / C2 platform that is the de-facto standard for professional red teams — and, via cracked/leaked copies, one of the most common C2 frameworks seen in real-world intrusions and ransomware. This sheet is orientation and detection, not an operational guide: understanding its architecture and indicators matters far more here than driving it (and it's licensed commercial software — you won't be running it in a lab the way you would Sliver).

⛔ Danger — Licensed, and heavily abused Cobalt Strike is paid software (vetted customers only). Using cracked copies is both unlawful and a hallmark of criminal activity. Legitimate use is authorised red-team engagements by licensed operators. The high-value knowledge for study is recognising and detecting it.

Architecture (concepts)

  • Team server — the C2 server (one per engagement); operators connect to it.
  • Client — the Java GUI/console operators use; multiple operators share one team server (collaboration).
  • Beacon — the implant on the target. Two rhythms:
    • Asynchronous — "sleeps" and checks in periodically (low and slow; sleep time + jitter).
    • Interactive — near-real-time when needed.
  • Listeners — define how Beacon talks back: HTTP, HTTPS, DNS, and SMB named-pipe / TCP for peer-to-peer linking of Beacons during lateral movement.

Malleable C2 (why it's hard to catch)

A Malleable C2 profile lets the operator reshape Beacon's network traffic (URIs, headers, user-agents, how data is encoded) and in-memory characteristics to mimic legitimate traffic or specific threat actors. This is the main reason signature-based detection struggles — two engagements can look completely different on the wire.

How it compares

Cobalt Strike Sliver Metasploit
Cost Commercial (£££) Free / OSS Free / OSS
Role Mature red-team C2 Red-team C2 (OSS) Exploitation + sessions
Multiplayer Yes (team server) Yes Limited
Study value here Mostly detection Hands-on C2 Hands-on exploitation

For actually practising C2 tradecraft in a lab, use Sliver; for exploitation and quick sessions, Metasploit. Cobalt Strike's place in this library is understanding real intrusions and defending against them.

Detection & defence (the part that matters most)

Network

  • Regular, jittered check-ins (beaconing) — detect periodicity even when the payload is encrypted.
  • Known JA3/JA3S TLS fingerprints for default profiles; default self-signed certificate (the infamous serial / C=Earth artefacts) when operators forget to customise.
  • DNS-listener Beacons produce high-volume, high-entropy TXT/A queries.
  • Default profile URIs/headers are well documented in threat intel (e.g. /submit.php, specific GET/POST patterns) — match against known profiles.

Host / memory

  • SMB Beacon named pipes with recognisable default patterns (e.g. \\.\pipe\msagent_*, \\.\pipe\status_*, postex_*).
  • Default spawnto process and injection via rundll32/dllhost with no command line; unbacked (module-less) executable memory from reflective loading.
  • Beacon configuration extraction from memory/samples with community tools — Sentinel-One's 1768.py, CobaltStrikeScan, Volatility plugins — reveals C2 servers, sleep, jitter, profile.
  • Sysmon + Sigma rules for named-pipe creation, suspicious process injection, and spawnto anomalies.

Mitigations

  • EDR with behavioural (not just signature) detection of injection and token manipulation.
  • Egress filtering + TLS inspection; alert on beaconing and anomalous DNS.
  • Network segmentation to limit SMB-pipe peer-to-peer lateral movement.
  • Threat-intel feeds of known team-server IPs / JA3 / profiles.

More detection signatures (artefacts to alert on)

  • Default team-server TLS cert — self-signed, historically serial 146473198, CN=Major Cobalt Strike; alert on these.
  • JA3 / JA3S fingerprints for default Beacon TLS are widely published — match at the proxy/NIDS.
  • Named pipes — \\.\pipe\msagent_##, status_##, postex_####, MSSE-####-server (SMB-Beacon defaults).
  • Default sleep 60s / 0% jitter → highly regular beaconing; alert on periodicity even when encrypted.
  • Spawnto / fork-and-run — injection into rundll32.exe / dllhost.exe with no command line.
  • Memory — RWX / unbacked executable regions from reflective loading; extract Beacon config with 1768.py, CobaltStrikeScan, or Volatility.
  • DNS Beacon — high-volume, high-entropy TXT/A queries to a single domain.
  • Malleable C2 reshapes URIs/headers, so combine network + host + memory signals rather than one signature. Turn these into Sigma rules / EDR detections.

Kill-chain usage

Post-exploitation

# detection: hunt default named pipes (msagent_##) and JA3/JA3S fingerprints

Where it fits

The commercial counterpart to Sliver in the post-exploitation / C2 slot. In this library its primary value is blue-team and threat-intel: recognising Beacon traffic, extracting its config, and hardening against it. Credential and lateral-movement tradecraft it performs maps to the same concepts as Mimikatz and the AD sheets — the defensive indicators above are what turn that knowledge into detections.