A

Threat Hunting Methodology: From Hypothesis to Hunt

A
Amit Nepal
Security Engineer · Linux & Infrastructure · Offensive Security
·May 14, 2025·1 min read
Blue Team

Threat Hunting Methodology: From Hypothesis to Hunt

May 14, 2025 · 1 min read

Why Reactive Detection Is Not Enough

Every alert you've ever written was written after someone thought of the attack. Threat hunting flips this: you assume compromise, form a hypothesis about attacker behaviour, and go looking for evidence before an alert fires.

The Hunt Cycle

  1. Hypothesis — based on threat intel, CVE, or ATT&CK technique
  2. Data collection — identify what logs/telemetry you need
  3. Analysis — queries, visualisation, statistical baselining
  4. Finding — either new detection rule or confirmation of clean environment
  5. Documentation — every hunt, positive or negative, builds institutional knowledge

A Real Hunt: Kerberoasting

Hypothesis: An attacker with domain user credentials is requesting TGS tickets for service accounts to crack offline.

index=winevent EventCode=4769
  TicketEncryptionType=0x17
  ServiceName!=krbtgt
  ServiceName!="*$"
| stats count by TargetUserName, ServiceName, ClientAddress
| where count > 5

0x17 = RC4 encryption. A flood of RC4 TGS requests is a strong indicator.

Baselining Approach

index=winevent EventCode=4769 TicketEncryptionType=0x17
| timechart span=1d count

Defensive Takeaways

  • Schedule one proactive hunt per month on a different ATT&CK technique
  • Every hunt that finds nothing is still valuable — document what data you used
  • Hunts that surface new attacker behaviour should end with a new detection rule
  • Invest in endpoint telemetry — Sysmon is table stakes for effective hunting
Keep going

Get the next writeup in your inbox

New posts delivered when I publish. No spam.