Detection Engineering
The discipline of designing, building, and maintaining detections.
What it is
Detection engineering is the practice of systematically designing, building, testing, and maintaining the rules and analytics that identify malicious activity. It treats detections as engineered artifacts with requirements, validation, and lifecycle management rather than one-off rules.
Why it matters
Mature detection engineering is what keeps a program's coverage deliberate and measurable instead of ad hoc, and it is where hunt findings get converted into durable, repeatable detections.
In practice
Turning a one-time hunt finding about a suspicious script into a tested, documented detection rule that fires automatically going forward.
What to look for
- Detections with no owner, test or documented purpose.
- Rules that never fire, or fire so often nobody reads them.
- Known techniques from recent incidents that still have no detection.
Common mistake
Measuring success by rule count. A few tested, tuned detections beat hundreds nobody trusts.
Use it in CyberKit
- Hunt Query Builder
Build a hunting query in KQL, SPL, LogScale or PowerQuery against documented field names, or start from a prebuilt hunt.
- Rule Range
Write a regex, a Sigma rule, a YARA rule and a query pipeline, each graded live against samples, some of which you never see.
In the field
Well-known tools where this shows up on the job. They are listed to show the landscape, not as a recommendation.
-
Sigma Open source
A vendor neutral rule format that converts into queries for most SIEMs. Our notes.
-
YARA Open source
Matches byte and string patterns in files or memory, the standard for malware rules. Our notes.
-
Suricata Open source
Runs network rules against live traffic or captures and logs every match. Our notes.
-
Splunk Enterprise Security Commercial
Where many teams run, tune and schedule detection searches in production.
Read next
- Detection as Code: Managing detections in version control with testing and CI like software.
- Detection Rule: Logic that defines the conditions under which an alert fires.
- Detection Coverage: How much of relevant adversary behavior your detections actually catch.