Skip to content

Lesson 4 of 14 · 12m

The Hunt Loop

Hypothesis, query, pivot, verdict, artifact — with three permitted exits and a hard timebox to stop motivated reasoning.

A hunt is a loop with exits, not a journey. The loop: hypothesis, telemetry check, query, triage the hits, pivot the survivors, decide, ship an artifact. Then the next hypothesis — which is usually a pivot that refused to close. The frameworks that formalize this — TaHiTI's Initiate/Hunt/Finalize phases, Splunk SURGe's PEAK model (Prepare, Execute, Act with Knowledge) from 2022 — differ in vocabulary and agree on structure. Something goes in, evidence comes out, and the hunt is not done until the artifact exists.

Timeboxing is the load-bearing discipline. A hunt without an exit date does not become thorough — it becomes a permanent backlog item that never ships a detection. Two days is a sane default for a single-hypothesis hunt on familiar telemetry; a day is enough for most pivot-driven questions. The deadline is not arbitrary. It is the mechanism that forces the artifact, because "I ran out of time, here's what the data could and couldn't tell me" is itself a deliverable.

Three exits, no fourth

Every hunt terminates in exactly one of three states.

Confirmed. The evidence chain holds. The hunt hands a scoped finding to incident response — what happened, the chain, the hosts and accounts in scope, the timeframe. The loop's job is done; containment is a different process.

Refuted, but informative. The hypothesis was wrong in a way that taught you something — the query shape is worth keeping as a detection, the stack output exposed a tuning problem in an existing rule, or you now know a coverage gap exists. That becomes a ticket, not a shrug.

Refuted by missing data. The telemetry needed to answer does not exist — no Sysmon on the database tier, no DNS logging from the branch office. That is a collection gap, and it is arguably the most valuable exit of all, because you found it by hunting rather than during an incident.

The fourth exit — "inconclusive, keep digging" — is banned. Inconclusive means your hypothesis was unfalsifiable or your telemetry can't answer it; both are artifacts you can write down and act on.

The failure mode is enthusiasm

The wrong model here is twofold. First: "a null hunt is wasted time." Wrong — the null hunt that documents its queries and data coverage is the institutional memory of your program. Second, and worse: "keep digging until you find something." Motivated reasoning is real and it is patient. After six hours of nothing, a scheduled task an admin forgot about becomes your APT. The loop exists precisely to stop this: falsifiable hypothesis, defined exits, hard timebox. Freund's xz investigation is the loop working at its best — every hop falsified the last explanation and aimed the next: sshd slow → liblzma in the load path → IFUNC hooking → tarball differs from git → backdoor. Each step had a checkable answer and a next question.

What the loop looks like scheduled

A healthy program runs the loop on a visible board, not in an analyst's head. Monday: pick the hypothesis off the backlog — intel-driven, anomaly-driven, or situational in rotation. Midweek: queries and pivots inside the timebox. Friday: verdict, artifact, and the next week's candidate seeded from this week's unresolved pivots. The board keeps three columns — queued, running, done — and the done column is the program's actual output, readable by whoever inherits it.

The artifact

Write it down or it didn't happen. One page per hunt: hypothesis, telemetry queried, pivots taken, verdict, artifacts shipped. The format barely matters; the existence matters enormously. A year of these is a map of what you can and cannot see, which hypotheses were worth the time, and which detections your team actually owns — versus the ones that exist only in a feed you rent.

The loop also has one honest limitation: it finds what your telemetry can see. A hunt over blind data doesn't fail — it succeeds at producing nothing, which is worse, because nothing looks like safety. The telemetry lesson exists precisely because the loop's third exit — refuted by missing data — is the only one that tells you the ground itself is missing.

Was this lesson helpful?

Sign in to rate

Keep reading

Related articles from the SudoSecurity blog.