Skip to content

Lesson 8 of 13 · 18m

Two Runtimes: Atomic Red Team and CALDERA

Atomic Red Team executes single techniques from YAML definitions; CALDERA runs chained adversary plans through agents — both execute, neither asserts detection.

Two open-source tools do most of the execution work in purple exercises. They solve different problems and are routinely confused.

Atomic Red Team: the per-technique corpus

Red Canary's Atomic Red Team is a library of small tests organized by ATT&CK technique — atomics/T1059.001/T1059.001.yaml holds every PowerShell atomic, each with a name, supported platforms, input arguments, an executor block (command_prompt, powershell, sh, bash, manual), and a cleanup command. The PowerShell harness Invoke-AtomicRedTeam drives it:

Invoke-AtomicTest T1059.001 -GetPrereqs      # fetch required files/tools first
Invoke-AtomicTest T1059.001 -ShowDetails     # read what each test does
Invoke-AtomicTest T1059.001                  # run all atomics for the technique
Invoke-AtomicTest T1059.001 -Cleanup         # revert state

-ShowDetailsBrief before execution is not optional. Atomics execute real behavior — T1070 tests actually delete logs, T1485 tests overwrite files, several download real tooling from the internet that AV correctly flags. Some have no cleanup (you cannot un-delete Security.evtx). Run them on a dedicated, snapshot-capable VM, never on a shared or production host; take a snapshot before anything in the destructive class, or skip T1485 entirely and mark it untested with a note.

CALDERA: the chained emulator

MITRE's CALDERA is a server-plus-agent platform. The Sandcat agent phones home over HTTP(S); the server holds abilities (per-technique executable steps, YAML-defined like atomics), adversaries (ordered ability lists), and operations (a run of an adversary against a group of agents with a chosen planner). The stockpile plugin ships the ability library; the emu plugin imports plans from the Adversary Emulation Library — the APT29 and FIN6 plans as YAML. An operation report gives you per-step success and timestamps, which is exactly what the latency math needs.

CALDERA does not detect anything. It executes a chain and reports that the steps ran. Detection is your SIEM's job; the operation report is only the ground truth of what executed when.

The planner chooses execution order. Linear planners run the ability list top to bottom; branching planners pick the next ability from facts earlier steps produced — the closest an automated run gets to an operator's "depends what we find." For coverage measurement, linear is what you want: a branching run is not repeatable, and a measurement you cannot repeat is an anecdote.

The cloud side

Neither tool covers cloud control planes. Stratus Red Team (Datadog's project) does — per-provider technique modules like aws.persistence.iam-backdoor-user or credential theft from EC2 instance metadata, warmed up and detonated from the CLI (stratus detonate <technique>), with stratus cleanup to revert. Prelude Operator is the other CALDERA-class open platform. For a scoped adversary whose tradecraft is cloud-console abuse — Scattered Spider's whole playbook — these are the runtimes.

The EDR question on the test host

Your test host has the same EDR as production. If it blocks the atomic at step two, you have tested endpoint prevention, not the pipeline — fine as a data point, but it ends the exercise early. Decide per exercise: run with the standard policy (measures the real stack including the endpoint agent) or set the test host's policy to observe-only so the behavior executes and the question moves downstream to telemetry and rules. Write the choice into the plan; "the EDR caught it" and "the SIEM saw it" are different claims you need both of, separately.

What to actually do

Stand up a dedicated test host with snapshot support and verified NTP. Inventory atomics for your scoped technique list; run -GetPrereqs, timestamp every execution, always -Cleanup. If the scope is a chain, model it as a CALDERA adversary and let the planner produce the timings. Every executed step lands on the score sheet the next lesson defines.

Was this lesson helpful?

Sign in to rate

Keep reading

Related articles from the SudoSecurity blog.