knowledge

Overview

Threat hunting is an active, human-led, hypothesis-driven practice that systematically searches network and endpoint data for stealthy threats that evade automated detection systems. Unlike reactive security monitoring, threat hunting turns the posture proactive — hunters actively seek out adversaries rather than waiting for alerts to fire. The principal objective is to substantially reduce dwell time by identifying malicious activity at the earliest stages of the attack lifecycle.

The median time between a security breach and its detection is roughly three weeks. Threat hunting exists to shrink that window.


Terminology

TermDefinition
Dwell TimeThe time between initial compromise and detection — the primary metric threat hunting aims to reduce
AdversaryAny entity — cybercriminal, insider, hacktivist, or state-sponsored operator — that seeks to infiltrate systems and cause harm or gain
APTAdvanced Persistent Threat; a sophisticated, well-resourced threat actor (often nation-state) that maintains long-term, covert access to high-value targets
TTPsTactics, Techniques, and Procedures — describes what an adversary does (tactics), how they do it (techniques), and the step-by-step execution (procedures)
IndicatorA piece of technical data combined with context that points to adversary activity — Data + Context = Indicator
IOCIndicator of Compromise; digital artifacts derived from active or past intrusions — file hashes, IPs, domains, registry keys, suspicious user agents
ThreatA combination of three factors: Intent (the adversary’s motivation), Capability (tools, resources, and funding), and Opportunity (conditions that allow the attack to proceed)
CampaignA collection of related incidents sharing similar TTPs and targeting patterns attributed to the same threat actor or objective
HypothesisAn educated, testable prediction about adversary activity used to direct a hunt
BaselineA documented record of normal behavior in an environment; required to distinguish anomalies from routine activity
CTICyber Threat Intelligence; processed information about threats that enables defenders to anticipate and counter adversary actions
TIPThreat Intelligence Platform; a system for aggregating, analyzing, and sharing threat intelligence across teams or organizations

Core Concepts

Threat Hunting vs Threat Intelligence

Both disciplines are distinct but tightly interconnected:

AspectThreat IntelligenceThreat Hunting
Primary posturePredictiveReactive and proactive
GoalAnticipate adversary moves; understand targets and methodsDetermine if an adversary is present now, or was present and evaded detection
OutputIntelligence reports, IOC feeds, TTP profilesConfirmed findings, new detection rules, updated playbooks
ConsumersExecutives, SOC teams, IR teamsSOC Analysts L3, IR specialists

Threat intelligence informs and feeds hunting operations. A new IOC feed or TTP report should trigger a targeted hunt. Hunting results, in turn, refine and improve intelligence products.


The Threat Hunting Process

PhaseDescription
1 — Setting the StageEstablish prerequisites: SIEM, EDR, IDS in place and functioning; current environment baseline documented; threat landscape understood; high-value assets identified
2 — Formulating HypothesesDevelop testable predictions based on new threat intelligence, tool alerts, or environmental anomalies (e.g., “A lateral movement technique using PsExec is being used on the finance VLAN”)
3 — Designing the HuntDefine scope, tools, data sources, and IOCs to search for; build any custom queries or scripts needed; ensure the hypothesis is testable with available data
4 — Data Gathering and ExaminationExecute the hunt — collect logs, query SIEMs, and examine endpoints; refine hypotheses if initial searches are unproductive
5 — Evaluating FindingsInterpret results; determine if findings confirm adversary presence; document impacted systems, behavior, and blast radius
6 — Mitigating ThreatsIsolate compromised systems, remove malware, patch vulnerabilities, block IOCs in security controls
7 — After the HuntDocument methods and outcomes; update threat intelligence platforms; enhance detection rules; refine playbooks; share findings with relevant teams

Continuous improvement closes the loop — every completed hunt should make the next one faster and more effective.


When to Hunt

Hunting should be initiated under any of the following conditions:

  • New threat intelligence surfaces on an adversary targeting your sector
  • New IOCs are associated with a known threat actor
  • Multiple network anomalies are detected within a short window
  • An incident response engagement is underway (hunting augments the IR investigation)
  • Periodic proactive hunts as part of the security program cadence

Relationship to Incident Response

Threat hunting and incident response are distinct disciplines that frequently operate together. A hunt may trigger an incident; an active incident may prompt a parallel hunting effort.

IR PhaseThreat Hunting Role
PreparationHunting team establishes rules of engagement, courses of action, and tool readiness
Detection & AnalysisHunters augment investigations, validate whether IOCs indicate a real incident, and surface artifacts that automated tools miss
Containment, Eradication, and RecoveryRole depends on organizational policy — hunters may be asked to assist or hand off to IR
Post-Incident ActivityHunters contribute recommendations, refine detection rules, and improve future hunt playbooks

