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?
Keep reading
Related articles from the SudoSecurity blog.
Immich Had Fourteen Advisories and One Bug It Fixed Three Times
Immich's 2026 security record runs to fourteen advisories, and they cluster hard: the sharing features, the OAuth plumbing, and one login redirect parameter that took three separate fixes across eighty-three days. Plus the 3.0 migration traps still waiting for anyone who hasn't jumped yet.
Jellyfin's Threat Model Is Your Brother-in-Law
Four Jellyfin CVEs landed in 2026 and not one of them needs an admin account. One needs only the ability to name a file. Meanwhile Jellyfin 12 shipped in September, the version numbers stopped starting with 10, and every "am I patched" check you wrote is now wrong.
Node.js Fixed 16 Flaws in One Release. Most of Them Live in HTTP/2 and TLS.
The November 11 Node.js security releases fix 16 CVEs across the 26, 24 and 22 lines, seven of them rated high. Nearly all sit in HTTP/2 and TLS, where a remote client can crash a server, leak memory, or get past per-host client-certificate checks.
Next.js Shipped Seven Advisories and Six of Them Are the Cache
The November 2026 Next.js security release patches seven issues, and six live in the new Cache Components layer, the feature meant to make your app faster by remembering more. Three hit self-hosted next start specifically: the ones Vercel's own platform quietly absorbs.