Ask a security team “are we covered against credential dumping?” and you usually get a shrug, a glance at the EDR console, and a hopeful “probably”. That gap between “we bought the tool” and “we actually see the attack” is exactly where Atomic Red Team lives.
Atomic Red Team is a free, open-source library of small attack simulations, each one mapped to a MITRE ATT&CK technique. You run a test, watch your logs and alerts, and find out whether that specific behaviour was prevented, alerted on, quietly logged, or missed entirely. It turns a vague feeling into a number you can track over time.
This is a how-to, not a breaking story. Everything below assumes an isolated, authorized lab with written permission. These are real attacker behaviours; running them where you shouldn’t is how you end up explaining yourself to an incident response team or a judge.
At a glance
- What it is: an open-source (MIT) library of “atomic” tests, each mapped to a MITRE ATT&CK technique.
- Who made it: Red Canary, first released in 2017, now community-maintained on GitHub (redcanaryco/atomic-red-team).
- Scale: hundreds of techniques and well over a thousand individual tests (the repo badge shows roughly 1,900 as I write this). Treat every count as approximate and check
atomics/Indexesfor the current numbers. - Coverage: Windows, Linux, macOS, cloud (AWS, Azure, GCP, Microsoft 365, Entra ID) and containers.
- Who should care: blue teams, detection engineers, and anyone running a purple-team program on a small budget.
- What it is not: a replacement for a real red-team engagement or a commercial breach-and-attack-simulation platform.
What “atomic” actually means
The name is the whole idea. An atomic test is the smallest meaningful unit that exercises one behaviour tied to one technique. Not a full intrusion, not a campaign, just a single observable action, like dumping LSASS memory or writing a Run key.
Three design principles hold the project together, and they are the reason it caught on:
- Small and focused. Each test checks one thing, so when an alert fails to fire you know precisely which behaviour you missed.
- Portable. Tests mostly use built-in operating-system tooling (PowerShell, cmd, bash, native binaries). No command-and-control server, no custom implant, no heavy framework to stand up first.
- Mapped to ATT&CK. Every test carries a technique ID like
T1003.001, so results roll straight up into coverage maps instead of living in someone’s spreadsheet.
Where does it sit next to the other tools? MITRE Caldera automates full adversary emulation with an agent and a planner. Commercial C2 frameworks give an operator a live foothold to pivot from. Commercial breach-and-attack-simulation (BAS) platforms run continuous, packaged scenarios with a polished dashboard. Atomic Red Team is deliberately smaller and more honest than all of them: a cheap, repeatable way to validate detection coverage one technique at a time. It complements a red team, it does not replace one.
How the repo is built
Everything lives under atomics/, one folder per technique (for example atomics/T1003.001/). Inside each folder is a YAML file that defines the tests plus a generated Markdown file that documents them in a readable form.
The YAML schema is worth understanding because it is also how you write your own tests. The important fields:
attack_techniqueanddisplay_name: the ATT&CK ID and human label.auto_generated_guid: a stable unique ID for each test, so you can call a test by GUID even if its number shifts.supported_platforms: windows, linux, macos and so on.input_arguments: named, typed parameters with defaults, referenced in commands with the#{name}substitution syntax.dependencieswithprereq_commandandget_prereq_command: a check-then-fetch pair that stages any files or conditions a test needs.executor: thecommandto run, an optionalcleanup_commandto undo it, andelevation_requiredto flag tests that need admin or root.
You do not run that YAML by hand. The most common runner is Invoke-AtomicRedTeam, a PowerShell module that works across platforms. There is also atomic-operator (a Python runner), ATT&CK Navigator layer exports for visualising coverage, and logging modules (including Attire format) for shipping results somewhere useful.
Setting up a lab that will not hurt you
Before a single test runs, build the room you will break things in. My minimum checklist:
- An isolated network with no path to production and no production credentials in sight.
- VM snapshots taken before and after each run, so a failed cleanup is a rollback and not a reinstall.
- Telemetry turned on: Sysmon (a sensible config such as SwiftOnSecurity’s is a good start), PowerShell Script Block Logging, auditd on Linux, and your EDR in audit or full mode.
- A SIEM or log store collecting all of it, because a test you cannot see is a test you cannot score.
- Written authorization. Boring, non-negotiable, and the thing people skip.
Installing the runner is quick. On Windows, from an elevated PowerShell session:
IEX (IWR 'https://raw.githubusercontent.com/redcanaryco/invoke-atomicredteam/master/install-atomicredteam.ps1' -UseBasicParsing)
Install-AtomicRedTeam -getAtomics
On Linux or macOS the same module runs under PowerShell 7:
pwsh -c "IEX (IWR 'https://raw.githubusercontent.com/redcanaryco/invoke-atomicredteam/master/install-atomicredteam.ps1' -UseBasicParsing); Install-AtomicRedTeam -getAtomics"
Always read install scripts before piping them into a shell, including this one. That habit is the whole point of the exercise.
Running a test: the five-step loop
Every test follows the same rhythm, and Invoke-AtomicTest exposes each stage as a flag. Take credential dumping, technique T1003.001:
- Show details:
Invoke-AtomicTest T1003.001 -ShowDetailsprints what each test will do, so nothing is a surprise. - Check prerequisites:
-CheckPrereqstells you what is missing. - Get prerequisites:
-GetPrereqsstages the files or conditions. - Run:
Invoke-AtomicTest T1003.001 -TestNumbers 1 -ExecutionLogPath run.csvexecutes and records what ran and when. - Clean up:
-Cleanupreverses the changes. Trust it, but verify with your snapshot.
Useful extras: -TestGuids to pin an exact test, and -Session to run against a remote lab host over PowerShell remoting. When the library does not cover something you care about, write your own atomic in the same YAML schema and drop it in. That is the part people underuse.
The purple-team workflow
Running tests at random produces noise, not insight. The value comes from a loop you repeat deliberately.
Start with a scope and a hypothesis (“we believe we detect LSASS access”). Plan the specific tests. Run them in controlled execution, one at a time. Then observe and classify each result into one of four buckets: Prevented, Alerted, Logged (the data exists but nothing fired), or No telemetry at all. Clean up and restore the snapshot. Finally report and improve.
The last step is the one that matters. Every blind spot becomes a new detection rule, and then you re-run the same test to confirm the rule fires. That re-run is regression testing for your SOC: it proves the fix worked and keeps working.

