Free tech learning for everyone, from basics to pro

Security OperationsCyber SecurityIntermediate

Threat hunting: hypothesis-driven searching for hidden attackers

In short: Threat hunting is the proactive search for attackers who have slipped past your automatic detections. A hunter starts from a hypothesis, collects the right data, investigates and records the result. Whether or not a threat is found, a good hunt ends with a new or improved detection rule.

What threat hunting is

Most SOC work is reactive: a rule fires, an analyst investigates. Threat hunting is proactive: an analyst assumes an attacker might already be inside and goes looking for traces that no rule has caught. The idea behind it is simple. No set of detections is complete, and careful attackers deliberately behave in ways that avoid common alerts.

Detection and huntingAlert-driven detectionWaits for a rule to fireFinds known patternsRuns all the timeThreat huntingAnalyst goes lookingFinds what rules missedPlanned, time-boxed hunts
Figure 1. Hunting complements automatic detection rather than replacing it.

Three ways to start a hunt

ApproachStarting pointExample
Hypothesis-drivenA guess about attacker behaviour, often from MITRE ATT&CK"Someone is using scheduled tasks to keep access on servers"
Intelligence-drivenA new threat report with indicators or techniques"A group targeting our sector uses this remote tool; is it here?"
Baseline or anomalyWhat normal looks like, then the outliers"Which accounts logged in at unusual hours this month?"

The hunting loop

The threat hunting loopHypothesiswhat might be hiddenCollectgather the dataInvestigatesearch, pivotConcludefound or notImprovenew detection
Figure 2. Threat hunting is a loop: each hunt either finds something or improves your detections.
  1. Hypothesis: write one clear sentence you can prove or disprove.
  2. Collect: check you have the data, for example process creation logs from EDR or sign-in logs from your identity provider.
  3. Investigate: search, filter and pivot. Look for rare values: a program that runs on only one machine is more interesting than one on every machine.
  4. Conclude: decide whether you found malicious activity, a misconfiguration or nothing. "Nothing" is a valid result if your data was good.
  5. Improve: turn what you learned into a detection, a dashboard or a fix for a data gap.

What makes hunting work

  • Good data: endpoint process data, identity logs, DNS and flow data. If data is missing, the first output of the hunt is a request to collect it.
  • Time: hunting needs protected hours, not just gaps between alerts.
  • Documentation: record the hypothesis, queries, findings and outcome so hunts can be repeated.
  • Stacking and frequency analysis: count how often each value appears across many hosts and review the rarest ones.

Who hunts?

In a large SOC, experienced analysts may hunt full time. In a small team, hunting is usually a scheduled task shared between analysts, so everyone learns what normal activity looks like in your environment. That knowledge is valuable in itself: an analyst who has hunted through a month of sign-in data will triage future identity alerts faster and with more confidence. Managed detection and response providers often offer hunting as part of their service too, but they still need your context on what is normal.

Tip: start small. A single two-hour hunt each fortnight, focused on one ATT&CK technique, builds skill and improves detections steadily. Hunting is detective work on your own systems only, with authorisation.

Real-world example: hunting for unusual admin tools

An analyst at a fictional logistics company reads that criminals often use legitimate remote-support software to keep access. She forms a hypothesis: "a remote access tool not approved by IT is running somewhere". Using EDR data, she lists every remote-access program seen in 30 days and counts hosts per program. The approved tool appears on 900 machines; a different tool appears on two. One is a contractor's laptop with a documented exception. The other is a warehouse PC with no explanation. The incident team investigates, removes the tool and resets the local accounts, and the SOC adds a permanent rule that alerts whenever an unapproved remote-access tool starts.

Practice

How does threat hunting differ from alert triage?
Triage reacts to alerts that rules have already raised; hunting proactively looks for activity that no rule has detected.
Write a hunting hypothesis about stolen credentials.
For example: "An attacker is signing in to staff accounts from countries where we have no staff, outside working hours."
What should a hunt produce if no threat is found?
A record of what was checked, plus improvements such as a new detection rule or a fix for missing data.

Key takeaways

  • Hunting assumes a breach and searches for what rules missed.
  • Hunts start from a hypothesis, intelligence or a baseline.
  • Follow a loop: hypothesis, collect, investigate, conclude, improve.
  • Good data and protected time matter more than fancy tools.
  • Every hunt should leave behind a better detection.
Tracks your learning on this device only. See your progress on the learning paths.

About the author

Mohamed Fayas

Founder of FM TecHub. CCNA certified, with a BTEC HND in Network Engineering, and BEng (Hons) in Computer Networking and Cloud Security. He writes practical, plain-English guides on networking, security and cloud.

More about the author

Original content written by Mohamed Fayas for FM TecHub. © 2026 FM TecHub. You're welcome to share a link to this page; please don't copy the text elsewhere without permission.

Stay up to date by email

New notes, tools and security news from FM TecHub, explained simply. Free.

We only use your email to send these updates. See our privacy policy.