Hunting Cobalt Strike Traffic
When to Use
- You have HTTP request logs (proxy/Zeek http.log) and/or process telemetry and want to detect
default-configuration Cobalt Strike beacons.
- You are triaging suspected C2 using known default artifacts before deeper analysis.
Do not use default-indicator detection as proof — operators customize Malleable C2 profiles.
Absence of defaults does not mean no Cobalt Strike. This skill parses telemetry and executes nothing.
Prerequisites
- HTTP request URIs and/or process/pipe telemetry.
Workflow
Step 1: Detect default stager URIs
python scripts/analyst.py hunt http.csv
Flags request URIs whose path matches the Cobalt Strike default stager checksum8 algorithm (sum of
the path characters mod 256 equals 92 for x86 or 93 for x64 stagers).
Step 2: Match default profile artifacts
Flag default user-agents, default URIs (/__utm.gif, /submit.php, /pixel), and default named
pipes (\\.\pipe\msagent_*, \\.\pipe\status_*) when present in telemetry.
Step 3: Confirm
Corroborate with beaconing periodicity and destination reputation; pivot to memory/config analysis.
Step 4: Operationalize
Write detections for checksum8 URIs and known default artifacts, accepting they catch defaults only.
Validation
- checksum8 detection correctly computes the path-character sum mod 256.
- Default profile artifacts are matched exactly, not by loose substrings.
- Findings are presented as default-indicator hits, not definitive attribution.
Pitfalls
- Customized Malleable C2 profiles defeating all default-artifact checks.
- checksum8 false positives on unrelated short URIs — corroborate with other signals.
- Treating a single default hit as confirmation without behavioral corroboration.