Lesson 9 of 13 · 12m
The Exercise Is a Controlled Experiment
Each emulation step is a measured experiment with a named hypothesis, an observer with a pre-built query, and recorded timestamps — not a surprise attack on the SOC.
The purple exercise is an experiment, and it inherits experiment discipline: a hypothesis stated before the run, controlled variables, timestamps, and an observer who knows what a positive result looks like. Strip that away and you have red teaming again.
The step record
Every step in the plan is a record with fields: technique ID, concrete behavior, execution host, executor (atomic ID or CALDERA ability), expected data source, and the hypothesis — "Sysmon EID 1 indexes within lag, Encoded PowerShell Command Line fires at high severity, the alert routes to the triage queue." The observer pre-builds the SIEM query for each expected event or alert before execution begins; improvising queries mid-run turns every result into an argument about the query.
Three roles are enough: emulator runs the step, observer watches, scribe logs {start_utc, end_utc, result, latency, notes}. Everyone's clocks checked first — w32tm /query /status, chronyc tracking — because a 90-second skew between the test host and the SIEM silently corrupts every latency measurement.
Surprise is a different instrument
The urge to "keep it realistic" by not warning the blue team is called noble deception, and it trades measurement for drama. A surprised SOC triages an incident under uncertainty — that is a valid test of the SOC, and it is not a test of detection coverage. The two questions need different exercise designs. Purple exercises tell the observer exactly what is coming; the realism cost is deliberate, because what you are buying with it is a clean per-technique measurement instead of an anecdote about one chaotic hour.
The same logic applies to scope. Run on a dedicated host or VLAN, with test credentials, never production ones. Write abort conditions into the plan: behavior reaching a production asset, unexpected lateral spread, an atomic doing something -ShowDetails did not suggest. Pause the run when they trip.
Assume breach, inject where the question lives
Microsoft's Zero Trust model phrases the right posture: assume breach. Start the chain post-compromise when the question is detection, not perimeter. You also do not need a full chain every run — if the open question is "would we see wmiexec-style lateral movement," inject at that step. Full chains answer "does the narrative hang together"; injected steps answer "does rule X exist and route."
One variable per run
Change one thing between runs of the same plan. Swap the host's OS and the SIEM parser version in the same week and a new miss is unassignable — was it telemetry or logic? The run's environment is a recorded input: host build, agent version, rule version, parser version. A score sheet means nothing if next quarter's numbers came from a different instrument.
The debrief is part of the run
Hold it the same day, while the scribe's timestamps are warm. Walk the score sheet step by step, assign each miss its class and an owner on the spot, and write the backlog items before anyone leaves the room. Include the unexpected in the walk — a step that fired something unplanned is as much a finding as a miss. A deferred debrief becomes a report nobody reads; a live debrief becomes work.
Evidence and practice
The ATT&CK Evals' emulation plans are published step-by-step documents for a reason: repeatability is the point. A test you cannot re-run next quarter is theater. Write the runbook, keep timestamps in UTC, hold the debrief the same day while the scribe's notes are warm, and let the backlog carry everything that missed — the next lesson defines how each miss is scored. Keep the runbook and score sheet in the same repo as the detections; an exercise stored in a slide deck cannot be re-run.
Was this lesson helpful?
Keep reading
Related articles from the SudoSecurity blog.
What is Privilege Escalation? How Attackers Go From Foothold to Full Control
An attacker starts with a low-privileged shell or user account and escalates to root or Administrator using misconfigurations, SUID binaries, kernel exploits, and Active Directory attacks. Here's every technique, the tools professionals use, and how to harden against it.
What is Penetration Testing? The Discipline of Breaking Things Before Attackers Do
Penetration testing is authorized, structured hacking — finding vulnerabilities in systems, networks, and applications before real attackers do. Here's the full methodology, every phase of a real engagement, the tools professionals use, and how to build a career in it.
What is Social Engineering? The Attacks That Bypass Every Technical Control
Phishing, vishing, pretexting, physical infiltration — here's how every technique works, how attackers use them in production breaches, and how to actually defend against them.
Jellyfin's Threat Model Is Your Brother-in-Law
Four Jellyfin CVEs landed in 2026 and not one of them needs an admin account. One needs only the ability to name a file. Meanwhile Jellyfin 12 shipped in September, the version numbers stopped starting with 10, and every "am I patched" check you wrote is now wrong.