Goal. By the end you can prove, before you hunt, that the data your hypothesis needs exists, covers the right systems, goes back far enough and has usable fields, and you can record a verdict that others can trust.
Why it matters#
A search that returns nothing means one of two things: the behaviour did not happen, or you could not have seen it. From the results screen they look identical. A hunter who skips this stage can report "no evidence of credential theft" for a server estate where half the machines never sent the relevant event. Data readiness is what turns an empty result into a statement with a known scope.
It is also useful on its own. A hunt that stops here, because the data is missing, has found a real gap that somebody can fix.
What you will learn#
Telemetry, and the checklist#
Telemetry is the record of activity that systems send you: process starts, sign-ins, network connections and so on. Detection Engineering stage 3 explains the main sources and how to set them up. Here you only need to answer, for one hypothesis, whether they are good enough.
Work from the behaviour backwards. Ask what the attacker action would leave behind, then which source records it.
| What you want to see | Typical source | Easy to miss |
|---|---|---|
| A program starting, with its command line | Sysmon event 1, Windows Security 4688, endpoint detection and response (EDR) process events | 4688 has no command line unless "Include command line in process creation events" is turned on |
| PowerShell script content | PowerShell event 4104 (script block logging) | Must be enabled |
| A new scheduled task | Security event 4698 | Needs the matching audit policy |
| A sign-in | Windows 4624 and 4625, identity provider sign-in logs | Cloud sign-ins are often split by type, such as interactive and non-interactive |
| A change to cloud or identity settings | Cloud control-plane and directory audit logs | Reads of data are often a separate, paid or opt-in log |
| A network connection or name lookup | Firewall, proxy, DNS resolver, flow records, EDR network events | Traffic that never crosses the sensor |
Sysmon is a free Microsoft tool that writes detailed Windows events. It records only what its configuration file asks for, so "Sysmon is installed" does not mean "the event I need is collected".
Six checks#
Run these for every source the hypothesis names.
| Check | Question | How to prove it |
|---|---|---|
| Presence | Is the event type arriving at all? | Search for the type over the last day, with no other filter |
| Coverage | From which share of the in-scope systems? | Compare reporting hosts with an inventory |
| Retention | How far back can you search? | Find the oldest event you can actually query |
| Continuity | Are there holes in the window? | Count events per day and per source |
| Field quality | Are the fields you filter on filled and parsed? | Count empty and odd values |
| Fidelity | Does a real action produce the event you expect? | Do the harmless action and look for it |
Coverage is the one most often assumed. You need a list of what should be there (an asset inventory, a directory export, a cloud account list) and a list of what is reporting. The difference is your blind spot. Also ask who is missing: ten missing test laptops and ten missing domain controllers are not the same gap.
Retention has more than one number. A platform may keep 90 days in fast storage and a year in an archive you cannot search without restoring it. Some products keep only a short window of raw events: as of 2026-11-26, Microsoft Defender XDR advanced hunting offers up to 30 days of raw data by default, and more depending on licence. Write down the number you can query today.
Continuity matters because agents stop, forwarders queue and licences hit limits. A daily count per source makes a hole obvious. Also compare the event time with the time it was indexed. A source that arrives six hours late will be silently absent from "the last hour".
Field quality covers empty values, truncated command lines, user names in three formats, IP addresses that are really the address of a proxy or load balancer, and time zones. Any of these can make a correct query return nothing.
Fidelity is the strongest proof. On a test machine you own, run something harmless that matches the
behaviour, such as creating and then deleting a scheduled task named readiness-test, and find it in the
platform. If you cannot find your own action, you will not find an attacker's.
Queries that answer the checks#
Coverage and continuity for process-creation events in Splunk, assuming a Sysmon index named endpoint:
index=endpoint EventCode=1 earliest=-30d@d latest=@d
| eval day=strftime(_time, "%F")
| stats count AS events, dc(day) AS days_seen, min(_time) AS first_seen, max(_time) AS last_seen BY host
| convert ctime(first_seen) ctime(last_seen)
| sort days_seenIllustrative: test it in your lab before relying on it.
Field quality for the same events in Microsoft Defender XDR:
DeviceProcessEvents
| where Timestamp > ago(30d)
| summarize Events = count(),
NoCommandLine = countif(isempty(ProcessCommandLine)),
NoParent = countif(isempty(InitiatingProcessFileName))
by DeviceName
| extend PctNoCommandLine = round(100.0 * NoCommandLine / Events, 1)
| order by PctNoCommandLine descIllustrative: test it in your lab before relying on it.
Neither query can list a host that sent nothing. Load your inventory as a lookup or table and join from it, so that silent hosts appear with a count of zero.
The readiness verdict#
Give each source one of three verdicts and say why in one line.
| Verdict | Meaning | What you do |
|---|---|---|
| Ready | The checks pass for the population and window | Hunt |
| Partial | Some systems, days or fields are missing | Hunt, and state the limits in the result, or narrow the scope |
| Not ready | The hypothesis cannot be tested | Stop, record the gap, send it to the log owner |
A worked example, for the scheduled-task hypothesis in stage 2:
Population: 212 production Windows servers (inventory export, 2026-11-20)
Window: 30 days
4698: reporting from 187 of 212 (88%). 25 servers in one site lack the audit policy.
Process 1: reporting from 212 of 212. 3-day hole on 11 hosts (forwarder outage).
Retention: 90 days searchable.
Fields: task action present inside the 4698 XML, not extracted. Parser needed.
Fidelity: test task found on a lab server within 4 minutes.
Verdict: Partial. Result will not cover the 25 servers; that gap goes to the platform team.An honest result then reads "no matching tasks on 187 of 212 servers in these 30 days", not "no persistence".
Scoring more than one source#
If you hunt often, keep a small register: source, owner, coverage, retention, key fields, date last checked. The open-source project DeTT&CT scores data source quality and visibility against ATT&CK and is worth a look once the register grows. A score is only as good as the checks behind it, and an old check is a guess.
Limits#
Readiness checks show that events arrive and look sensible. They do not show that an attacker could not have disabled or evaded logging. Treat a sudden silence from one host as something to look into, not just a pipeline problem.
Do this#
- Build a telemetry checklist (60 minutes). For your best hypothesis from stage 2, list each behaviour, the event that would record it, the fields you need and who owns the source.
- Run the six checks (3 hours). Use a lab SIEM, or the public training data below. A good result is a table with a number or a "could not test" for every cell.
- Prove fidelity (60 minutes). On a machine you own, create and delete a harmless scheduled task, then find both actions. Note the delay and any field that surprised you.
- Write the verdict (30 minutes). Add it to the "Data readiness" line of your hunt card, with the exact limits you would quote in a report.
Resources#
Free first
- Sysmon - every event type Sysmon can write and how its configuration filters them.
- Command line process auditing - how to get command lines into event 4688.
- DeTT&CT - scoring data quality and visibility against ATT&CK.
- Security Datasets - recorded attack telemetry for practice. Not updated since early 2024, so field layouts may differ from yours.
- Introduction to logging for security purposes - the UK NCSC's plain guide to what to collect and how long to keep it.
Paid or needs an account
- None needed for this stage.
Checkpoint#
You are ready to move on when you can:
Go deeper (optional)#
- Detection Engineering stage 8 turns one-off checks into continuous monitoring of silent sources.