What Is Cobalt Strike? The Red-Team Tool Criminals Adopted
A defensive explainer on Cobalt Strike: what the framework is, how Beacon works, why criminals abuse cracked copies, and how defenders detect it.
Cobalt Strike started as a tool for the defenders' side. It is commercial software sold for red-team engagements and adversary simulation, the kind of exercise where a security team plays attacker to test whether the blue team can detect a real intrusion. It does that job well, which is exactly why criminals wanted it too.
Over the years, cracked and leaked copies spread widely, and Cobalt Strike became one of the most commonly observed frameworks in real ransomware and espionage intrusions. For a defender, that makes it essential to understand. Not to run it, but to recognise what its presence looks like on a network and a host.
What the framework actually is
Cobalt Strike is a platform for running a simulated intrusion end to end. An operator uses a team server to manage compromised machines, deliver payloads, and run post-exploitation actions from one interface. On MITRE ATT&CK it is catalogued as Cobalt Strike (S0154), with a large mapped set of behaviours because the tool touches so many stages of an attack.
The design goal is realism. A red team is only useful if it exercises the defenses the way a genuine adversary would, so the framework is built to look and behave like a capable intrusion rather than an obvious test. That fidelity is what made it valuable to legitimate testers and, once cracked copies circulated, equally valuable to criminals who wanted the same capability without building it. The tool did not change; the hands using it did.
The piece that matters most is the implant, called Beacon. When a target is compromised, Beacon is the code that runs on it and connects back to the operator. It is a capable command-and-control agent: it can receive tasks, run commands, harvest credentials, move laterally to other machines, and relay traffic for implants deeper in the network. Because it is designed for realism, it also puts real effort into staying quiet.
Beacon comes in two connection styles that shape how visible it is. An egress Beacon talks directly out to the operator's infrastructure over HTTP, HTTPS, or DNS. A peer-to-peer Beacon instead links to another Beacon inside the network, commonly over a named pipe, and only that second implant reaches the internet. Operators chain these so that machines with no direct outbound access can still be controlled, with commands relayed hop by hop through internal links. For a defender, this means C2 traffic may never leave a given host at all, which is why endpoint and internal-network visibility matter as much as watching the perimeter.
How Beacon communicates
Beacon is built around the same outbound-first model as most C2. It reaches out to the team server on a schedule, asks for tasking, does the work, and returns results. That callback is a beacon in the literal sense, and its timing is configurable.
Operators set a sleep interval and add jitter to randomize it, so callbacks do not arrive on a perfectly mechanical clock. A Beacon might check in every few seconds during active work or every several hours when lying low. This directly shapes how detectable it is, and it is one of the first things a defender profiles.
Malleable C2 profiles
The feature that makes Beacon hard to pin down is Malleable C2. A profile is a configuration that rewrites what Beacon's network traffic looks like: the URLs it requests, the headers it sends, how data is encoded, and which service it imitates. With a good profile, Beacon traffic can be shaped to resemble ordinary web requests to a common platform. This behaviour rides on standard Application Layer Protocol (T1071) channels, most often HTTPS and sometimes DNS.
The practical consequence is that any detection based purely on a fixed traffic signature is fragile. Change the profile and the signature misses. This is why Cobalt Strike detection has to combine several angles rather than lean on one string match.
That said, the flexibility has limits an operator cannot fully hide. A profile changes what the traffic looks like, but it does not change the fact that a beacon still calls out on a schedule, still originates from a process that is not a real browser, and still has to run somewhere in memory on the host. Malleable C2 defeats the brittle indicator and leaves the structural ones standing. A defender who accepts that the traffic will look benign, and instead measures its rhythm and ties it to the process producing it, is working with signals the profile cannot rewrite.
Why criminals adopted it
Building a reliable C2 framework from scratch is real work. Cobalt Strike offered a mature, well-documented one for free to anyone with a cracked copy. Criminal crews got professional-grade tooling with lateral movement, credential access, and traffic evasion already built and battle-tested.
The result is that Cobalt Strike Beacon shows up across a wide range of intrusions, frequently as the stage between an initial foothold and hands-on ransomware deployment. Different groups favour different profiles and delivery methods, which is part of what our Threat Groups directory tracks, since the way a crew configures and delivers its Beacon is often a useful fingerprint.
The typical intrusion arc looks like this. An initial payload, delivered by phishing or a compromised service, loads Beacon into memory. Beacon calls home, the operator confirms the foothold is real, and hands-on work begins: dumping credentials, mapping the domain, and moving laterally to more valuable machines. Beacon relays control to fresh implants on each new host, and once the operator reaches the systems they want, they stage and launch the final objective, often ransomware. Beacon is the thread running through every step, which is precisely why detecting it early collapses the whole sequence before the damaging stage arrives.
Because Cobalt Strike is legitimate software, its artifacts can appear during sanctioned testing. That is not a reason to ignore them. Unless a Beacon maps to an authorized, scheduled engagement your team knows about, treat it as a live intrusion. Confirm authorization out of band rather than assuming any Beacon you see is your own red team.
How it became a criminal staple
Cobalt Strike was designed for red teams, and its trajectory into criminal hands follows a simple economic logic. Building a mature C2 framework with reliable lateral movement, credential access, flexible traffic shaping, and stable pivoting is a large engineering effort. A cracked copy handed all of that to anyone for free, already documented and already exercised against real defences.
As pirated versions circulated, Beacon became one of the most commonly observed frameworks in ransomware and espionage intrusions, frequently occupying the stage between an initial foothold and hands-on deployment of the final payload. Its ubiquity had a side effect that helps defenders: because so many intrusions passed through it, the community built a deep well of public detection knowledge, from memory-scanning rules to catalogues of default artifacts. Operators responded by customising profiles and named pipes to erase the easy tells, which pushed the durable detections toward timing and post-exploitation behaviour, the signals that customisation cannot remove without giving up capability. The back-and-forth is the ordinary shape of a widely abused tool: as one class of indicator gets tuned away, defenders anchor to the structural behaviours that remain.
Anatomy of a Beacon deployment
Walking through how Beacon reaches a host and settles in shows why the detections later in this guide target the stages they do. The sequence below is generic and reconstructed from how the tooling is commonly used, with no invented incident attached.
Delivery and loading. An initial access payload arrives, often through phishing or a compromised service. That payload is usually a small loader whose purpose is to place Beacon into memory. Operators frequently avoid writing Beacon to disk at all, injecting it directly into the memory of another process so that on-disk scanning finds nothing. This is why memory scanning, rather than file scanning, is a load-bearing detection for Cobalt Strike.
Staging or stageless start. A staged Beacon pulls the full implant from the team server in a second step, which leaves a recognisable download pattern that default profiles do not disguise well. A stageless Beacon ships the whole implant in the initial payload, avoiding that fetch. Operators choose based on how much they trust their delivery path and how much they want to minimise network artifacts.
First check-in. Once running, Beacon calls the team server, usually through a redirector, and reports the foothold. The operator confirms the host is real and worth working. This first callback is the earliest network opportunity to catch the implant, before any hands-on activity begins.
Hands-on tasking. With the foothold confirmed, the operator works interactively: dumping credentials, enumerating the domain, and identifying valuable machines. Beacon executes each task and returns the output on its next callback, producing the steady rhythm that timing analysis targets.
Lateral movement and pivoting. Beacon spawns peer-to-peer implants on newly compromised hosts, often linked over named pipes, and relays their traffic so machines with no direct internet access can still be controlled. The operator chains these hop by hop toward the objective. Each pivot is a fresh chance to observe anomalous internal connections and process behaviour.
Objective. Once the operator reaches the systems they want, they stage and launch the final action, frequently ransomware. Beacon is the thread through every prior step, which is exactly why detecting it early collapses the sequence before the damaging stage arrives.
A worked example: correlating two weak signals
Picture a server that beacons outbound over HTTPS to a single destination at a steady interval, with jitter smearing the exact timing but the average holding across a full day. On its own, an occasional periodic request could be almost anything. Now look at the host. The process making those requests is not a browser, and shortly after one of the callbacks it injected code into another process and attempted to read credential material from memory. Neither signal is conclusive alone. The network side could be benign automation, and process injection has legitimate uses in a few tools. Placed on the same host within the same minutes, they describe a live Beacon: a scheduled callback from a non-browser process that immediately engages in credential access and injection. That join, a network timing hit and a host behaviour hit landing together, is the highest-confidence Cobalt Strike detection available, and it is why the strongest programmes alert on the correlation rather than on either signal in isolation.
How to detect and defend
No single signal is sufficient, because operators tune away individual tells. Layer detection across the network, the host, and memory.
-
Beacon timing analysis. The callback rhythm survives most profile tuning. Analyze outbound connection logs for regular, repeated calls to a destination, accounting for jitter. Steady low-volume callbacks to a single host are the classic pattern.
-
Known defaults and artifacts. Operators who do not customize leave recognisable defaults behind: characteristic named pipes, default staging paths, and default profile behaviour. Public detection rule sets encode many of these, and they still catch lazy setups.
-
Memory scanning. Beacon has to exist in memory to run. YARA rules and memory scanners that look for its in-memory structures catch it even when the payload was never written to disk, which is common since operators inject Beacon into other processes.
-
Post-exploitation process behaviour. Once Beacon acts, it generates telling host activity: injection into other processes, spawning of temporary processes for specific tasks, credential-access attempts against LSASS, and lateral movement over remote services. These behaviours map to well-known ATT&CK techniques and are visible to endpoint detection.
-
TLS and destination fingerprinting. Even when contents are encrypted, the client fingerprint and destination reputation help. Traffic from a non-browser process to a newly registered domain, on a beacon-like schedule, is a strong lead.
-
Egress and DNS control. Force outbound traffic through inspection points and watch DNS closely, since DNS is one of Beacon's fallback channels and often the least monitored.
The most reliable Cobalt Strike detections correlate a beacon-timing hit on the network with suspicious process behaviour on the same host at the same time. Either signal alone produces noise; together they point at a live Beacon with high confidence. Build your alerting to join the two rather than firing on one in isolation.
Which detections survive evasion
Operators tune Cobalt Strike to defeat individual detections, so it helps to rank signals by how much tuning it takes to evade them. The table maps each detection to what an operator must do to escape it and why the durable ones are durable.
| Detection angle | What it keys on | How an operator evades it | Durability |
|---|---|---|---|
| Fixed traffic signature | A known byte pattern in requests | Change the Malleable C2 profile | Low, brittle |
| Default artifacts | Named pipes, staging paths, default profile behaviour | Customise the profile and named pipes | Low to moderate |
| Memory scanning | Beacon structures resident in memory | In-memory obfuscation, though Beacon still must run | Moderate |
| Beacon timing | Regular callbacks over time | Longer sleep and jitter, which slows the operator | High |
| Post-exploitation behaviour | Injection, credential access, lateral movement | Fundamentally hard to avoid while doing the work | High |
The pattern is that signature and default-artifact detections catch lazy setups and fail against a careful operator, while timing and post-exploitation behaviour resist evasion because escaping them costs the operator the very capabilities they came for. A Beacon that never beacons and never acts is not doing anything. This is the reasoning behind building alerting on the correlation of network timing and host behaviour rather than on any single string match.
Common misconceptions
"Cobalt Strike is malware." It is legitimate commercial software built for sanctioned red-team engagements. The problem is abuse of cracked and leaked copies by criminal crews. That distinction matters operationally: its artifacts can appear during authorised testing, so the right response to a Beacon is to confirm authorisation out of band, and to treat it as a live intrusion unless it maps to a known, scheduled engagement.
"If we block the signature, we are covered." Malleable C2 profiles let operators rewrite what Beacon's traffic looks like, so any detection built purely on a fixed traffic signature is fragile. Change the profile and the signature misses. Signature detection is worth having for lazy setups, and it must be paired with behavioural analysis that a profile cannot rewrite.
"Beacon is just a downloader." Beacon is a full command-and-control implant. It can task a host, harvest credentials, move laterally, and relay traffic for implants deeper in the network. Treating it as a simple first-stage dropper understates the capability and leads teams to underreact when they find one.
"No file on disk means nothing to find." Operators routinely inject Beacon straight into another process's memory, so disk scanning comes up empty. The implant still has to exist in memory to run, which is why memory scanning and post-exploitation behavioural detection catch it when file-based tools do not.
Frequently asked questions
Is it illegal to use Cobalt Strike? Using a properly licensed copy for authorised security testing is a legitimate professional activity. The abuse comes from cracked and leaked copies used without authorisation in real intrusions. For a defender the licensing question is secondary to the operational one: any Beacon on your network that does not map to an authorised, scheduled engagement should be treated as hostile.
What is Beacon? Beacon is Cobalt Strike's implant, the code that runs on a compromised host and connects back to the operator's team server. It is a capable C2 agent that can receive tasks, run commands, harvest credentials, move laterally, and relay traffic for other implants. It comes in an egress form that talks directly to the internet and a peer-to-peer form that links to another Beacon inside the network.
What is a Malleable C2 profile? It is a configuration that rewrites what Beacon's network traffic looks like: the URLs it requests, the headers it sends, how data is encoded, and which service it imitates. A good profile makes Beacon traffic resemble ordinary web requests to a common platform, which defeats fixed traffic signatures. It cannot change the fact that the implant still beacons on a schedule and still runs in memory.
Why do criminals use a defensive tool? Building a reliable C2 framework from scratch is real work, and cracked Cobalt Strike offered a mature, well-documented one for free. Criminal crews got professional-grade lateral movement, credential access, and traffic evasion already built and battle-tested, which is why Beacon shows up so often as the stage between an initial foothold and hands-on ransomware.
How do defenders catch it if the traffic is disguised? By not relying on the traffic contents. The durable detections are beacon timing on the network and post-exploitation process behaviour on the endpoint, correlated on the same host at the same time. A profile can hide what a request looks like, and it cannot hide that a non-browser process is calling out on a schedule and then injecting into other processes or reading credentials.
What is the difference between an egress and a peer-to-peer Beacon? An egress Beacon talks directly out to the operator's infrastructure over HTTP, HTTPS, or DNS. A peer-to-peer Beacon instead links to another Beacon inside the network, commonly over a named pipe, and only that second implant reaches the internet. Operators chain them so machines with no direct outbound access can still be controlled, which means C2 traffic may never leave a given host and endpoint visibility matters as much as perimeter monitoring.
Why is memory scanning so central to catching Beacon? Operators commonly inject Beacon directly into another process's memory and never write it to disk, so file-based antivirus finds nothing to scan. The implant still has to be resident in memory to execute, which is where memory scanners and YARA rules that match its in-memory structures catch it. Pairing that with post-exploitation behavioural detection covers the cases where in-memory obfuscation blunts the scan.
Should finding a Beacon during a pentest be treated as an incident? Confirm authorisation before deciding. Because Cobalt Strike is legitimate testing software, its artifacts can appear during a sanctioned engagement your team scheduled. The safe default is to treat any Beacon as a live intrusion until it maps to a known, authorised engagement, and to verify that mapping out of band rather than assuming the Beacon you see belongs to your own red team.
Cobalt Strike is a case study in dual-use tooling. Built to help defenders rehearse against real attacks, it became one of the attacks defenders most need to catch. The way to handle it is not to fear the tool but to know its behaviour cold: how Beacon calls home, how operators disguise it, and which of its habits no amount of tuning can fully hide.
Related guides
Sources & further reading
Related guides
- Attacker File Formats: How File Types Get Weaponised
A defensive explainer on how attackers weaponise file formats: scripts, shortcuts, disk images, macro docs, installers, images and archives.
- Command and Control: Beaconing, Channels & Detection
How C2 works: beaconing, HTTP, DNS and social-media channels, redirectors, and the traffic patterns defenders use to find implants on a network.
- LOLBins Explained: Living Off the Land With Windows Binaries
A defensive reference to Living Off the Land Binaries: why signed Microsoft tools like rundll32, mshta and certutil get abused, and how to detect the misuse.