Roadmaps Security roadmaps Defensive security and threat management

Detection Engineering

Design, build, test and maintain the detections that tell a SOC an attack is happening, and treat them like software.

Estimated time: 15–25 months · At about 10 hours a week.

Learning path

Click a topic to see what to learn and where. Mark topics as you go; your progress is saved in this browser only.

  • Core topic
  • Optional
  1. Beginner · 2–3 months Telemetry and your first detections
  2. Intermediate · 3–4 months Detection as code
  3. Advanced · 4–6 months Advanced analytics and data engineering
  4. Expert · 6–12 months Strategy and leadership

All topics in detail

BeginnerTime: 2–3 months

Telemetry and your first detections

Skills

  • Name the logs needed to detect a given technique.
  • Read and write simple Sigma rules.
  • Run a technique in a lab and find its traces.

Hands-on projects and labs

  • Build a lab with a Windows VM, Sysmon and a free SIEM such as Wazuh or Elastic, then run five Atomic Red Team tests and find each in the logs.
  • Write Sigma rules for two of those tests and convert them to your SIEM's query language.

Done when you can…

  • Show a rule that fires on a simulated attack and not on a day of normal use.
  • Explain why a behaviour-based rule beats a hash-based one.

Beginner

Log sources and telemetry

You can only detect what you collect. Learn which logs show process starts, logons, network connections, cloud API calls and email, and what each misses.

Resources

Beginner

Sysmon and endpoint logging

Sysmon adds detailed process, network and file events to Windows. A good configuration is the basis of most endpoint detections.

Resources

Beginner

MITRE ATT&CK for detection

ATT&CK describes attacker behaviour technique by technique, with data sources for each. Use it to decide what to detect and to describe what a rule covers.

Resources

Beginner

The Pyramid of Pain

Hashes and IP addresses are easy for attackers to change; tools and behaviours are hard. Good detections aim at the top of the pyramid.

Resources

Beginner

Sigma rules

Sigma is a common format for detection rules that converts to many SIEM query languages. Read existing rules to learn how detections are written.

Resources

Beginner

Writing and testing a first rule

Pick one technique, run it in a lab, find its traces in the logs, write a rule and check it fires. Then check it stays quiet on normal activity.

Resources

IntermediateTime: 3–4 months

Detection as code

Skills

  • Run a detection-as-code pipeline with review and automated tests.
  • Document a detection so an analyst knows what to do when it fires.
  • Tune a noisy rule without blinding it.
  • Show ATT&CK coverage based on tested rules.

Hands-on projects and labs

  • Put your Sigma rules in a Git repository with a CI job that validates and converts them.
  • Replay a Security Datasets scenario against your rules and fix the ones that miss.
  • Build an ATT&CK Navigator layer of your tested coverage.

Done when you can…

  • Ship a new detection through review, testing and deployment without touching the SIEM by hand.
  • Reduce a rule's false positives by half while it still catches the test attack.

Intermediate

Detection as code

Keep rules in Git, review changes in pull requests, run tests in CI and deploy automatically. You get history, review and rollback for free.

Resources

Intermediate

Documenting detections

Each rule needs a goal, the technique it covers, blind spots, false positives and a response guide. The Alerting and Detection Strategy framework is a good template.

Resources

Intermediate

Testing detections

Replay recorded attack data or run attack simulations on every change, so you know a rule still works after tuning or a log format change.

Resources

Intermediate

Tuning and false positives

Measure how often each rule fires and how often it is real. Tune with care: every exclusion is a place an attacker can hide.

Resources

Intermediate

Measuring coverage

Map rules and data sources to ATT&CK to see what you cover and what you miss. Coverage on paper is not the same as tested coverage.

Resources

Intermediate

Learning from public analytics

MITRE CAR, Elastic, Splunk and SigmaHQ publish thousands of analytics. Study how they handle edge cases, then adapt them to your environment.

Resources

AdvancedTime: 4–6 months

Advanced analytics and data engineering

Skills

  • Write multi-stage correlations across several log sources.
  • Build behavioural detections with baselines.
  • Design detections for cloud and identity attacks.
  • Improve log pipelines and schemas for detection.

Hands-on projects and labs

  • Write a detection that links a suspicious email, a new process and an outbound connection within an hour.
  • Build a first-time-seen detection for admin logons and tune it on a week of lab data.
  • Run a purple team exercise against your lab and close every gap you find.

Done when you can…

  • Show detections that still fire after the attacker renames their tools.
  • Lead a purple team exercise and report the coverage gained.

Advanced

Correlation and multi-stage detections

Some attacks only show up as a sequence: a phishing click, then a new process, then an unusual logon. Learn to join events across sources and time.

Resources

Advanced

Behavioural and anomaly detection

Baselines of normal behaviour per user or host catch what fixed rules miss, such as a first-time admin logon. Combine them with rules to keep alerts precise.

Resources

Advanced

Cloud and identity detections

Most modern attacks touch identity and cloud control planes. Detect risky sign-ins, new access keys, permission changes and unusual API calls.

