What it means
Threat hunting is a proactive search for attacker activity that existing alerts have not caught. Triage starts from an alert. A hunt starts from a hypothesis: a statement about a behavior, a place, a time window, and the data that would show it. The hunter then tests the hypothesis against that data.
A useful hypothesis can be proved wrong. Matches are leads, and each one needs a question that settles it. A hunt records an answer: the hypothesis is closed, or a match goes to incident response. A query worth keeping also becomes a new detection. If the data cannot answer the question, the hunt has found a telemetry gap. Splunk's PEAK framework names hypothesis-driven, baseline, and model-assisted hunts. Searching a list of indicators is useful, but it is not a hunt.
See the idea / Detection
A hunt tests a hypothesis and ends in a recorded result.
State a hypothesis no alert could have tested. Then settle each match with a question and record how the hunt ends.
Meridian's rules for one group's behaviors could only see events from Wednesday onward. On Friday, Nyx, the threat hunter, asks whether a scheduled task was planted earlier. The SIEM's process events start on Wednesday, so she uses the endpoint management tool's daily task inventory, which covers 90 days on all 38 ground-station hosts.
01 / 04
Hypothesis
Nyx states it: a task on a ground-station host runs a program from a user-writable folder. It names a behavior, a place, 90 days, and data that covers them.
More about this step
A user-writable folder is one any signed-in user can change. The hypothesis can be proved wrong: if no task matches, the hunt has its answer. A hunt that tested the report's addresses instead would test indicators, not a behavior.
Step through at your own pace.
Keep in mindOne hypothesis and three matches. A clean result does not prove the group was never there. A task created and deleted within one day would not appear in a daily inventory. The finding about the old script is recorded beside the result.
Read the visual, step by step
- Hypothesis. Nyx states it: a task on a ground-station host runs a program from a user-writable folder. It names a behavior, a place, 90 days, and data that covers them. A user-writable folder is one any signed-in user can change. The hypothesis can be proved wrong: if no task matches, the hunt has its answer. A hunt that tested the report's addresses instead would test indicators, not a behavior.
- Two matches. The query returns three matches. Two are one task on two hosts: the antenna vendor's firmware checker. The vendor documents it, and the file matches its signed release. A match is a lead, not a finding. The questions that settled these two: does a documented, signed source explain them, and can an ordinary user change the folder? The vendor documents the task, the file matches its signed release, and the installer limits the folder to administrators.
- Third match. The third is an old cleanup script, unchanged for 90 days, with no sign of an intruder. It holds a service account password in a folder any user can change. Two questions settle it. Is it the group's work? No. Is it safe as it is? Also no, because anyone who can sign in could edit a script that runs with that password. It becomes a finding for the infrastructure engineer, not an incident.
- Result. Every match is explained, so the hypothesis is closed. The query is worth running daily, so it becomes a rule, and the script goes to its owner. A hunt records an answer: the hypothesis is closed, or a match goes to incident response. A query worth keeping also becomes a new detection, as this one did. Had the data not covered the 90 days, the result would have been a telemetry gap, with the hypothesis left open.
One hypothesis and three matches. A clean result does not prove the group was never there. A task created and deleted within one day would not appear in a daily inventory. The finding about the old script is recorded beside the result.
Flow references: Splunk SURGe: Introducing the PEAK Threat Hunting Framework · MITRE ATT&CK: T1053.005 Scheduled Task
AN ILLUSTRATIVE SCENARIO
A university hunts for mail rules
A university's security team reads a report that attackers who steal staff mail accounts often add a rule forwarding mail outside the university. Their hypothesis: in the last 60 days, a staff mailbox gained a rule that forwards to an outside address. The mail platform's audit log covers the window. It returns 14 rules. Twelve forward to staff members' own personal accounts, which breaks policy but is not an attack. Two forward to strangers, and those accounts go to incident response.
Put it to work
- Write each hypothesis with a behavior, a place, a time window, and a data source, and check first that the data covers the whole window.
- Treat every match as a lead. Write down the question that settled it and the answer.
- Record the answer, and turn any query worth running every day into a tested detection rule.
How to check your work
Before running a hunt, confirm the data source covers the full time window and every host in scope. Afterwards, check that the hunt has a written result, an owner for each finding, and a rule for any query worth keeping.
Connect the ideas
- Threat intelligence
Threat information that has been analyzed or enriched so that it answers a question someone asked and supports a decision. A feed of addresses is information until someone asks what it changes.
- Indicator of compromise
An observable such as an address, hash, or account pattern that may indicate a compromise, with limited shelf life.
- Triage
A short, time-boxed judgment of severity, uncertainty, and next action when an alert arrives.
- Incident
An event or set of events that actually or potentially causes a security loss requiring coordinated handling.