Detection Coverage Metrics

By Ambuj Kumar, CEO

Part of AI Detection Engineering: How AI Tunes and Writes Detection Rules, which gives a short answer to every question in the guide.

What metrics should organizations use to measure detection rule effectiveness?

The detection engineering metrics that show rule effectiveness are per rule: each rule's true positive and false positive history, read alongside a coverage score across rules.

For each rule in the SIEM (security information and event management) system, pull the alerts over a fixed window and split them by how they were closed, as true positive, false positive, or benign activity the rule was right to flag. The share closed as true positive is the rule's precision. A rule with thousands of alerts and no true positive in a year is a tuning candidate.

A rule with no alerts at all is either well written for a rare event or broken, and the alert count can't tell you which. Check that its log source is still arriving, and when it last fired on a test such as a pentest or a simulated attack. Check the fields too. In SPL (Search Processing Language) and other search-style languages, a rule that matches on a field renamed by a parser change returns nothing and raises no error.

Across rules, the measure is the coverage score, which is the share of in-scope techniques in MITRE ATT&CK, the public catalog of attacker techniques, where an attack was tested, an alert fired, and the alert was triaged correctly. Time measures such as mean time to detect belong beside it, though they describe the SOC (security operations center) as much as the rule.

Track these per rule over months. One month's numbers hide the rule whose false positives doubled after a new admin tool was rolled out.

What is detection engineering maturity?

Detection engineering maturity is a measure of how repeatable and measured a team's detection work is. A detection engineering maturity model splits that into levels, and a team with a large rule count can still sit at the lowest one.

At the lowest level, the rules are whatever shipped with the SIEM (security information and event management) system plus a few written after incidents, edited directly in the console with no record of who changed what. A step up, rules have owners, live in version control, and get a peer review before they go live.

Further along, each rule is tested before deployment with a backtest over stored production logs and a replay of captured attack logs. Rules are mapped to MITRE ATT&CK, the public catalog of attacker techniques, and reviewed on a schedule so that silent or noisy ones get caught. At the top level the team picks its next rule from its own numbers, such as the techniques nobody has tested yet.

Published models count and name the levels differently. Kyle Bailey's Detection Engineering Maturity Matrix and Elastic's Detection Engineering Behavior Maturity Model are two that practitioners often cite.

Moving up a level should show in the share of in-scope techniques with tested coverage and in each rule's true and false positive history.

Why is recall so hard to measure?

Detection recall is hard to measure because it needs a count of the attacks you missed, and a missed attack leaves no alert to count. Precision is easy by comparison: every alert a rule raised sits in the SIEM (security information and event management) system with an analyst's verdict on it, so the true positive share is one query away. Recall is the true positives divided by all the real attacks. Nobody has that second number.

Teams estimate it by creating attacks whose ground truth they know. A pentest or an attack simulation tool runs a known list of techniques, and the team then checks which steps raised an alert. A pentest step from Simbian's AI Pentest Agent that generated logs and no alert becomes a detection gap, and the AI Detection Engineering Agent writes a rule for it, which deploys automatically or after human approval, whichever the customer chooses. Threat hunting comes at recall from the other side, searching past logs for activity that no rule caught.

A rule that caught one PowerShell download cradle may still miss an obfuscated variant, so whichever method is used, the figure is recall only for the techniques, and the variants of them, that were tried.

How often should an ATT&CK coverage map be updated?

A MITRE ATT&CK coverage map should be updated every time a detection rule or a log source changes, with a full review whenever MITRE publishes a new ATT&CK version. The map sets your rules against MITRE ATT&CK, the public catalog of attacker techniques, and one redrawn once a year is out of date well before the next redraw.

Most of the events that change the map happen on the defender's side. A rule gets disabled and stays off. A log source stops arriving after an EDR (endpoint detection and response) sensor upgrade, and every technique the rules on that source covered is now uncovered while the map still shows it green.

A spreadsheet or an ATT&CK Navigator layer kept by hand falls behind on changes like these. The AI Detection Engineering Agent re-reads the rules the SIEM (security information and event management) system exposes and re-analyzes gaps periodically, and it keeps the ATT&CK mapping per rule.

MITRE has generally released major ATT&CK versions about twice a year, adding techniques and sometimes retiring or merging old ones. Each release means re-mapping existing rules and deciding which new techniques are in scope. If each rule carries its technique IDs as metadata, the map can be rebuilt from the live rule set.

How should I report ATT&CK detection coverage to our board?

Report MITRE ATT&CK coverage to a board as one score and its trend, with a short list of the largest gaps and what is being done about each. The full matrix of MITRE ATT&CK, the public catalog of attacker techniques, is too much detail for a board slide, and a mostly green grid gets read as "we are safe".

Scope the score to the techniques used by threat groups that target your industry and that apply to the systems you run, which is far fewer than the full matrix, and count a technique only when its coverage has been tested. Show this quarter's score against the last few and explain any drop. A score can fall for good reasons, such as a wider scope or the first real test of techniques assumed covered.

Under the score, group the in-scope techniques by state. The full-loop heatmap, with the AI Detection Engineering Agent running alongside Simbian's AI Pentest, AI Threat Hunt, and AI SOC Agents, uses four states for this: Covered, Triage Gap, Detection Gap, and Untested.

Give untested techniques their own line. It shows how much of the map nobody has checked.

How do detection coverage and detection efficacy differ in practice?

Detection coverage, as it is usually counted, says which attacker techniques have a rule mapped to them, and detection efficacy says whether those rules fire on a real attack and stay quiet otherwise. A team can have high coverage and low efficacy, because coverage is read from rule metadata and efficacy can only be measured by testing.

A rule tagged with a technique from MITRE ATT&CK, the public catalog of attacker techniques, may have been written around the output of a single attack tool, and the same technique done another way goes through. Or a rule fires so often that analysts close its alerts without reading them, which amounts to not having the rule.

To check efficacy for a technique, run it. Execute it as a simulated attack, or replay captured logs from a pentest, and confirm in order that the telemetry reached the SIEM (security information and event management) system, that the rule raised an alert, and that triage called it malicious.

If a technique only counts as covered after that test, the coverage number can't get ahead of the rules. Each rule's health still needs tracking (when it last fired, its true and false positive counts), because a rule that passed last quarter's test can go quiet when its log source stops arriving. The AI cyber defense guide takes up whether ATT&CK coverage is a meaningful measure in the first place.

How many use cases should a SIEM have?

There is no correct number of SIEM use cases, because the count of rules in a SIEM (security information and event management) system says little about which attacks it will catch.

A use case in this sense is a detection rule, or a small group of rules, together with the log sources they need and the response expected when they fire. Turning on every vendor-supplied rule raises the count overnight and buries the SOC (security operations center) in alerts from rules that don't fit the environment. Duplicates inflate the count too. Several rules from different content packs that catch the same brute-force pattern count as several use cases and add one detection.

Size the rule set by working back from what you need to detect. List the techniques in MITRE ATT&CK, the public catalog of attacker techniques, that are relevant to your industry and your systems, then check which of them have the telemetry to support a rule at all. Aim for at least one tested rule per technique that matters, and more where one technique covers many behaviors, as PowerShell does. Each rule needs an owner, periodic tuning, and a re-test when log formats change, so the practical ceiling is the number of rules the team can keep healthy.

Sign up for Simbian's Newsletter

By submitting this form, you agree to our Privacy Policy.

Ask AI about Simbian