Cobalt Strike (HackTool:Win32/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 |
Recorded indicators and context
Fields and notes stored in this catalog record may describe historical artifacts, behaviors or general context. Their presence does not establish a current, independently verified indicator. Check sources and evidence limits before operational use.
Recorded delivery context
phishing_attachmentsinitial_access_brokersvulnerability_exploitation
Recorded persistence context
Scheduled TasksService CreationWMI Event Subscriptions
Record export: Categories, original JSON values and notes for review. This is not a verified indicator feed or a ready-to-import SIEM/EDR format. Spreadsheet formula prefixes in record/category cells are protected with a leading apostrophe.
Detection rule examples
These generated examples are starting points for local testing. Their detection rate and false-positive rate have not been measured. Correlate any match with endpoint evidence and the primary reports cited below.
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 (Hacktool)"
category = "Hacktool"
tier = "T1 - Primitive Artifact"
confidence = "Medium (Fast Triage)"
author = "SystemHelpDesk Threat Research Desk"
reference = "https://malware-families-catalog.systemhelpdesk.com/families/cobaltstrike"
date = "2026-11-21"
strings:
$fam_name = "cobaltstrike" ascii wide nocase
$alias_1 = "cobalt strike beacon" ascii wide nocase
$alias_2 = "cobaltstrike" ascii wide nocase
$alias_3 = "beacon" ascii wide nocase
$alias_4 = "hacktool:win32/cobaltstrike" ascii wide nocase
$alias_5 = "trojan.cobaltstrike" ascii wide nocase
condition:
uint16(0) == 0x5a4d and any of them
}
Tier 2 Behavioral Context Rule (Process Chains & Sigma)
Looks for selected process and command-line patterns. Validate the fields against your event source and review approved administration activity.
title: SystemHelpDesk Detection - Cobaltstrike (Hacktool) Execution & Triage
id: 22d67bc3-ef13-5a8d-84a9-48c1568c0181
status: experimental
description: Experimental process-event hunting example associated with Cobalt Strike
(HackTool:Win32/CobaltStrike). Measure detection and false-positive rates in your
own environment. Shared administration behavior needs additional incident evidence.
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
- attack.t1003_001
- attack.t1105
- attack.t1082
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 String and PE-marker example
Combines a family-name string with common PE markers. A match needs investigation before family attribution.
rule MALWARE_WIN_COBALTSTRIKE_T3_ATTRIBUTION
{
meta:
description = "Tier 3 Attribution Fingerprint: Heuristic detection for Cobaltstrike tradecraft"
category = "Hacktool"
tier = "T3 - Attribution Fingerprint"
confidence = "Experimental example; validation pending"
author = "SystemHelpDesk Threat Research Desk"
reference = "https://malware-families-catalog.systemhelpdesk.com/families/cobaltstrike"
date = "2026-11-21"
strings:
$attrib_str = "cobaltstrike" ascii wide nocase
$generic_marker1 = "CreateProcess" ascii
$generic_marker2 = "VirtualAlloc" ascii
condition:
uint16(0) == 0x5a4d and $attrib_str and 1 of ($generic_marker*)
}
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 Cobalt Strike (HackTool:Win32/CobaltStrike) from Windows?
Manual removal of Cobalt Strike (HackTool:Win32/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 Cobalt Strike (HackTool:Win32/CobaltStrike) infection?
Symptoms of Cobalt Strike (HackTool:Win32/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 Cobalt Strike (HackTool:Win32/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,982 malware families. The catalog is also published across our ecosystem: Hugging Face, Zenodo, Replit, StackBlitz, CodeSandbox, and CodePen.