A worked example: chaining eight techniques
Individual tests are useful, but attackers do not stop at one behaviour. A more realistic drill strings several techniques into a chain and asks a sharper question: can we catch this before the final, damaging step? I will keep this at the technique-and-telemetry level, not the command level, because the point is detection, not a playbook.
Here is a representative eight-stage chain and the log source that should catch each stage:
- Execution (
T1059.001, PowerShell): PowerShell event 4104, Sysmon event 1. - Discovery (
T1082system info,T1087.002domain accounts): Sysmon 1 and Security 4688 process creation. - Credential Access (
T1003.001, LSASS): Sysmon event 10 (process access to lsass) and Sysmon 11 (file create). - Persistence via Run key (
T1547.001): Sysmon event 13 registry modification. - Persistence via scheduled task (
T1053.005): Security 4698 and Sysmon 1. - Defense Evasion (
T1070.001, clear event logs): Security 1102 and System 104. - Lateral Movement (
T1021.002, SMB admin shares): Security 4624 logon type 3 and 5140 share access. - Impact (
T1490, inhibit system recovery): Security 4688 and Sysmon 1.

Read down that list and the lesson jumps out. If your only solid detections sit at the Impact step, you are catching the attack at the moment the damage happens. The goal of the drill is to light up the earlier stages, ideally at Credential Access, so the chain breaks before recovery is inhibited.
Measuring and reporting
Classification without arithmetic is just vibes. A few numbers make the program legible to people who sign budgets:
- Technique coverage %: of the techniques you tested, how many produced any detection.
- Detection rate: how many tests ended in Prevented or Alerted rather than merely Logged.
- MTTD: mean time to detect, from execution to alert.
Colour an ATT&CK Navigator layer by detection status and you get a heat map your whole team can read at a glance. Tools like VECTR are built to track these results across rounds and show whether coverage is actually improving over time.
Automating it
Once the manual loop feels natural, automate the boring parts. Invoke-AtomicRunner schedules “canary” runs so a known set of tests fires on a cadence and you notice when a detection silently regresses. Detection-as-code pipelines can run atomics in CI/CD against a lab image before a rule change ships. And the -LoggingModule option pushes execution logs straight to a SIEM over Syslog, Windows Event, or Attire format, so every test is correlated against the alerts it should have produced.
Limitations and real risks
Be honest about what this does not give you. Atomic tests are isolated per technique and run “clean”, in a predictable order, with default arguments. A real intruder varies timing, obfuscates, and chains things you did not script. Passing every atomic is not the same as stopping an adversary.
The value also depends entirely on your logging. If Sysmon event 10 is not collected, the LSASS test will look like a miss when the real problem is a gap in telemetry, not detection. Cleanup can fail, which is why snapshots are not optional. Never run on production. And if you exclude Defender or your EDR to “let the test through”, you have just left a lab host genuinely exposed, so re-enable protection the moment you are done and tell your SOC before you start so they do not chase ghosts.
My take
The thing people get wrong about Atomic Red Team is thinking the value is in “running attack commands”. It is not. Anyone can run a command. The value is the measurement loop it forces on you: it converts “are we secure?” into a coverage percentage you can watch move, round after round.
Its honesty is the quiet superpower. Because every test is readable YAML, you can see exactly what each one does and why it should be caught. That transparency beats a black-box BAS platform that tells you a scenario “passed” without showing you the behaviour behind it. When a detection engineer can read the test and read the missing alert side by side, fixes get written fast.
The failure mode is equally predictable. Teams mistake “the test ran” for “we are covered”, and they build coverage maps on top of telemetry they never validated. Atomic Red Team is only as good as the logs underneath it. Get the telemetry right first, run the loop honestly, and treat every green cell as a claim you have to defend. Do that and it is one of the best free upgrades a blue team can give itself.

