Threat intel & hunting
IOCs vs TTPs, proactive hunting hypotheses, and the pyramid of pain. Shows you think beyond waiting for alerts.
The mental model
Threat intelligence and hunting are the difference between checking your door against a specific stolen key versus learning how burglars in your neighbourhood actually operate. A stolen-key list — "block these hashes, these IPs, these domains" — is indicators of compromise (IOCs). Knowing that burglars in your area case houses for a week, enter through unlocked first-floor windows, and always take jewellery first — that is tactics, techniques, and procedures (TTPs). One is a lookup; the other is understanding.
The analogy that sticks: IOCs are fingerprints at a specific crime scene; TTPs are the modus operandi. Fingerprints catch *that* burglar on *that* job — swap the gloves and they are useless. The MO describes how a whole class of burglar works, so you can defend against ones you have never seen. This is why the field relies on a widely used model, the Pyramid of Pain (David Bianco): the higher up the pyramid an indicator sits, the more it costs the attacker to change it when you detect on it. A hash is free to change (recompile). An IP is cheap (new server). A behavior — "PowerShell spawned from Word, then reaching out over DNS" — is expensive, because it is baked into how the attacker actually operates.
The one idea that reframes a beginner: hunting is not waiting for an alert. An alert means a rule you wrote in the past fired. A hunt is a hypothesis about an attacker technique that no rule covers yet — "if an attacker were living off the land with WMI, what would I see?" — that you go looking for proactively, in data, assuming you are already breached. Detection finds the attacks you predicted. Hunting finds the ones you did not.
- Deep dive
- Internal architecture
- Real-world use cases
- Best practices
- Common mistakes
- Performance
- Security
- Production troubleshooting
- Advantages & disadvantages
- Alternatives
- Interview expectations
- Interview questions
- Facts to remember
- Cheat sheet
- Quick revision