The question: How do I catch this behaviour reliably, automatically? By the end you can: design, build, test, tune and maintain detections as code, and prove what they cover. Before you start: Foundations, or skim it if you already work in IT. Time: about 98–146 hours across 10 stages (rough ranges for studying alone).
What detection engineering is#
Detection engineering turns knowledge of how attackers behave into rules and analytics that raise good alerts, then keeps those rules working. The word that matters is engineering. A detection is a small piece of software: it has a requirement behind it, a test that shows it works, notes that tell the analyst what to do, and monitoring that tells you when it quietly stops working. A team that writes a few searches has rules. A team that does detection engineering has something it can measure and improve.
The work sits between the people who learn how attackers operate (threat intelligence, hunters, red and purple teams, incident responders) and the people who act on alerts (the SOC).
Who it is for#
- Beginners who want to move into detection engineering, SOC or security engineering roles.
- SOC analysts who want to write the rules, not just work the queue.
- Engineers who already know Git and CI and want to apply them to security content.
You need no security background. Comfort with a command line, and a willingness to build a small lab, help.
Skills you will build#
- Reading attacker behaviour and finding the part of it that cannot easily be changed.
- Checking that the data you need exists before you write a rule.
- Writing detections in SPL, KQL and Sigma.
- Testing detections with positive and negative cases, and tuning them without going blind.
- Managing detections as code: version control, review, automated tests and deployment.
- Measuring coverage and rule health, and reporting both honestly.
Tools you will meet#
A SIEM (Splunk, Microsoft Sentinel or Elastic Security), Sigma with its converter, Sysmon, Atomic Red Team, MITRE ATT&CK Navigator, DeTT&CT, Git with GitHub Actions, and a little Python. You need only one SIEM to learn the craft; the roadmap shows the same logic in more than one.
Portfolio projects#
- A small lab and ten detections. Windows with Sysmon feeding a SIEM, ten detections each mapped to ATT&CK, each with a test that fires and a benign case that stays quiet.
- A detection-as-code repository. Sigma rules, a pipeline that lints and tests them, and conversion to SPL and KQL.
- A tuning case study. One noisy detection, the baseline you measured, the changes you made and the alert volume before and after.
- A coverage map. An ATT&CK Navigator layer built from your rule metadata, with the gaps ranked and explained.
- A public report turned into detections. Pick a published intrusion write-up and show what you would detect at each step, and what you could not.
Where it connects#
- Threat Modelling decides what is worth detecting first.
- Threat Hunting is a steady source of detection requirements.
- Threat Emulation proves that your detections fire on real behaviour.
- SOC & Incident Response works the alerts you build and feeds back what was noisy or missing.
- Threat Intelligence says which attacker behaviour matters now.