See Incident Response Fundamentals for the full IR lifecycle.


Relationship to Risk Assessment

Risk assessment directly informs hunt prioritization. By identifying the organization’s most critical assets and most likely threat vectors, it guides where hunters focus their efforts.

Risk assessment contributes to threat hunting by:

  • Prioritizing hunting efforts — focus resources on the highest-impact asset classes
  • Understanding the threat landscape — align hunts with threat actors known to target your industry
  • Highlighting vulnerabilities — surface gaps that adversaries are most likely to exploit
  • Informing threat intelligence use — identify which intelligence feeds are most relevant
  • Refining IR plans — ensure hunting findings feed back into updated response procedures

Cyber Threat Intelligence (CTI)

CTI transforms raw data about threats into processed, actionable intelligence. Its primary objective is to shift defense from reactive to anticipatory.

Four Principles of Good Intelligence

PrincipleDescription
RelevanceApplies directly to the organization’s environment and threat profile
TimelinessCommunicated quickly enough to act on — stale intelligence has diminished value
ActionabilityProvides specific, executable guidance the defense team can implement
AccuracyVerified and validated — unverified intelligence can lead to wasted effort or false responses

CTI Categories

Intelligence is classified into three categories, each serving a different audience:

CategoryAudienceFocusAnswers
StrategicExecutives, VPs, leadershipBusiness risk; high-level adversary operations overviewWho and Why
OperationalSOC managers, IR leadsAdversary campaign details; specific targeting patternsHow and Where
TacticalNetwork defenders, SOC analystsImmediate technical IOCs; attack specifics that occurred or are imminentWhat (specific indicators)

The highest value CTI analysts can produce intelligence that spans all three layers, offering both executive-level context and analyst-level actionable detail.

Processing a Tactical Intelligence Report

  1. Comprehend the report’s scope and narrative — understand what threat it covers and what organization or sector it targets
  2. Spot and classify IOCs — categorize by type: hash, IP, domain, registry key, user agent, TTP
  3. Comprehend the attack lifecycle — map the described activity to the Cyber Kill Chain or MITRE ATT&CK Framework
  4. Analyze and validate the IOCs — cross-reference against VirusTotal, threat intel databases, and other reports
  5. Incorporate IOCs into security infrastructure — push to SIEM rules, firewall blocklists, EDR detections
  6. Launch a proactive hunt — use the IOCs and TTPs to hunt for the described activity in your environment
  7. Continuous monitoring and learning — maintain detection rules as the threat evolves

The Diamond Model of Intrusion Analysis

The Diamond Model is a conceptual framework that structures the fundamental components of any cyber intrusion, enabling more systematic threat analysis, detection, and prediction.

Diamond Model of Intrusion Analysis

ComponentDescription
AdversaryThe individual, group, or nation-state responsible for the intrusion — may be initially unknown and identified through attribution
CapabilityThe TTPs the adversary employs — malware, exploit kits, living-off-the-land techniques
InfrastructurePhysical and virtual resources the adversary uses to conduct operations — C2 servers, domains, IP ranges, compromised hosts
VictimThe target of the intrusion — an individual, organization, or system

The core relationship: an adversary uses capabilities via infrastructure to compromise a victim.

The model captures complex relationships between these four nodes and enables:

  • Building a complete picture of a specific threat actor’s operations
  • Correlating multiple intrusions into campaigns
  • Predicting future targets or infrastructure based on known patterns
  • Informing detection strategies by targeting adversary capabilities and infrastructure

Threat Hunting Team Structure

RoleResponsibility
Threat HunterDeep technical specialist who executes hunts; analyzes logs, builds queries, and identifies adversary artifacts
Threat Intelligence AnalystCollects intelligence from feeds, ISACs, dark web monitoring, and vendor reports; understands the current threat landscape and predicts emerging trends
Incident ResponderManages confirmed incidents; leads containment, eradication, and recovery when a hunt escalates
Forensic ExpertConducts disk, memory, and log forensics; produces detailed evidence reports
Data Analyst / ScientistApplies statistical models, ML algorithms, and data mining to large datasets to surface behavioral patterns
Security Engineer / ArchitectDesigns and maintains the security infrastructure the hunting team depends on
Network Security AnalystSpecializes in network traffic and behavior; identifies anomalies in flow data and protocol use
SOC ManagerCoordinates the team, ensures resource availability, and manages communication with leadership

Pyramid of Pain

The Pyramid of Pain defines how much effort an adversary must expend to adapt when a given indicator type is blocked. Detections at the TTP level force fundamental behavioral changes; hash-based detection is trivially defeated.

See Incident Response Fundamentals for the full Pyramid of Pain table.



References / Images