Blog

A clean hunt is evidence, if you record it right

· MetisGrid

Most threat hunts do not find an intruder. A hunter writes a hypothesis, checks the data, and concludes that the behavior is not there. In many teams that hunt then ends with two words in a chat message: nothing found.

That is a waste of the most common thing a hunting program produces. A clean result, recorded properly, is a factual statement about your environment at a point in time. It is evidence that somebody looked, and of exactly where they looked. Recorded badly, it is a memory, and nobody outside the team can rely on it.

This post covers what to write down, how to tell a clean result from an empty one, and what a clean hunt does not show.

What a clean result states

The hunter looked for a specific behavior, across a stated scope, with data that could have shown it, and did not find it. Record that with the same care as a finding. A clean result states four things.

A clean result states four things: what was looked for, where and when, how, and what could not be seen. It is evidence that a control ran over a stated scope. It is not proof that no attacker is present.

  1. What was looked for: the hypothesis.
  2. Where and when: the systems, accounts and time window covered.
  3. How: the queries run, and confirmation that the data needed was present and complete for that window.
  4. What could not be seen: the limits.

Compare two records of the same hunt.

"Checked for service account misuse on the finance servers. Nothing found."

"Hypothesis: an attacker is using a service account with broad access to sign in interactively. Scope: the 22 finance servers, all service accounts, the 30 days to November 30. Sign-in records were present for all 22 servers for the whole window. Result: 14 interactive sign-ins, all traced to one named administrator and matching change records. No sign of attacker use. Limits: sign-in records only. Endpoint process data was not examined, and is not collected for six of the servers. Nothing before the 30-day window was examined."

The second takes five minutes longer. It can be checked, repeated and shown. The first cannot.

Clean or empty?

The third of those four statements, how, is the one that matters most, and the one most often skipped.

A query that returns nothing because the activity is absent, and a query that returns nothing because the logs were never collected, look identical on the screen. Both come back with zero rows. Only one of them means anything.

So before recording a result as clean, confirm that the data was there. Did the source report for the whole window? Did all the systems in scope report, or only some? Does the record include the field the query depends on? A simple count of records per system per day is usually enough to answer this, and it takes minutes.

If the data was not there, the hunt did not come back clean. It came back with a different outcome: a data gap. Record what was needed, what was missing, which hunt it blocked and who owns the source. That is a real result too, and often a more useful one, because it names something the organization cannot currently see.

The same honesty applies to partial coverage. "No evidence found on the 70 percent of servers that report" is honest. "No evidence found" is not.

What it does not show

Be exact about the limits of the claim.

A clean result is not proof that no attacker is present. It shows that one behavior was not found in one scope during one window with the data available. An attacker using a different technique, on a system outside the scope, or before the data begins, would not appear.

This matters most when the result travels upward. A clean hunt summarized as "we checked and we are clean" has turned a narrow, true statement into a broad, unsupported one. The accurate statement is narrower: "We searched these sources for this behavior over these 30 days and found no sign of it." It is still worth making. "We are not compromised" is not something any hunt can show.

Hunting does not guarantee that you will find an intruder, or that none is present. Done well, it improves your chances of noticing sooner. A manager who promises more than that will be held to it.

Why it counts as evidence

If your organization has to show that it actively looks for threats, to an auditor, a customer or a regulator, clean hunts are most of what you have to show.

Auditors generally ask two questions of any control. Is it designed so that, performed as described by a competent person, it would meet its objective? And did it actually operate that way over the period? Auditing standards for financial reporting draw this line between design and operating effectiveness, and they rank the ways of testing it: asking people is the weakest evidence, and inspecting records or re-performing the work is stronger. Security audits commonly follow similar logic, even where the standard differs.

A clean hunt recorded with its scope and limits is something an auditor can inspect. It shows that on a given date, a named person searched a stated scope for a stated threat using a recorded method. Add a second person's review, and it shows that someone checked the work.

For that, the record needs a few things beyond the four statements above:

  • Who and when: named people and dates, taken from the system and not typed in afterward.
  • That it was authorized: who approved the scope, particularly where sensitive data or a client's environment was involved.
  • That it was reviewed: a second person's name and date against the conclusion.
  • That it has not been altered: notes that were added to and not rewritten, and a closed record that stays closed.

Two cautions on wording. First, few frameworks name threat hunting at all. Most require monitoring, detection and log review, and hunting is one way to strengthen and show evidence for those. Second, describe your records as aligned with a control, never as making you compliant with it. Which controls a hunt supports is a judgment for your organization and its auditor, and nothing here is legal or audit advice.

Review the clean ones too

It is tempting to review only the hunts that found something. Review the clean ones as well.

A clean result is the conclusion most easily reached by not looking hard enough, and it is the one outsiders will later rely on. The reviewer checks that the queries cover the stated scope, that the data check was done, that the explanations ruled out are plausible, and that the limits are written down. That review takes a quarter of an hour, and it is what turns one hunter's opinion into a record the team stands behind.

Stop treating a clean hunt as a wasted week

How a manager reacts to a clean result decides what the team does next.

If the program is judged by intruders found, most hunts will look like failures, and hunters will be tempted to inflate what they see. Overstating severity is one of the two mistakes the University of Victoria's 2023 interview report calls common. A manager who sighs at a clean result is paying for that mistake.

Count something else. Of the hunts closed this quarter, how many ended in a named outcome: a detection, a control change, a data gap with an owner, an accepted risk, or a clean result recorded with scope and limits? Then read a sample of the clean ones. If the scope is one line and the limits are blank, the number is inflated, and you have found the next thing to fix.

A clean hunt can also leave more than a record. The hunter has just worked out how to look for a behavior by hand. That method can become a detection, so that the question asked this month is asked automatically from now on. We cover how to choose what that detection looks for in Hunt for behaviors, not indicators.

Going further

How to record a hunt as a case, the five outcomes a hunt can end in, and what an auditor is likely to ask for are all covered in our free book for managers, The Hunting Program. MetisHunter is built around two of these points: the data is checked before the hunt begins, and a hunt cannot close without a named outcome.

Source for the interview finding: CHISEL Group, University of Victoria, "Understanding Threat Hunting Personas: Technical Report", November 2023. Findings are paraphrased here.