Cobalt Strike
Commercial adversary-simulation framework (MITRE S0154) heavily abused by cybercriminals and APTs; Beacon implant provides HTTP/DNS/SMB C2, token and UAC abuse, PowerShell execution, keylogging and lateral movement.
Source Attribution
- Origin
- MITRE
- Source
- MITRE ATT&CK · CISA · Microsoft
- Confidence
- high
Source: MITRE ATT&CK · CISA · Microsoft · Confidence: high
Security Timeline
- discovered Cobalt Strike first observed (MITRE S0154 created 14 Dec 2017)
- updated Profile expanded with MITRE ATT&CK v19 techniques and defensive guidance
Quick Answer
Cobalt Strike (MITRE S0154) is a commercial adversary-simulation framework — the Beacon implant — that threat actors and ransomware operations abuse for C2, credential theft, lateral movement and data exfiltration; it covers the full range of ATT&CK tactics and is one of the most widely observed RATs in intrusion response reporting.
Definition
Cobalt Strike is a commercial, full-featured remote access tool that bills itself as 'adversary simulation software designed to execute targeted attacks and emulate the post-exploitation actions of advanced threat actors'. Its interactive post-exploitation capabilities (the Beacon implant and its components) cover the full range of ATT&CK tactics and are frequently abused by cybercriminals and APTs.
Overview
Cobalt Strike (MITRE S0154) is a commercial, full-featured remote access tool marketed as “adversary simulation software designed to execute targeted attacks and emulate the post-exploitation actions of advanced threat actors”. Its interactive post-exploitation capabilities — centred on the Beacon implant — cover the full range of ATT&CK tactics within a single, integrated system. Cobalt Strike is not open-source; however, cracked/leaked copies are widely abused by cybercriminals and APTs, and it is one of the most frequently observed tools in ransomware and intrusion incidents.
In addition to its own capabilities, Cobalt Strike leverages other well-known tools such as Metasploit and Mimikatz to extend credential theft and execution.
Capabilities
- Beacon C2 over HTTP/HTTPS, DNS, and peer-to-peer SMB named pipes, configured for high stealth (jitter, sleep, malleable profiles that mimic legitimate traffic such as OCSP).
- Privilege escalation via UAC bypass techniques, token impersonation/theft, make-and-impersonate tokens and Parent PID Spoofing.
- Execution in memory (PowerShell/VBScript with no disc write), VBA macro execution, and command-line interaction.
- Credential access through keylogging, browser pivoting (cookie/session theft), and integration with Mimikatz for credential dumping.
- Discovery and collection: account discovery, file/directory discovery, host data collection, and exfiltration organised into size-limited transfers.
- Defense evasion: XOR/AES-256 CBC + HMAC-SHA-256 encryption, Base64 encoding, process argument spoofing and timestomping of placed files.
- Payload delivery: BITSAdmin download of hosted beacons and ingress tool transfer of additional payloads.
Techniques
Cobalt Strike maps to a wide span of ATT&CK techniques. The most frequently abused for detection are:
| Technique | ID | Use |
|---|---|---|
| Web Protocols | T1071.001 | HTTP/HTTPS C2 with malleable profiles over standard ports |
| DNS | T1071.004 | DNS-encased C2 protocol |
| PowerShell | T1059.001 | In-memory execution of payloads on remote hosts (no disk write) |
| Bypass User Account Control | T1548.002 | Elevation via known UAC bypass techniques |
| Parent PID Spoofing | T1134.004 | Spawns processes under alternate parent process identities |
| Symmetric Cryptography | T1573.001 | AES-256 CBC + HMAC-SHA-256 for task commands |
| Ingress Tool Transfer | T1105 | Downloads and delivers additional payloads |
| Keylogging | T1056.001 | Tracks key presses via keylogger module |
| Process Argument Spoofing | T1564.010 | Spoofs command lines of spawned processes |
| BITS Jobs | T1197 | Downloads hosted Beacon payload via BITSAdmin |
| Browser Session Hijacking | T1185 | Browser pivoting to inherit cookies and authenticated sessions |
Defensive Observations
- Network: beacon traffic often uses periodic beaconing intervals with jitter; HTTP C2 may mimic OCSP or other benign services; DNS C2 generates high-volume or unusual query patterns.
- Host: suspicious
rundll32.exe,powershell.exeorregsvr32.execommand lines, unusual parent/child process relationships, spawned processes with spoofed arguments, and new Windows services. - Credential: unexpected LSASS access or Mimikatz activity, token impersonation and scheduled task/registry persistence.
Detection & Investigation
- Hunt C2 indicators: beaconing, malleable-profile traffic patterns, DNS queries to domains resolving to dynamic or non-email-associated infrastructure.
- Examine parent-child process trees and command lines for
beacon-style execution (e.g.rundll32.exewith no DLL, PowerShell download cradle). - Collect and hash suspicious binaries; query them in IOC Lookup and compare against published Cobalt Strike hashes.
- Follow the Malware Investigation guide and correlate with Campaign: Cobalt Strike Keygen.
Mitigation
- Enable and enforce endpoint detection and response (EDR) with behaviour analytics and anti-beaconing/network detection rules.
- Restrict and log PowerShell (Constrained Language Mode, script block logging) and block memory-only tooling where possible.
- Apply the principle of least privilege, enforce application allow-listing, and monitor for token manipulation and UAC bypass.
- Segregate management networks and restrict outbound egress so C2 channels cannot easily reach the internet.
- Keep software patched; Cobalt Strike has historically exploited Java and Windows privilege-escalation bugs.
Related Content
- What is Malware
- How to Investigate Malware
- How to Analyze IOCs
- Interpreting IOC Lookup Results
- Cobalt Strike Keygen Campaign
Recommended Tools
- Hash Checker — compute SHA-256/SHA-1/MD5 of suspicious binaries
- IOC Lookup — match extracted indicators against reputation data
- DNS Lookup — inspect C2 domain resolution and records
- URL Analyzer — inspect suspicious download URLs safely
Investigation Path
Malware (Cobalt Strike)
↓
Extract artifacts (hash, C2 domain, process tree)
↓
Technique attribution (T1071.001, T1059.001, T1548.002 …)
↓
IOC Lookup / DNS Lookup / Hash Checker
↓
Correlate with campaigns and actors
↓
Detection & containment Malware Intelligence
Family: Cobalt Strike
Aliases: Beacon
Techniques: T1548.002, T1548.003, T1134.001, T1134.003, T1134.004, T1087.002, T1071.001, T1071.002, T1071.004, T1197, T1185, T1059.001, T1059.003, T1059.005, T1059.006, T1543.003, T1132.001, T1005, T1001.003, T1030, T1140, T1573.001, T1573.002, T1203, T1068, T1083, T1564.010, T1070.006, T1105, T1056.001, T1027
Targets: Windows endpoints and servers (primary), Cross-platform Beacon builds also observed on Linux and macOS
- Beacon implant with custom C2 protocol encased in HTTP/HTTPS, DNS, or SMB named-pipe (peer-to-peer) channels on standard assigned ports
- UAC bypass via multiple known techniques; token impersonation/theft, make-and-impersonate tokens, and Parent PID Spoofing to run under alternate process parent identities
- In-memory payload execution via PowerShell (no disk writes), VBA, Command Shell, Python and JavaScript profilers
- AES-256 CBC with HMAC-SHA-256 to encrypt task commands and RSA PKCS1 for data sent to C2; XOR for shellcode and configuration; Base64/URL-safe Base64/NetBIOS encoding in C2 traffic
- Browser pivoting and injection into user browsers to inherit cookies, authenticated HTTP sessions and client SSL certificates
- Keylogging, file and directory discovery, and collection of host data; timestomps placed files and spawns processes with spoofed command lines
- Downloads hosted beacon payloads via BITSAdmin; delivers additional payloads to victim machines (ingress tool transfer)
- Abuses or leverages Mimikatz and Metasploit functionality for credential theft and execution
References
- https://attack.mitre.org/software/S0154/
- https://www.cisa.gov/news-events/cybersecurity-advisories/aa22-127a
- https://www.microsoft.com/en-us/security/blog/2022/03/14/cobalt-strike-a-tool-for-threat-actors/
- https://www.trendmicro.com/en_us/research/22/j/black-basta-infiltrates-networks-via-qakbot-brute-ratel-and-coba.html
Ask OpenTrojan's evidence-backed assistant about this topic — answers cite their sources.