Threat Hunting Techniques: A Practical Guide for SOC Analysts

Threat hunting techniques: a radar-style graphic with highlighted leads

Threat hunting techniques sound more mysterious than they are. Strip away the jargon and hunting is a simple idea: you go looking for an attacker your alerts haven’t caught, using what you know about how attackers behave. The hard part isn’t the concept. It’s doing it in a way that’s repeatable, that produces something useful even when you find nothing, and that doesn’t swallow a week of an analyst’s time.

I’ve spent a lot of time in Microsoft Sentinel and Splunk writing and tuning detections, and hunting is where the best detections usually come from. This post covers the techniques I’d teach someone new to hunting, a couple of example queries, and how to turn a hunt into something that keeps working after you’ve moved on.

Threat hunting techniques: what hunting is, and isn’t

Hunting is proactive and human-led. Detection rules watch for known-bad patterns all day without getting tired. A hunt asks a question the rules weren’t built to answer: “if an attacker had done X in our environment, what would the logs show, and does it?”

It isn’t a replacement for detection. It isn’t reading alerts faster. And it isn’t magic that works without data. If the logs you need aren’t being collected or retained, no technique will rescue the hunt, so the first job is always checking you have the telemetry.

Threat hunting techniques used by SOC teams to find attackers alerts missed

A way to structure hunts

Splunk’s SURGe team published the PEAK threat hunting framework, which I find a practical way to organise the work. PEAK stands for Prepare, Execute and Act with Knowledge. Every hunt goes through those three stages: you plan it, you run it, then you document what you learned and turn it into something durable. It also defines three types of hunt, and they map neatly onto the techniques below.

For a sense of where your team sits, David Bianco’s Hunting Maturity Model is useful. It rates a team from HMM0 (relies on alerts, little routine data collection) up to HMM4, where successful hunts get turned into automated detections, which frees analysts to develop new ones. His original write-up is short and worth reading. Most teams are further down the scale than they’d like to admit, and that’s fine. It tells you what to do next.

Technique 1: hypothesis-driven hunting

This is the classic approach. You start with a supposition about what an attacker might be doing, then use data to confirm or rule it out. MITRE ATT&CK is the best source of ideas, because it catalogues what adversaries really do, organised by tactic and technique.

A good hypothesis is specific and testable. “Someone might be using PowerShell maliciously” is too vague to hunt. “An attacker who phished a user could launch PowerShell from an Office application to download a payload” is something you can query for. In Sentinel, with Defender data connected, a first pass might look like this (table and column names vary with your connectors):

DeviceProcessEvents
| where TimeGenerated > ago(14d)
| where InitiatingProcessFileName in~ ("winword.exe", "excel.exe", "outlook.exe")
| where FileName in~ ("powershell.exe", "cmd.exe", "wscript.exe", "mshta.exe")
| project TimeGenerated, DeviceName, AccountName, InitiatingProcessFileName, FileName, ProcessCommandLine

Expect noise on the first run. Some of it will be legitimate automation, and sorting that out is the point: each exclusion you justify and document makes the next hunt, and the eventual detection, sharper.

Technique 2: baselining and stacking

This is the hunt I’d start a new analyst on, because it needs no threat intelligence and teaches you your own environment. In a baseline hunt, you establish what’s normal for a data source and then look at the deviations. PEAK’s guidance is that 30 to 90 days of data is enough for most sources, though slow activity like low-and-slow login failures may need a longer window.

The simplest version is “least frequency of occurrence”, sometimes called stacking: count how often each value appears and look hard at the rare ones. Rare parent-child process pairs, rare scheduled tasks, rare user agents, sign-ins from countries you’ve never seen. Attackers usually need to do something unusual, and unusual stands out when you count.

DeviceProcessEvents
| where TimeGenerated > ago(30d)
| summarize executions = count(), devices = dcount(DeviceName) by FileName
| where devices <= 2
| order by executions asc

Here the useful bit is rarely the query. It’s the habit of asking “is this expected?” for every row, and writing down the answer.

Technique 3: intelligence-driven hunting

Here you start from outside: a threat report, an advisory, or an indicator from your sector. You translate it into things you can search for. Indicators like IP addresses and file hashes are quick to check, but they go stale fast, so I’d put more weight on behaviours, the techniques an actor uses, which are much harder for them to change. The ASD’s cyber threat reports and advisories from the ACSC are a good local starting point, because they describe what’s being seen against Australian organisations.

Technique 4: model-assisted hunting

Sometimes searching, filtering and stacking aren’t enough, especially with huge volumes of data. PEAK’s model-assisted threat hunting (M-ATH) applies data science methods such as clustering, classification and anomaly detection to surface leads. It’s a good fit when simpler methods aren’t accurate enough, or when the data is too big to summarise by hand. Splunk’s guidance is to try established methods first, because models cost more to build, maintain and interpret, and analyst time is scarce. I agree with that. Reach for machine learning once the basics have run out of road, not before.

Running hunts in Sentinel

If you’re still choosing a platform, I compare the two in Splunk vs Microsoft Sentinel 2026. Sentinel itself has built-in hunting features: you can run queries from Content Hub or write your own in KQL, then bookmark suspicious results with notes, tags and entity mappings so they can be pulled into an incident. Note that livestream hunts are no longer available, so for ongoing monitoring of a query, use scheduled analytics rules, KQL jobs or playbooks. The workflow I’d follow is straightforward: run the hunt, bookmark anything interesting, and promote a repeatable result into an analytics rule.

Make the hunt count

A hunt that finds nothing isn’t a failure. It tells you that, for the data you have and the hypothesis you tested, you saw no evidence. The failure is not writing it down. For every hunt I’d record the hypothesis, the data sources and time range, the queries, what you found and what you excluded and why, and what you’d change next time. That’s the Act stage in PEAK, and it’s what lifts a team up the maturity model.

Then convert what works. If a hunt turns up a pattern you’d want to know about again, turn the query into a scheduled detection, tune it so it doesn’t flood the queue, and add it to your incident response playbook so the next analyst knows what to do when it fires. This is also why I care about reducing false positives: a detection nobody trusts doesn’t get used.

Where to start

If you’re new to this, pick one data source you know well, such as sign-in logs. Baseline it for a few weeks, stack the rare values, and write down what you find. Then pick one ATT&CK technique relevant to your environment and write a hypothesis for it. Two hunts, properly documented, will teach you more than a dozen half-finished ones.

Hunting rewards curiosity, a good grip on logs and good note-keeping more than any particular tool. If you’d like to compare notes on building a hunting practice, get in touch or find me on LinkedIn.

References