Skip to content
Free lab

Detection Lab

Anyone can write a rule that catches last night’s attack. The job is a rule that catches tomorrow’s, without paging the SOC for every backup job. Work a shift of detection tickets across Windows, Sysmon, Linux, CloudTrail, proxy and EDR logs: tune the conditions, exclusions and thresholds, map each rule to MITRE ATT&CK, and ship it against logs it has never seen.

  • 19 detection tickets
  • 6 log sources
  • Seeded, shareable shifts
  • Precision/recall sweep
  • Markdown rule export (Pro)
No download, no card
0s
Seed …

This is the guided version: a yellow flash shows where to click and a bar says what to do. Switch to Free play any time.

GuidedPress Start the shift to open the first ticket.

Detection engineering shift

Tonight’s detection backlog: 0 tickets

Each ticket asks for one detection on one log source. A teammate has drafted a naive rule; you tune it against the last 24 hours of logs (backtest as often as you like), then ship it. Shipping grades the rule on the next day’s logs, where the attacker uses new IPs, accounts and file names. Rules that memorise indicators fail there; rules that describe behaviour hold.

Priya Natarajan · Detection engineering lead

Welcome to the shift. Tickets get harder as the night goes on: single events first, then exclusions, then thresholds and correlation. Map every rule to ATT&CK before you ship it.

Theo Lindgren · SOC analyst, on call tonight

And please keep it quiet. Every false positive is me getting paged. I will tell you how many your rule would have cost me.
    35%
    Recall
    incidents caught
    50%
    Precision
    alerts that were real
    15%
    ATT&CK
    right technique

    Each round is scored on the next-day logs. Average 75% or better to clear the shift; finish under par for a speed bonus. Pro: hints arrive after your second backtest on a ticket. Rounds at this level: T1 → T2 → T2 → T3 → T3.

    TL;DR

    What this lab is

    5 points
    • A free SIEM detection-engineering lab: 19 detection tickets across six log sources (Windows Security event log, Sysmon, Linux auth log, AWS CloudTrail, Web proxy, EDR telemetry).
    • Each round you tune a teammate's naive rule: conditions, exclusions, and count or distinct-count correlation with a threshold and time window.
    • Backtest as often as you like on the last 24 hours of logs and see every true positive, false positive and missed incident, plus a precision/recall sweep across thresholds.
    • Shipping grades the rule on the next day's logs, where the attacker's IPs, accounts and file names change. Rules that memorise indicators fail; rules that describe behaviour hold.
    • Every rule is mapped to MITRE ATT&CK. Rounds escalate from single-event rules to exclusions to thresholds, and the debrief exports your rule library as Markdown.
    Writing and tuning a detection rule. AI-generated; the people and organisations shown are fictional.

    Frequently asked questions

    What is the Detection Lab?

    A free, in-browser detection-engineering exercise. You work a shift of detection tickets drawn from 19 use cases (password spraying, Kerberoasting, encoded PowerShell, LSASS access, log clearing, CloudTrail tampering, beaconing, exfiltration to file sharing, ransomware file renames and more). For each one you tune a rule against labelled Windows, Sysmon, Linux auth, CloudTrail, proxy or EDR logs, then ship it and get graded on recall, precision and the ATT&CK technique.

    How do I reduce false positives in a SIEM rule?

    Scope the rule to the behaviour rather than the tool (the "delete shadows" verb, not every vssadmin run), exclude documented automation as narrowly as you can (a sandbox trail name, not the whole deployment role), and for volume-based rules put the threshold between the busiest legitimate activity and the slowest attack you need to catch. The lab's precision/recall sweep shows exactly where that band is for your rule.

    What are precision and recall for a detection rule?

    Recall is the share of real incidents your rule caught: miss the slow password spray and recall drops. Precision is the share of your alerts that were real: page the SOC for every SCCM PowerShell job and precision drops. Raising a threshold usually trades recall for precision; good rules find a setting where both are 100% because they measure something the benign activity does not do.

    Why is my rule graded on different logs from the ones I tuned it on?

    Because that is what production does to a rule. The lab grades on the next day's logs, where the attacker uses new IP addresses, accounts, hosts and file extensions. A rule that hard-codes last night's indicators passes the backtest and misses in production, and the lab flags it as overfit. It is the most common mistake in junior detection engineering.

    How do I detect a password spray?

    A spray tries one password against many accounts, so per-account lockout and per-user failure counts never trip. Count distinct target accounts per source address over a window, for example Windows Event 4625 grouped by IpAddress with a distinct count of TargetUserName of 6 or more in 30 minutes. That ignores a service account failing 40 times on a stale password and still catches a slowed-down spray.

    Does it map detections to MITRE ATT&CK?

    Yes. Every ticket has a correct ATT&CK technique (for example T1110.003 Password Spraying, T1558.003 Kerberoasting or T1562.008 Disable or Modify Cloud Logs). You pick the technique for each rule and get full credit for the exact technique and half credit for the right parent technique. The debrief shows the techniques and tactics you covered.

    How do the difficulty levels and seeds work?

    Rookie runs four tickets with light noise and immediate hints. Pro runs five with more benign near-misses, and hints arrive after your second backtest. Elite runs six harder tickets with evasive variants (pwsh with -ec, WMIC instead of vssadmin, chunked exfiltration, slow sprays) and no hints until you ship. Every shift is generated from a seed in the URL (?seed=), so you can share a link and a colleague gets the identical logs.

    Can I export the rules I write?

    Yes, with Pro. The debrief exports a Markdown rule library: every rule you shipped as a Sigma-style spec with its ATT&CK tag, backtest and next-day metrics, the reference rule and tuning notes. It is a readable spec rather than a converter, so re-baseline thresholds against your own telemetry before using it.

    Are the logs real?

    No. Every event is synthetic and generated in your browser: .example domains, documentation IP ranges (192.0.2.0/24, 198.51.100.0/24, 203.0.113.0/24) and private 10.x addresses, and invented people. Nothing connects to a real SIEM, and the teammates and live arena are a simulation inside the page.

    The tools people use most on PlayCISO.

    All tools