Detection Engineering: What It Is, How to Break In, and What It Pays
Detection engineering is the discipline of building, testing, and maintaining the analytics that turn raw security telemetry into reliable alerts. A detection engineer writes and tunes detection rules (Sigma, YARA, KQL, SPL), maps them to adversary behaviour using frameworks like MITRE ATT&CK, and measures whether those detections actually fire on real attacks without drowning analysts in false positives. In short: it is software engineering applied to the problem of catching intrusions.
What a detection engineer actually does day to day
The core loop is: identify a threat behaviour, write a detection for it, validate it against real or emulated attack data, then measure and tune. Concretely, that means:
- Writing detection logic in the query language of your SIEM or EDR — Splunk SPL, Microsoft KQL, Elastic EQL — and portable formats like Sigma.
- Mapping coverage to MITRE ATT&CK so you can see which tactics and techniques you can and cannot detect, and prioritise the gaps.
- Testing detections with tools like Atomic Red Team or a purple-team exercise, confirming the rule fires and generating the evidence to prove it.
- Managing detections as code — storing rules in Git, running CI pipelines, and treating false-positive rates and mean-time-to-detect as tracked metrics.
This last point is what separates modern detection engineering from ad-hoc "alert tuning." Detections are versioned, peer-reviewed, and tested like any other codebase.
Detection engineering vs. threat hunting
They are complementary, not the same. A threat hunter works from a hypothesis ("an attacker may be using DLL sideloading in this environment") and manually queries data to prove or disprove it — the work is exploratory and often one-off. A detection engineer takes the successful outcome of a hunt and productionises it: turns that one-time query into a durable, tested, automated detection that fires every time the behaviour recurs.
A useful way to remember it: threat hunting finds the gap; detection engineering closes it permanently. Mature teams run these as a feedback loop — hunts feed the detection backlog, and detection coverage tells hunters where to look next.
How much does a detection engineer make?
Detection engineering sits at the higher end of blue-team compensation because it demands both security domain knowledge and real engineering ability. In the US market, detection engineers typically earn in the range of roughly $110,000 to $180,000, with senior and staff roles at large tech and finance companies exceeding $200,000 in total compensation. Pay skews upward relative to a general SOC analyst because the role requires coding, data pipeline fluency, and the ability to reason about adversary tradecraft — a scarcer combination.
A realistic roadmap and the best courses to get there
You do not need to master everything at once. Prioritise in this order:
- Foundations: operating system internals (Windows event logs, Sysmon, Linux auditd), networking, and how attacks actually work. Free hands-on labs like the Detection Engineering path on TryHackMe are a low-cost way to build muscle memory here.
- Frameworks: learn MITRE ATT&CK properly, plus the detection standards Sigma and YARA. Understand the ATT&CK-to-detection mapping deeply — it is the backbone of coverage planning.
- Query languages: get fluent in at least one SIEM/EDR language (KQL or SPL are the most marketable) and be comfortable writing detections against real telemetry.
- Engineering discipline: Git, CI/CD for detection-as-code, and testing with Atomic Red Team.
For structured, vendor-neutral training, SANS SEC555 (SIEM with Tactical Analytics) and the newer detection-focused SANS courses are the recognised deep-dive options, though they are expensive. Community resources — the Detection Engineering roadmap circulated in blue-team communities, and hands-on platforms — cover most of the same ground at a fraction of the cost if you are self-directed.
Where detection engineering fits in SOC maturity
Detection engineering is not a standalone hire — it is a capability that a SOC grows into. The SOC-CMM maturity model by Rob van Os scores a SOC across five domains — Business, People, Process, Technology, and Services — on a 0-5 scale. Detection engineering pulls directly on the People and Process domains: you need the skilled staff, but you also need repeatable processes for creating, testing, and retiring detections. Standing up a detection engineering function before those process foundations exist tends to produce a pile of unmaintained rules rather than durable coverage.
If you want to see where your team sits before investing in a detection engineering capability, PlayCISO's free Security Ops Maturity Model tool gives you a quick, structured read on your current maturity across those domains.
Ready to practise the decisions these articles describe?
Run a free War Room →