Lesson 2 of 14 · 15m
Hypotheses That Can Be Wrong
Usable hunt hypotheses name the behavior, the evidence it leaves, and the scope — 'find APT29' fails all three.
A hypothesis is a sentence a junior analyst could falsify without asking you a follow-up question. That is the whole test. If the sentence needs a meeting to interpret, it is not a hypothesis — it is a vibe, and vibes do not terminate.
Hunts draw hypotheses from three wells. The first is threat intelligence: a report says an actor uses WMI event subscriptions for persistence, so you hunt Sysmon event IDs 19, 20, and 21 across the fleet. The second is anomaly: something already odd in your own telemetry — the stack-rank tail item nobody explained, the service binary sitting in C:\Users\Public. The third is situational: you know where the crown jewels are. What would an attacker do to get the deploy keys in CI, the database with the billing tables, the domain controller? Sqrrl's hunting model formalized these as intelligence-driven, anomaly-driven, and situational-awareness-driven hypotheses, and the taxonomy still holds because it covers every way a question actually arrives.
Writing one that works
A usable hypothesis has three parts: the behavior, the evidence it leaves, and the scope. Compare:
- Bad: "Check if we have APT29." Falsifiable how? What single observation refutes it?
- Bad: "Show me suspicious processes." There is no field named
suspiciousin any event. - Good: "An attacker moved laterally with WMI in the last 30 days. Targets would show
cmd.exespawned as a child ofWmiPrvSE.exe. Check Sysmon 1 on servers."
The good version names the technique, the artifact (WmiPrvSE.exe → cmd.exe parentage), the data source, and the window. An intern can run it. If it returns zero rows, the hypothesis is refuted and you learned something real — which is why a hypothesis does not have to be right to be worth running. Falsification is a product.
Proof from production
ProxyLogon, March 2021. Microsoft patched four Exchange CVEs — CVE-2021-26855 plus three more — after HAFNIUM used them to drop webshells on internet-facing Exchange servers, and within days every ransomware crew on the planet was doing the same. The hunt hypothesis wrote itself: "if our Exchange server was reachable during the exposure window, webshells would appear as .aspx files under C:\inetpub\wwwroot\aspnet_client created after first exposure." One Get-ChildItem, or one Sysmon 11 query, answered it. A planet-scale vulnerability reduced to an afternoon of evidence.
Log4Shell, December 2021, was the same shape. The question "did any service render a JNDI lookup?" decomposes into two checkable artifacts: the string jndi: in any logged field (grep every text log you have), and outbound LDAP/RMI connections — ports 389, 636, 1099 — from Java processes. Both were queries, not guesses.
From anomaly to hypothesis
The anomaly-driven path deserves a worked example because it's the one people fumble. The stack says msiexec.exe made a network connection on three hosts. That is an observation, not a hypothesis — the conversion adds the falsifiable claim: a malicious MSI or msiexec remote-install is pulling payloads; if true, the child processes of those msiexec instances or the URL in msiexec's command line will identify the installer. Now the query has a target, and both outcomes are productive: a rogue http URL in the command line is a finding; the same internal WSUS path on all three is a documented negative.
The pre-registration rule
Write the hypothesis before you touch the keyboard, and write two exits underneath it: if true, I will… and if false, I will…. This is not ceremony. It is how you stop motivated reasoning — the tendency, after two hours of nothing, to redefine "something" until a normal admin action becomes your finding. Hunts that start with exits defined end with artifacts. Hunts that start with curiosity end with the analyst still digging at midnight, having found three things that felt wrong and proven none.
Keep a log per hunt: hypothesis, evidence expected, data source, timebox, verdict. Two lines per entry is enough — and it is the difference between a hunting program and a hobby.
Cadence is the last practical question. A lone analyst running one well-scoped hunt a week — rotating through intel-driven, anomaly-driven, and situational hypotheses — covers more ground in a quarter than a team that holds an annual "threat hunt week" and produces a slide deck.
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.