Detection engineering
From a hypothesis to a rule you have tested, measured and can keep
Learn the whole life of a detection: turn a behaviour into a hypothesis, write it as a Sigma rule with filters and correlation, test it on your own machine, measure its precision, tune it without going blind, and keep it as reviewed, tested code with a coverage map.
intermediate level, about 39 hours, 5 units, 27 labs.
Syllabus
Who it is for
Learners who finished the Logging and detection class or can already read a Sigma rule and a log line. Labs run on a small Linux or Windows machine you own and can snapshot; many labs run offline in plain Python with no SIEM.
By the end you will be able to
- Turn an adversary behaviour into a written hypothesis with a data source, blind spots, false positives and a validation step.
- Write a Sigma rule using modifiers, conditions, filters and a correlation rule, and explain each part.
- Test a rule with a true positive, a clean baseline and a variant, on a machine you own, and clean up afterwards.
- Measure a rule's precision, tune it narrowly and re-test that it still catches what it should.
- Describe how detections are kept as code: review, automated checks, conversion for your tool, a coverage map and a retirement habit.
Before you start
- Recommended: the pipeline, Sigma basics, Pyramid of Pain and test-and-tune ideas used here are first built there.
- Helpful: it explains the stages and evidence that a hypothesis is written about.
Units
- Unit 1: From a behaviour to a written hypothesis: You will be able to turn an adversary behaviour into a hypothesis and say what you need to see, what could go wrong and how you will prove it works.
- Unit 2: Writing the rule: Sigma in depth: You will be able to write a Sigma rule with modifiers, conditions, a filter and a correlation, and explain what each part does.
- Unit 3: Testing the rule on a bench you own: You will be able to test a rule with a true positive, a clean baseline and a variant, find its blind spots and clean up afterwards.
- Unit 4: Measuring noise and tuning without going blind: You will be able to calculate a rule's precision, tune it narrowly and re-test that it still catches what it should.
- Unit 5: Detections as code, and a map of what you cover: You will be able to describe how detections are kept as reviewed, tested code and how to map and review your coverage.
- Capstone: Capstone: one detection from hypothesis to a kept rule
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.
See all classes. Certifications are exams run by other organizations; compare them on the certification pages.