Detection engineer interviews are decided by whether you can turn an attacker behaviour into a rule that fires on the right events, stays quiet on the wrong ones and survives the next log schema change. Most candidates can name MITRE ATT&CK and Sigma. Fewer can explain which telemetry a rule depends on, how they would test it, or what they would do when it produces two hundred alerts a day. This guide sets out the questions hiring managers ask detection engineers, what a strong answer contains, and the follow-ups that separate people who have shipped detections from people who have read about them.
For the role itself, salaries, skills and routes in, see our Detection Engineer Career Guide. This page focuses only on the interview.
Key takeaways
- Interviewers test the full detection lifecycle: hypothesis, data source, logic, testing, tuning, deployment and retirement. Strong candidates talk about all of it, not just query syntax.
- Expect a live exercise. Many teams ask you to write or review a Sigma rule, a KQL or SPL query, or to triage a noisy detection on a whiteboard.
- Telemetry knowledge is the differentiator. Knowing which event shows a process launch, a logon type or a cloud API call, and what fields it carries, matters more than memorising technique IDs.
- Talk about false positives with numbers. Hiring managers want to hear how you measured precision and alert volume, and what you changed.
- Identity and cloud are now core. Expect questions on token theft, service account abuse and cloud control plane logs, not only endpoint malware.
- Show engineering habits: version control, peer review, automated tests and documentation for every rule.
How detection engineer interviews are structured
A typical process runs four or five stages, though the order varies:
- Recruiter or hiring manager screen. Background, the environments you have worked in (SIEM, EDR, cloud) and why detection rather than SOC analysis or threat hunting.
- Technical deep dive. Questions on telemetry, ATT&CK, rule logic and tuning, often led by a senior detection engineer.
- Practical exercise. Write a rule from a scenario, review a flawed rule, or work through a take-home with sample logs.
- Scenario or incident walk-through. How you would respond to a missed detection found during an incident, or a rule flood after a software rollout.
- Team and values. How you work with the SOC, incident responders and platform teams, and how you handle disagreement about alert priorities.
Prepare one or two real detections you built that you can describe end to end, with the data source, logic, false positive rate and what you would do differently. Sanitise anything confidential.
Detection lifecycle and methodology questions
Walk me through how you build a new detection from scratch.
A strong answer covers: a threat-informed reason for the rule (intelligence, an incident, a gap in ATT&CK coverage), confirming the required telemetry exists and is reliable, writing the logic, testing against both malicious samples and normal baseline data, peer review, staged deployment, a runbook for the analyst, and a review date. Mentioning that you check whether an existing rule already covers the behaviour shows maturity.
How do you decide what to detect next?
Look for prioritisation by risk: threats relevant to the sector, techniques seen in recent incidents, crown-jewel assets and identities, and coverage gaps. Good candidates mention balancing quick wins against high-value but hard detections, and say that coverage maps are a planning aid rather than a score to maximise.
What is the difference between a signature, an analytic and a behavioural detection?
Strong answers explain that atomic indicators such as hashes and IP addresses are cheap for attackers to change, while detections on behaviour and tool-agnostic technique patterns last longer but are harder to tune. Candidates may reference the "pyramid of pain" idea; the key is showing they prefer durable logic where it is affordable.
How do you retire a detection?
Interviewers like this question because many teams never do it. A good answer: retire or rewrite when the data source is gone, the threat is no longer relevant, a better rule supersedes it, or it has a long record of only false positives with no realistic true positive path. Document the reason so coverage reporting stays honest.
Telemetry and data source questions
Which logs would you need to detect credential dumping from LSASS memory?
This maps to ATT&CK T1003.001 LSASS Memory. A strong answer mentions process access events against lsass.exe with suspicious access rights (for example from Sysmon or EDR telemetry), process creation for known tooling and command lines, and the trade-off that EDR products may expose this differently. Good candidates note that legitimate security and backup tools also touch LSASS, so allow-listing must be specific.
How would you detect malicious PowerShell?
Mapped to T1059.001 PowerShell. Expect discussion of script block logging, module logging, process creation with encoded or obfuscated command lines, and parent and child process relationships. A strong candidate explains why command line matching alone is fragile and how script block content improves fidelity.
What would you look for in cloud control plane logs to spot a compromised account?
Strong answers mention unusual API calls for the identity, new access keys or role assignments, disabling or changing logging, access from new locations or infrastructure, and token use from unexpected clients. Mapping to T1078.004 Cloud Accounts shows comfort with ATT&CK beyond endpoints. Our Cloud Detection Engineering Guide covers this area in depth.
How do you know a data source is healthy?
Good answers include volume baselines per source, alerts when a source goes silent, schema change monitoring and periodic synthetic events that should trigger a known rule. A detection on a dead log source is worse than no detection, because it reports coverage that does not exist.
Rule writing and Sigma questions
What are the required parts of a Sigma rule?
Under the Sigma rules specification (version 2.1.0 at the time of writing), a rule must have a title, a logsource and a detection section containing a condition. Strong candidates go further: they explain that logsource uses category, product and service to describe the data, that status values include stable, test and experimental, and that level runs from informational to critical.
Explain this condition: 1 of selection* and not 1 of filter*.
The rule fires when any search identifier starting with "selection" matches, unless any identifier starting with "filter" also matches. A strong candidate mentions that the specification discourages all of them, and can explain value modifiers such as |contains, |endswith, |startswith and |all.
Why write in Sigma rather than directly in the SIEM query language?
Good answers cover portability across back ends, shared community rules, review in plain YAML and easier migration. Balanced candidates also note the limits: converted queries may need back-end tuning, and some correlation or statistical logic is easier in the native language. Our Sigma Rules Guide covers the format in detail.
Live exercise: write a rule for a password spraying pattern.
This maps to T1110.003 Password Spraying. Interviewers want to see you reason about the data: failed authentications from one source across many distinct accounts within a window, often followed by a success. Strong answers discuss thresholds, excluding known scanners and identity provider quirks, and the difference between on-premises directory logs and cloud sign-in logs. Saying "I would check the baseline before choosing the threshold" earns more credit than picking a number.
Testing, tuning and quality questions
How do you test a detection before it goes live?
Strong answers mention replaying or generating attack telemetry (for example with an atomic test framework or a purple team exercise), running the rule against historical baseline data to estimate volume, unit tests in a detection-as-code pipeline, and peer review. See our Detection as Code Guide for the pipeline side.
A rule is producing two hundred alerts a day. What do you do?
Look for a structured answer: sample the alerts and classify them, find the common benign pattern, decide whether to tighten the logic, add a narrow exclusion, raise the threshold or turn the rule into a lower-severity signal feeding a correlation. Strong candidates warn against broad exclusions that create blind spots and say they would record the change and the reason.
How do you measure detection quality?
Expect precision or true positive rate per rule, alert volume, analyst time per alert, mean time to detect in exercises and coverage of prioritised techniques. Candidates who say "number of rules" as a success measure usually lose points. Our Detection Engineering Metrics and KPIs Guide is useful preparation.
Identity and non-human identity detection questions
How would you detect stolen OAuth or application tokens?
Mapped to T1528 Steal Application Access Token. Strong answers include new consent grants to unfamiliar applications, token use from unexpected IP ranges or user agents, unusual scopes and sudden spikes in API volume from an application identity.
Service accounts are noisy. How do you build detections for them?
A good answer: baseline each service account's normal hosts, times and actions, then alert on deviations such as interactive logons, new source hosts or new privileged actions. Candidates who mention an inventory of non-human identities and ownership data as a prerequisite stand out. Our Detection Engineering for Non-Human Identities Guide goes further.
An attacker disabled the EDR agent on a server. How would you have caught that?
This relates to T1685 Disable or Modify Tools. Strong answers include agent heartbeat monitoring, service stop and uninstall events, tamper protection alerts and correlating a host that stops reporting with other suspicious activity.
Scenario questions and what a strong answer contains
During an incident, responders find the attacker used a technique you thought you covered. What next?
Strong answer: help the incident team first, then run a blameless review. Did the telemetry exist? Did the rule fire but get closed? Was the logic wrong or bypassed? Fix the root cause, add a regression test using the incident data, and check for similar gaps elsewhere.
The SOC says your detections are too noisy and they are ignoring them. How do you respond?
Look for empathy and data: meet the analysts, agree which rules hurt most, measure their outcomes, fix or downgrade the worst offenders and agree a feedback loop. Detection engineers serve the people who triage their alerts.
Threat intelligence reports a new phishing kit that steals session cookies. How do you respond as a detection engineer?
A strong answer starts with the behaviour rather than the indicators: what the kit does after the click, which identity provider and proxy logs would show a stolen session being replayed, and which signals (new device, new location, impossible travel, a session token used from two networks) are durable. Candidates should mention adding indicators quickly for short-term value, then writing a behavioural detection, testing it against historical sign-in data and agreeing the response runbook with the SOC, such as revoking sessions and resetting credentials.
How would you hand a new detection over to the SOC?
Good candidates describe a runbook for every rule: what the alert means, the ATT&CK mapping, which fields to check first, known benign causes, escalation criteria and containment options. They also mention a short walkthrough with analysts and a review after the first few weeks of live alerts, so tuning is based on real triage outcomes rather than assumptions.
You have a week and no budget. How would you improve detection coverage?
Good answers prioritise: check log source health, review the highest-volume rules, add a few high-value detections for likely threats using existing telemetry, and document gaps that need investment.
Standards interviewers expect you to know
- MITRE ATT&CK for describing adversary behaviour and planning coverage.
- Sigma for portable rule writing and sharing.
- MITRE D3FEND for describing defensive techniques.
- NIST SP 800-61 Rev. 3 for how detection feeds incident response.
- NIST CSF 2.0 for where detection sits in a wider programme.
You do not need to recite technique IDs, but you should be able to map a scenario to the right tactic and technique and explain why.
Questions to ask the interviewer
- Which SIEM, EDR and cloud log sources do you have, and how do you monitor their health?
- Are detections managed as code with review and tests, or edited in the console?
- How is the feedback loop with the SOC organised, and who owns tuning?
- How do you prioritise new detections: intelligence, incidents, red or purple team findings?
- How do you measure detection quality, and what does good look like after six months in the role?
Common failure patterns in detection engineer interviews
- Quoting technique IDs without knowing which log event would show the behaviour.
- Writing a rule in the live exercise without asking about the baseline or the environment.
- Treating every false positive as solved by an exclusion.
- Measuring success by rule count or coverage percentage alone.
- Ignoring identity, cloud and non-human identity telemetry.
- Describing a team achievement without being clear what you personally built.
Practitioner checklist
- Prepare two detections you built, with data source, logic, testing and false positive outcome.
- Practise writing a Sigma rule from scratch with selections, filters and modifiers.
- Revise key Windows, Linux, identity provider and cloud audit events and their fields.
- Be ready to map three scenarios to ATT&CK techniques and explain the telemetry for each.
- Prepare a structured answer for tuning a noisy rule, with a metric.
- Have an example of working with SOC analysts or incident responders on a detection.
- Prepare questions about their tooling, detection-as-code maturity and SOC feedback loop.
Standards and references
- SigmaHQ: Sigma Rules Specification
- MITRE ATT&CK: OS Credential Dumping: LSASS Memory
- MITRE ATT&CK: T1110.003 Password Spraying
- MITRE ATT&CK: Steal Application Access Token
- MITRE ATT&CK: Valid Accounts: Cloud Accounts
- MITRE D3FEND: Knowledge graph of cybersecurity countermeasures
- NIST: SP 800-61 Rev. 3, Incident Response Recommendations and Considerations for Cybersecurity Risk Management
- CISA: Guidance for SIEM and SOAR Implementation
Related NHI Mgmt Group resources: Detection Engineer Career Guide · Detection Engineering Guide · Cyber Security Interview Preparation Guide · SOC Analyst Interview Questions and Answers