Resources

Advanced

Security data pipelines

Parsing, normalising and routing logs decides what detections can see and what it costs. Learn a common schema such as the Elastic Common Schema or OCSF.

Resources

Advanced

Robust detections

Attackers rename tools and change command lines. Focus on what they cannot easily change, such as the underlying API calls or relationships between events.

Resources

Advanced

Validation with purple teaming

Work with red teamers to run realistic attack chains, then fix every gap. Repeat regularly, since environments and attackers change.

Resources

ExpertTime: 6–12 months

Strategy and leadership

Skills

  • Set a detection roadmap from threat intelligence and incident history.
  • Report detection quality to leadership with clear metrics.
  • Contribute detections to the community.

Hands-on projects and labs

  • Write a one-year detection roadmap for a fictional company based on the threat groups that target its sector.
  • Get a rule accepted into the SigmaHQ repository.

Done when you can…

  • Run a detection programme with measured quality and coverage.
  • Have your detections used by other teams.

Expert

Threat-informed detection strategy

Decide what to build next from the threats your organisation faces, your incidents and your gaps, not from what is easiest.

Resources

Expert

Detection quality metrics

Track true positive rate, time to detect, coverage of priority techniques and alert workload. Report trends that guide spending.

Resources

Expert

Sharing detections

Contribute rules to SigmaHQ or vendor repositories, write about what worked, and learn from other teams' public detections.

Resources

ExpertOptional

Deception as detection

Honeytokens, fake credentials and decoy systems give near-zero false positives, because nobody should ever touch them.

Resources

Overview

Detection engineers write the rules and analytics that turn raw logs into alerts. They decide which data to collect, which attacker behaviours to look for, and how to tell an attack from normal work.

Modern teams treat detections as code: written in a common format such as Sigma, stored in version control, reviewed, tested against real attack data and measured for quality. The aim is fewer, better alerts that catch real attacks.

Why it matters

A SOC is only as good as its detections. Noisy rules burn out analysts, and missing ones let attackers stay for months. Detection engineering is one of the fastest-growing blue team roles.

Typical job roles

  • EntrySOC analyst tuning rules Reports noisy rules, suggests fixes and writes first simple detections.
  • Mid-levelDetection engineer Builds, tests and maintains detections across endpoint, network, identity and cloud.
  • Mid-levelSecurity data engineer Builds the log pipelines, parsing and data models that detections need.
  • SeniorSenior detection engineer Leads coverage strategy, testing and detection-as-code tooling.
  • LeadHead of detection and response Owns detection strategy, coverage and quality metrics for the organisation.

Prerequisites

  • Security Operations beginner and intermediate stages.
  • Windows and Linux logging basics: event logs, Sysmon, syslog, auditd.
  • A query language such as KQL, SPL or SQL.
  • Git and basic Python.

Cybersecurity Foundations of computer science

Tools and technologies

  • Sigma Open source Generic detection rule format with converters for many SIEMs.
  • Sysmon Free Detailed Windows endpoint telemetry.
  • Wazuh Open source Open-source SIEM and XDR for labs and small teams.
  • Elastic Security Free community edition SIEM with an open detection rule set.
  • Atomic Red Team Open source Small, safe tests for ATT&CK techniques.
  • ATT&CK Navigator Open source Map coverage onto ATT&CK.
  • DeTT&CT Open source Score data source quality and detection coverage.
  • Chainsaw Open source Run Sigma rules over Windows event logs offline.

Certifications

Take them in roughly this order. Costs and details for the ones marked with a link are on the Certifications page.

  1. Intermediate Security Operations Analyst Associate (SC-200) MicrosoftDetections and hunting in Microsoft Sentinel and Defender.Cost and exam details
  2. Intermediate CySA+ (Cybersecurity Analyst) CompTIAA broad analyst baseline.Cost and exam details
  3. Advanced GIAC Certified Detection Analyst (GCDA) GIACSIEM and detection engineering.

Resources

Frameworks and standards

  • MITRE ATT&CK A knowledge base of real attacker tactics and techniques, used to plan detections, hunts and red team work.
  • MITRE D3FEND A knowledge graph of defensive techniques, mapped to the ATT&CK techniques they counter.
  • NIST Cybersecurity Framework (CSF) 2.0 A common way to describe and improve an organisation's security, organised as Govern, Identify, Protect, Detect, Respond and Recover.
  • CIS Critical Security Controls A prioritised list of 18 practical defences, grouped so smaller organisations know what to do first.
  • MITRE Engage A framework for adversary engagement: deception, denial and learning from attackers on purpose.

All frameworks and standards

Career path

A common progression. Titles vary between companies.

  1. SOC analyst0–2 years
  2. Senior SOC analyst who writes rules2–3 years
  3. Detection engineer3–6 years
  4. Senior detection engineer6–9 years
  5. Head of detection and response10+ years

Related domains to move into

All security roadmaps Back to top

Last reviewed: . Found a mistake, or want a roadmap written sooner? Contact