Cobaltstrike
Table of Contents
Overview
Cobalt Strike (specifically its Beacon payload component) is the world's most ubiquitous commercial adversary simulation and post-exploitation framework. Originally authored by Raphael Mudge and developed by HelpSystems (now Fortra) for legitimate red-team penetration testing, cracked and leaked versions (notably versions 4.0 through 4.9) have been comprehensively adopted by sophisticated cybercrime syndicates, initial access brokers, and advanced persistent threat (APT) groups. The core implant, Beacon, operates in-memory using reflective DLL loading and process hollowing to evade traditional endpoint detection and response (EDR) agents. It communicates over encrypted HTTP, HTTPS, DNS, or SMB named pipes using Malleable C2 profiles that emulate benign web traffic. Beacon features modular post-exploitation capabilities including token manipulation, Mimikatz integration for credential dumping, port scanning, lateral movement via WMI and PsExec, and sleep obfuscation techniques (such as Ekko, Foliage, and timer-based memory protection swapping) that protect the payload's memory space between check-ins. It is documented in multiple CISA alerts (including AA21-209A) and actively exploited in combination with edge appliance CVEs.
Known aliases
Threat reports may refer to this family under multiple names:
Threat Actor Attribution
Attribution is probabilistic, not a science. Each link below states its confidence level and the evidence behind it.
- Universal Red Teams, APT29, APT41, FIN7, Wizard Spider, LockBit Affiliates High confidence
Basis:
Family Pedigree & Lineage
Malware authors regularly fork and iterate upon existing codebases. Observed upstream lineage and downstream variants for this family include:
Derived From / Upstream Ancestry: Armitage
Known Derivatives & Downstream Variants: Cobalt Strike 3.X · Cobalt Strike 4.0-4.9 · Cobalt Strike Cracked Bofs
MITRE ATT&CK Techniques
Observed techniques used by this family, mapped to our technical analysis hubs and the official MITRE ATT&CK framework:
| Technique | Name | Tactic | Official Spec |
|---|---|---|---|
T1059.003 | Windows Command Shell | execution | ATT&CK ↗ |
T1055.001 | Dynamic-link Library Injection | defense-evasion | ATT&CK ↗ |
T1055.012 | Process Hollowing | defense-evasion | ATT&CK ↗ |
T1573.002 | Asymmetric Cryptography | command-and-control | ATT&CK ↗ |
T1021.002 | SMB/Windows Admin Shares | lateral-movement | ATT&CK ↗ |
T1003.001 | LSASS Memory | credential-access | ATT&CK ↗ |
T1105 | Ingress Tool Transfer | command-and-control | ATT&CK ↗ |
T1082 | System Information Discovery | discovery | ATT&CK ↗ |
Tactical Mitigations
Based on the techniques used by this family, consider the following defensive strategies:
- T1003.001: Monitor for LSASS memory dumping or registry SAM extraction. Enable Credential Guard on Windows systems.
- T1059.003: Restrict execution of Windows Command Shell (cmd.exe) and block unauthorized batch scripts.
- T1105: Implement network intrusion detection systems (NIDS) and host-based firewalls to block unauthorized inbound or outbound file transfers.
MITRE D3FEND™ Defensive Countermeasures
Defensive techniques mapped to counter the offensive tradecraft observed in this family (via the MITRE D3FEND matrix):
| D3FEND ID | Countermeasure Name | Tactic | Countered ATT&CK | Defensive Guidance |
|---|---|---|---|---|
D3-LSA | LSA Protection & Credential Guard | Harden | T1003.001 | Enable Windows LSA RunAsPPL (Protected Process Light) and Credential Guard to prevent memory dumping of lsass.exe. |
D3-NBA | Network Behavioral Analysis | Detect | T1021.002 | Enforce SMB message signing, disable legacy SMBv1, and restrict administrative share access (C$, ADMIN$) to dedicated PAM bastion hosts. |
D3-DIA | DLL Injection Analysis | Detect | T1055.001 | Monitor remote thread creation (CreateRemoteThread) and unauthorized DLL loading into core Windows processes (svchost.exe, explorer.exe). |
D3-PHA | Process Hollowing Analysis | Detect | T1055.012 | Inspect unbacked executable memory regions (PAGE_EXECUTE_READWRITE) for replaced PE image headers inside legitimate host processes. |
D3-PBA | Process Spawn Analysis | Detect | T1059.003 | Inspect command-line arguments and anomalous parent-child relationships spawning from cmd.exe. |
D3-SDA | System Discovery Analysis | Detect | T1082 | Alert on rapid enumerations of systeminfo, hostname, and registry hardware trees in short intervals. |
D3-NTI | Network Traffic Inspection | Detect | T1105 | Inspect deep packet payloads for anomalous staging binaries and unauthorized egress protocols. |
Exploited Vulnerabilities (CVEs)
This malware family is documented weaponizing the following common vulnerabilities and exposures:
- CVE-2022-42948 — Vulnerability documentation and metrics (NIST NVD ↗).
Command & Control (C2) and Network Profile
How this family talks to its operators. C2 traffic can often identify a family even when its code and configuration are hard to analyse. Ports and patterns are historical and change between campaigns, so use them as hunting leads rather than block-only rules.
| Protocols | HTTPS, HTTP, DNS, SMB Named Pipes |
|---|---|
| Observed ports | 443, 80, 53, 445 |
| Identifiable from traffic alone | Medium |
Indicators of Compromise
Public indicators drawn from CISA advisories and vendor reporting. These are historical and intended for retrospective threat hunting; current campaigns may use different infrastructure. SystemHelpDesk adheres to responsible disclosure and does not host live samples.
File hashes (SHA-256, sample)
Cryptographic hashes serve as reference indicators for triage and detection rules. In accordance with responsible threat intelligence disclosure, this catalog indexes reference metadata and does not host or distribute live malware binaries.
2b6a5db21d00f7e44a42e5d7db69b466ea2084c55bc66c5d1e2e1329c31b312ba17387f5df2307ef086915091219b671a172776c59b67195721118182969b761
Delivery vectors
phishing_attachmentsinitial_access_brokersvulnerability_exploitation
Persistence mechanisms
Scheduled TasksService CreationWMI Event Subscriptions
Tiered Detection Rules (Cisco CAIRN Model)
Modern threat detection requires multi-layered rule engineering. We classify detections into three operational tiers based on signal fidelity:
Tier 1 Primitive Artifact Rule (Fast Triage)
Matches raw strings and file markers. Vulnerable to binary repacking and simple obfuscation.
rule MALWARE_WIN_COBALTSTRIKE_T1_ARTIFACT {
meta:
description = "Tier 1 Primitive Artifact: Raw string matches for Cobaltstrike"
tier = "T1 - Primitive Artifact"
confidence = "Low-Medium (Fast Triage)"
author = "SystemHelpdesk Threat Research Desk"
date = "2026-10-14"
strings:
$s1 = "cobaltstrike" ascii wide nocase
$s2 = "cobalt strike beacon" ascii wide nocase
$s3 = "cobaltstrike" ascii wide nocase
$s4 = "beacon" ascii wide nocase
$s5 = "hacktool:win32/cobaltstrike" ascii wide nocase
$s6 = "trojan.cobaltstrike" ascii wide nocase
condition:
uint16(0) == 0x5a4d and any of them
}
Tier 2 Behavioral Context Rule (Process Chains & Sigma)
Tracks parent-child process anomalies and suspicious scripting telemetry. Resilient against file renames.
title: SystemHelpDesk Detection - Cobaltstrike (Hacktool) Execution & Triage
id: 22d67bc3-ef13-5a8d-84a9-48c1568c0181
status: production
description: Detects execution, defense evasion, and persistence behaviors associated
with the Cobaltstrike malware family. Detects suspicious execution from temporary
user directories with hidden window flags and background transfer utilities.
references:
- https://malware-families-catalog.systemhelpdesk.com/families/cobaltstrike
- https://malware-families-catalog.systemhelpdesk.com/defensive/ransomware-protection
- https://malware-families-catalog.systemhelpdesk.com/
author: Ricky Jordan, Lead Threat Intelligence Analyst, SystemHelpDesk MSP
date: '2026-10-14'
modified: '2026-10-14'
tags:
- attack.hacktool
- author.ricky-jordan
- source.systemhelpdesk-mfc
- attack.t1059_003
- attack.t1055_001
- attack.t1055_012
- attack.t1573_002
- attack.t1021_002
logsource:
category: process_creation
product: windows
detection:
selection_process:
Image|endswith:
- \cmd.exe
- \powershell.exe
- \cscript.exe
- \wscript.exe
CommandLine|contains:
- AppData\Local\Temp
- -WindowStyle Hidden
- /e:jscript
- bitsadmin /transfer
condition: selection_process
falsepositives:
- Legitimate enterprise administrative scripts during approved change windows
- Authorized IT software deployment utilities and backup management agents
level: medium
Tier 3 Attribution Fingerprint Rule (High Fidelity)
Deep signature matching distinctive operational fingerprints and payload characteristics.
rule MALWARE_WIN_COBALTSTRIKE_T3_ATTRIBUTION {
meta:
description = "Tier 3 Attribution Fingerprint: Heuristic detection for Cobaltstrike tradecraft"
tier = "T3 - Attribution Fingerprint"
confidence = "High (Confirmed Family Signature)"
author = "SystemHelpdesk Threat Research Desk"
date = "2026-10-14"
strings:
// Core family identifier & heuristic payload signatures
$attrib_str = "cobaltstrike" ascii wide nocase
$pe_magic = "MZ" ascii
$net_marker = "http" ascii nocase
condition:
uint16(0) == 0x5a4d and ($attrib_str and $net_marker) and filesize < 15MB
}
Containment & Response Steps
Ordered checklist for responders. Adapt to your environment and engage professional support for active incidents.
- Isolate compromised hosts from network segments immediately to prevent lateral SMB propagation.
- Inspect memory allocations for RWX permissions unbacked by disk binaries using Volatility or Process Hacker.
- Terminate spawned child processes and investigate parent-child anomalies (e.g. wmiprvse.exe spawning cmd.exe/powershell.exe).
- Block known C2 IP addresses and DNS domains across edge firewalls and secure web gateways.
What to Avoid
Common mistakes during response to this family that can destroy evidence, spread the infection, or worsen recovery.
- Do not assume Cobalt Strike usage implies a single actor; it is widely weaponized by diverse crimeware and state-sponsored groups.
- Avoid relying solely on static hash detection, as Beacon loaders are re-compiled and obfuscated dynamically with unique shellcode stubs.
- Do not neglect internal network segmentation; unsegmented SMB ports (445) allow Beacon named pipes to bridge air-gapped systems.
References & External Analysis
- CISA Advisory AA21-209A: APT Actors Exploiting Cobalt Strike
- Fortra Cobalt Strike Official Technical Documentation
- MITRE ATT&CK Software Profile: Cobalt Strike (S0154)
- CISA Advisory: AA21-209A
- Search "cobaltstrike" on VirusTotal (External Analysis)
- Search "cobaltstrike" on Any.Run (Sandbox Sandbox)
- Search "cobaltstrike" on MalwareBazaar (Malware Samples)
North American Authority Advisory (CISA / NIST)
The Cybersecurity and Infrastructure Security Agency (CISA) has published an official US federal advisory on this family, which can be mapped to NIST Cybersecurity Framework (CSF) incident response controls: AA21-209A ↗
Frequently Asked Questions
What is Cobalt Strike Beacon?
Cobalt Strike Beacon is an advanced post-exploitation agent designed for adversary simulation that provides threat actors with in-memory stealth execution, command-and-control communication, and lateral movement tools.
Why is Cobalt Strike so widely used by threat actors?
Threat actors weaponize leaked and cracked versions because it provides robust, reliable enterprise-grade C2 features, malleable network traffic profiles, and in-memory execution that bypasses traditional signature-based antivirus.
How does Cobalt Strike Beacon evade EDR detection?
Beacon leverages reflective DLL injection, process injection, sleep obfuscation (encrypting heap and stack during sleep), and user-mode API unhooking to conceal its presence in memory.
What network protocols does Cobalt Strike use for C2?
Beacon communicates using customizable Malleable C2 profiles over HTTP/HTTPS, DNS TXT queries, and SMB named pipes for internal peer-to-peer lateral movement across air-gapped subnets.
How can defenders detect Cobalt Strike in an enterprise environment?
Defenders detect Beacon via behavioral EDR telemetry flagging unbacked executable memory, anomalous named pipe creation, memory-scanning YARA signatures, and network traffic inspecting standard Beacon jitter and default certificate artifacts.
What are Cobalt Strike Malleable C2 profiles and how do they alter network signatures?
Malleable C2 is a specialized domain-specific language (DSL) within Cobalt Strike that allows operators to completely reshape Beacon's network traffic indicators. By defining custom HTTP headers, URI paths, client/server transaction formats, and data transformation routines (such as base64, netbios, or XOR encoding), Malleable C2 profiles allow operators to masquerade command-and-control beacons as legitimate web traffic, mimicking services such as Amazon CloudFront, Microsoft Update, or Gmail.
How can security teams correlate Cobalt Strike Beacon memory artifacts with YARA hunting rules?
Security analysts hunt for Cobalt Strike in endpoint memory by deploying YARA rules targeting unbacked executable memory regions (PAGE_EXECUTE_READWRITE) lacking a corresponding on-disk file module. Key in-memory indicators include reflective DLL loader stubs, the default Beacon configuration block (which stores C2 server URLs, sleep timers, jitter percentages, and watermarks), and distinct sleep obfuscation artifacts (such as Sleep Mask or Ekko timers) used to bypass in-memory scanners.
How do I remove Cobaltstrike from Windows?
Manual removal of Cobaltstrike is highly discouraged as it may leave persistence mechanisms intact. We recommend disconnecting the device from the internet and utilizing a professional incident response service or enterprise-grade EDR software to conduct a full forensic sweep.
What are the main symptoms of a Cobaltstrike infection?
Symptoms of Cobaltstrike can include unexpected system slowness, unauthorized outbound network traffic to unknown IP addresses, disabled security software, and suspicious background processes running from AppData or Temp directories.
Protect Your Network Against Hacktools
Want to prevent Cobaltstrike and similar threats from compromising your organization? Read our comprehensive defensive guide: HackTool & Riskware Protection.
📣 Threat Intel Correction or Update?
Notice an outdated IOC, unlisted alias, or disputed attribution? Threat researchers are invited to propose an update on GitHub or contact the SystemHelpDesk research desk. All community revisions are credited in our public CHANGELOG.
Machine-readable
Get this profile as JSON: https://malware-families-catalog.systemhelpdesk.com/api/cobaltstrike.json
Ecosystem & Interactive Environments
This profile is part of the Malware Families Catalog, a public dataset of 2,899 malware families. The catalog is also published across our ecosystem: Hugging Face, Kaggle, Zenodo, Replit, StackBlitz, CodeSandbox, and CodePen.