Coverage Gaps, Deception and Hypothesis-Driven Hunting
Assess ATT&CK coverage systematically using Navigator layers, plant canary credentials and deception traps, and execute hypothesis-driven threat hunts.
Contentsand lesson path
On this page
- Mapping Coverage with ATT&CK Navigator and Prioritizing Gaps
- Deception Engineering and Hypothesis-Driven Threat Hunting
- Practice check
- Review prompt
Lessons of Detection Engineering
- The Detection Lifecycle and Detections as Code Concept · 15 min
- Writing and Converting a Sigma Rule Lab · 30 min
- Proving Detections with Adversary Emulation Lab · 30 min
- Tuning for Precision Without Blind Spots Worked example · 20 min
- Coverage Gaps, Deception and Hypothesis-Driven Hunting Worked example · 25 min
- Detection Engineering Check Knowledge check · 8 questions
What you will learn
- Assess ATT&CK coverage for a threat profile, prioritise gaps, and run a hypothesis-driven threat hunt for one gap.
Prerequisites: Security Logging & SIEM
01. Mapping Coverage with ATT&CK Navigator and Prioritizing Gaps
A defense strategy built on vendor marketing promises often assumes comprehensive coverage across the entire threat landscape. In reality, modern enterprise environments possess significant detection blind spots caused by missing endpoint audit policies, unmonitored cloud APIs, and encrypted protocol payloads. Threat-informed defense requires security teams to quantify exactly what they can see and what remains invisible.
Visualizing Visibility with MITRE ATT&CK Navigator The MITRE ATT&CK Navigator is an open-source web application designed to project security capabilities directly onto the ATT&CK matrix. Detection teams generate JSON layer files that score techniques based on verified telemetry and validated detection rules:
- Score 0 (Unmonitored / Blind Spot): No telemetry collection exists. Adversary execution within this technique occurs without emitting any logs.
- Score 1 (Telemetry Only): Events are recorded by endpoint agents or network sensors, but no active detection rules or alerts exist.
- Score 2 (Syntactic / Basic Detection): Static regex or keyword signatures match known public exploit tools.
- Score 3 (Empirically Validated Detection): Detection rules have been verified via automated adversary emulation (Atomic Red Team) with proven sub-minute latency.
Prioritizing Gaps with Threat Intelligence and CISA KEV Attempting to achieve 100% detection coverage across all 600+ ATT&CK techniques and sub-techniques is impossible and economically inefficient. Instead, detection engineers cross-reference internal coverage maps with cyber threat intelligence (CTI). By prioritizing techniques actively leveraged by adversaries targeting their industry vertical, as cataloged in the CISA Known Exploited Vulnerabilities (KEV) catalog and threat actor profiles, teams focus engineering resources on high-consequence exposure vectors.
MITRE D3FEND Countermeasure Mapping While ATT&CK classifies offensive tradecraft, MITRE D3FEND provides a complementary defensive matrix that maps defensive countermeasures directly to offensive techniques. Detection engineers utilize D3FEND to identify defensive layering beyond pure SIEM alerts, such as process spawning restriction, memory execution isolation, and network traffic decoupling. Aligning both frameworks reveals whether a coverage gap can be addressed through hardening and platform configuration rather than relying solely on post-execution detection. This structured mapping ensures that detection engineering budgets are allocated where threat likelihood, business impact, and observable telemetry intersect most effectively.
02. Deception Engineering and Hypothesis-Driven Threat Hunting
Even the most advanced detection engineering pipelines cannot catch every stealthy, living-off-the-land adversary technique before an intrusion progresses. Where automated detection ends, proactive deception and hypothesis-driven threat hunting begin.
Deception Engineering: Shifting the Asymmetry
Traditional cybersecurity forces defenders to be right 100% of the time, while an attacker only needs one entry point. Deception engineering inverts this asymmetry. By deploying canary credentials (fake passwords in LSASS memory or fake AWS keys in ~/.aws/credentials), decoy network shares, and honeytoken files, defenders create tripwires. Because legitimate users have zero operational reason to touch a honeytoken, any access attempt generates a high-confidence, near-100% precision alert requiring immediate blue-team response.
The Hypothesis-Driven Threat Hunting Lifecycle
Threat hunting is not aimless log browsing or waiting for SIEM alerts to fire. It is a structured scientific investigation based on an explicit hypothesis. A rigorous threat hunt follows four sequential stages:
1. Hypothesis Formulation: Formulate a testable premise based on threat intelligence or coverage gaps. Example: "Adversaries are utilizing unquoted service paths or scheduled tasks to maintain persistence without triggering standard process creation rules."
2. Data Identification and Telemetry Gathering: Determine which host, network, or identity telemetry must be analyzed (e.g., Windows Event ID 4697 for new service installations, or HKLM\Software\Microsoft\Windows\CurrentVersion\Run registry changes).
3. Analytical Execution and Pattern Stacking: Aggregate and frequency-analyze the dataset. By "stacking" unique service binary paths across 5,000 corporate workstations, the top 99.9% of common paths represent standard business software, while outliers appearing on only one or two machines highlight potential lateral persistence.
4. Detection Rule Codification: When a hunt discovers previously undetected malicious activity or a blind spot, the engineering team translates the manual hunt query into an automated, production Sigma rule, permanently closing the defensive gap.
Telemetry Health Verification and Missing-Data Traps Threat hunting exercises frequently stall because defenders assume an event source is operational when it has silently failed. An adversary intentionally terminating auditd or disabling Sysmon manifests in the SIEM not as an alert, but as eerie silence. Experienced hunters write "Missing-Data Traps" — scheduled queries that fire when an endpoint stops sending expected heartbeat telemetry or when daily event counts drop below 3-sigma standard deviation baselines. Validating telemetry ingestion health is a mandatory prerequisite before declaring any threat hunt conclusive.
import json
def build_navigator_layer(techniques_covered):
layer = {
"name": "Enterprise Validated Detection Coverage",
"version": "4.5",
"domain": "enterprise-attack",
"description": "Layer showing validated detection coverage",
"techniques": [],
"gradient": {
"colors": ["#ff6666", "#ffe066", "#2eb82e"],
"minValue": 0,
"maxValue": 3,
},
}
for tech_id, score in techniques_covered.items():
layer["techniques"].append({
"techniqueID": tech_id,
"score": score,
"color": "#2eb82e" if score == 3 else "#ffe066",
"comment": f"Validated with score {score}",
"enabled": True,
})
return json.dumps(layer, indent=2)
COVERAGE = {
"T1003.001": 3, # LSASS Memory Dump (Validated with Atomic)
"T1059.001": 3, # PowerShell Download Cradle (Validated)
"T1053.005": 1, # Scheduled Tasks (Telemetry only, hunt gap)
}
output_json = build_navigator_layer(COVERAGE)
print(f"Generated layer with {len(COVERAGE)} techniques")from collections import Counter
# Sample Windows Event ID 4697 service installation records
SERVICE_EVENTS = [
{"host": "WKS-01", "path": "C:\Windows\System32\svchost.exe"},
{"host": "WKS-02", "path": "C:\Windows\System32\svchost.exe"},
{"host": "WKS-03", "path": "C:\Windows\System32\svchost.exe"},
{"host": "WKS-01", "path": "C:\Program Files\Agent\agent.exe"},
{"host": "WKS-02", "path": "C:\Program Files\Agent\agent.exe"},
{"host": "WKS-04", "path": "C:\Users\alice\AppData\svc.exe"},
]
def stack_service_paths(events, rarity_threshold=1):
counts = Counter(e["path"] for e in events)
outliers = [
p for p, count in counts.items()
if count <= rarity_threshold
]
print("Rare Service Installations (Outliers):")
for p in outliers:
hosts = [e["host"] for e in events if e["path"] == p]
print(f" [!] Count={counts[p]}: {p} on hosts {hosts}")
return outliers
suspicious = stack_service_paths(SERVICE_EVENTS)03. Practice check
04. Review prompt
Describe how to conduct an objective ATT&CK coverage assessment using the ATT&CK Navigator. Explain the critical distinction between having raw telemetry for a technique and having a verified, actively alerting detection rule. Discuss how mapping techniques to MITRE D3FEND defensive countermeasures reveals opportunities for platform hardening before investing in complex alert engineering.
Explain how deception engineering (such as canary credentials and honeytokens) inverts the traditional defensive asymmetry. Discuss best practices for safely generating and monitoring canary tokens to ensure they cannot be weaponized by threat actors.
Walk through the four phases of a hypothesis-driven threat hunt. Detail how frequency stacking (least-frequency analysis) across endpoint registry run keys, scheduled tasks, and newly installed services uncovers living-off-the-land persistence tradecraft that bypasses traditional signatures.
Finally, explain why validating telemetry health with missing-data traps is essential prior to concluding any threat hunt, and describe the governance process for codifying hunt findings into permanent detections as code.
References
Your progress
Reading state
Sign in to save that you finished reading this lesson.
Prove this skill
8 questions · about 6 minutes · scored automatically. Marking a lesson as read never demonstrates a skill.