Capstone: one detection from hypothesis to a kept rule
Pick one behaviour from a real incident. Write its hypothesis card, write the Sigma rule, test it with a true positive, a clean baseline and a variant, measure its precision, tune it, and file it with its owner and review date. Finish with a replay that shows where the same behaviour sits in an incident.
The capstone labs
- Run a full detection-engineering cycle: emulate, detect, tune (purple-team SOC capstone): You run the same harmless test twice, find a measured gap on the first run, write and deploy a Sigma rule and watch it fire on the second run. Runs on a lab machine you own.
Also try, in the simulators
- Find a workstation reaching many others on the admin share port (Detection Lab task): You write a rule on a count of destinations, the kind that needs a threshold and a tuning decision for a legitimate management server.
- Catch the web server writing a new page file (Detection Lab task): You write a rule on a web server writing a new page file, from a real incident, and decide what harmless deployments will also trigger it.
Chain Replay exercise
Replay the NotPetya incident and ask, at each step, what the hypothesis would be, what evidence it leaves and how hard it would be for the attacker to avoid your rule.
- Run the replay and pick two steps. For each, write a one-line hypothesis, the log you would need and where it sits on the Pyramid of Pain.
- Turn on the monitoring and segmentation controls. Which steps become visible, and which of your hypotheses still have no data?
- Choose one step and write its blind spots and false positives the way the ADS template asks.
Write it down
- Write a one-page hypothesis card with the nine ADS sections for your chosen behaviour.
- Write the Sigma rule with status, falsepositives, level and tags, plus a filter for one named exception.
- Record your test results: the true positive, the clean baseline, one variant, and the rule's precision and recall on your sample.
- File the rule with an owner, a review date and a note of what would make you retire it.
You are done when
- You can take one adversary behaviour from hypothesis to a tested, tuned and documented rule.
- You can state a rule's precision and recall on a stated sample, and what you changed to improve them.
- You can explain where the rule is blind and which other control covers that gap.
Lion Cipher Labs is not a school, these classes carry no academic credit, and a completion record is a personal record of study, not a credential.
Back to Detection engineering.