Prerequisites
- Target system, dependencies and environment configured.
Usage
Purpose
Not all indicators are equal. Blocking a hash stops exactly one file; the attacker recompiles in seconds and you're back to zero. Detecting their behaviour forces them to change how they operate, which is expensive and slow. The Pyramid of Pain is the model for this — it ranks indicator types by how much pain it causes the adversary when you deny them. This skill covers using it to prioritise where intelligence and detection effort goes.
When to use it
When you're deciding what to do with threat intel — which indicators to block, what detections to build, how to value a feed. It reframes "we have 10,000 IOCs" into "which of these actually cost the attacker anything".
The pyramid, bottom to top
Effort to detect rises as you climb — and so does the pain you inflict.
- Hash values (bottom) — trivial for the attacker to change. Recompile, repack, and the hash is new. Blocking hashes catches only the exact known sample. Lowest pain.
- IP addresses — easy to change. Attackers rotate through hosting and proxies cheaply. Blocking IPs is a minor, temporary inconvenience.
- Domain names — a bit harder; they cost money and time to register and set up, but still disposable.
- Network / host artifacts — patterns in how their tools talk or what they leave on disk (user-agents, URI patterns, registry keys). Now the attacker has to modify tooling to evade you. Real friction begins here.
- Tools — the actual utilities they use. Denying these forces them to find or build new tooling. Significant pain.
- TTPs (top) — their tactics, techniques, and procedures — how they operate. Detect at this level and the attacker has to relearn their craft to get past you. Maximum pain, and the most durable detection.
Procedure
- Classify each indicator by its level on the pyramid. A feed dump of hashes and IPs is bottom-tier; a report describing an actor's lateral-movement technique is top-tier.
- Weight your response by level. Block the low-tier indicators (cheap to action, cheap for them to change — still worth doing at scale and speed), but invest your detection engineering effort higher up.
- Push detections upward. For a given threat, ask: can I detect the behaviour rather than the artifact? A rule for "credential dumping via LSASS access" outlives any hash or IP the actor uses.
- Value intel by where it sits. A report that gives you TTPs is worth more than one that gives you a hash list, because the coverage it enables is durable. Prioritise sources accordingly.
- Accept the trade-off. High-tier detection is harder to build and tune (more false positives, needs richer telemetry) — that cost is the reason it's rare, and the reason it's valuable. Balance quick low-tier wins against durable high-tier investment.
Cheatsheet
PYRAMID OF PAIN pain to attacker your effort
TTPs ^^^^^ maximum highest (behaviour rules)
Tools ^^^^ high
Network/Host Artifacts ^^^ medium
Domain Names ^^ low-medium
IP Addresses ^ low
Hash Values . minimal trivial
action guide
low tier (hash/IP/domain): block fast, block at scale — but expect churn
high tier (artifacts/tools/TTPs): build detections here — durable coverage
value a feed/report by the highest tier it lets you act on
Reading intel through the pyramid
- A feed of pure hashes/IPs is useful for fast blocking but gives no lasting coverage — value it as perishable, and don't mistake volume for value.
- A report describing an actor's TTPs (how they gain access, move, persist) is high-value — it enables detections the actor can't cheaply evade. Prioritise extracting these.
- Your detection set skewed to the bottom of the pyramid signals fragile coverage — you catch known samples and miss the actor the moment they change a byte. A healthy programme has weight up top.
- A behaviour-based detection you already have means an actor switching tools/infra still trips it — that's the durability the pyramid is pointing you toward.
Applying it (the "fix" / practice)
- Automate the bottom tier: ingest and block hashes/IPs/domains at machine speed, but treat them as disposable coverage.
- Invest human effort at the top: turn TTP-level intel into behavioural detections (Sigma rules mapped to ATT&CK) — this is where analyst time pays off longest.
- Map intel to ATT&CK so TTPs become trackable coverage, not prose in a report.
- Measure your pyramid balance: if nearly all detections are hash/IP based, that's a strategic gap to close, not a healthy program.
Pitfalls
- Equating IOC count with security. Ten thousand hashes is ten thousand things an attacker changes for free. Volume at the bottom isn't coverage.
- Only blocking, never detecting behaviour. Bottom-tier blocking alone means you're always one recompile behind.
- Ignoring the bottom entirely. The top tier is durable but harder; fast low-tier blocking still buys real time and is cheap. Do both, weighted right.
- Not mapping to ATT&CK. TTP intel that stays as unstructured text can't drive detection coverage.
References
- David J. Bianco — The Pyramid of Pain
- MITRE ATT&CK (TTP framework)
- FIRST and SANS threat intelligence guidance
Inputs
- Relevant source code, logs, network traces, or system specifications.
Outputs
- Analysis findings, security audit report, or generated code artifacts.
1---2name: the-pyramid-of-pain3description: Use when deciding which indicators to prioritise — a model for valuing intelligence by how much it costs the attacker to change, so you invest in detections that actually hurt them.4---5678## Prerequisites9- Target system, dependencies and environment configured.1011## Usage12### Purpose1314Not all indicators are equal. Blocking a hash stops exactly one file; the attacker recompiles in seconds and you're back to zero. Detecting their *behaviour* forces them to change how they operate, which is expensive and slow. The Pyramid of Pain is the model for this — it ranks indicator types by how much pain it causes the adversary when you deny them. This skill covers using it to prioritise where intelligence and detection effort goes.1516### When to use it1718When you're deciding what to do with threat intel — which indicators to block, what detections to build, how to value a feed. It reframes "we have 10,000 IOCs" into "which of these actually cost the attacker anything".1920### The pyramid, bottom to top2122Effort to detect rises as you climb — and so does the pain you inflict.2324- **Hash values** (bottom) — trivial for the attacker to change. Recompile, repack, and the hash is new. Blocking hashes catches only the exact known sample. Lowest pain.25- **IP addresses** — easy to change. Attackers rotate through hosting and proxies cheaply. Blocking IPs is a minor, temporary inconvenience.26- **Domain names** — a bit harder; they cost money and time to register and set up, but still disposable.27- **Network / host artifacts** — patterns in how their tools talk or what they leave on disk (user-agents, URI patterns, registry keys). Now the attacker has to modify tooling to evade you. Real friction begins here.28- **Tools** — the actual utilities they use. Denying these forces them to find or build new tooling. Significant pain.29- **TTPs** (top) — their tactics, techniques, and procedures — *how* they operate. Detect at this level and the attacker has to relearn their craft to get past you. Maximum pain, and the most durable detection.3031### Procedure32331. **Classify each indicator** by its level on the pyramid. A feed dump of hashes and IPs is bottom-tier; a report describing an actor's lateral-movement technique is top-tier.342. **Weight your response by level.** Block the low-tier indicators (cheap to action, cheap for them to change — still worth doing at scale and speed), but invest your *detection engineering* effort higher up.353. **Push detections upward.** For a given threat, ask: can I detect the behaviour rather than the artifact? A rule for "credential dumping via LSASS access" outlives any hash or IP the actor uses.364. **Value intel by where it sits.** A report that gives you TTPs is worth more than one that gives you a hash list, because the coverage it enables is durable. Prioritise sources accordingly.375. **Accept the trade-off.** High-tier detection is harder to build and tune (more false positives, needs richer telemetry) — that cost is the reason it's rare, and the reason it's valuable. Balance quick low-tier wins against durable high-tier investment.3839### Cheatsheet4041```42PYRAMID OF PAIN pain to attacker your effort43 TTPs ^^^^^ maximum highest (behaviour rules)44 Tools ^^^^ high45 Network/Host Artifacts ^^^ medium46 Domain Names ^^ low-medium47 IP Addresses ^ low48 Hash Values . minimal trivial4950action guide51 low tier (hash/IP/domain): block fast, block at scale — but expect churn52 high tier (artifacts/tools/TTPs): build detections here — durable coverage53 value a feed/report by the highest tier it lets you act on54```5556### Reading intel through the pyramid5758- **A feed of pure hashes/IPs** is useful for fast blocking but gives no lasting coverage — value it as perishable, and don't mistake volume for value.59- **A report describing an actor's TTPs** (how they gain access, move, persist) is high-value — it enables detections the actor can't cheaply evade. Prioritise extracting these.60- **Your detection set skewed to the bottom of the pyramid** signals fragile coverage — you catch known samples and miss the actor the moment they change a byte. A healthy programme has weight up top.61- **A behaviour-based detection you already have** means an actor switching tools/infra still trips it — that's the durability the pyramid is pointing you toward.6263### Applying it (the "fix" / practice)6465- **Automate the bottom tier**: ingest and block hashes/IPs/domains at machine speed, but treat them as disposable coverage.66- **Invest human effort at the top**: turn TTP-level intel into behavioural detections (Sigma rules mapped to ATT&CK) — this is where analyst time pays off longest.67- **Map intel to ATT&CK** so TTPs become trackable coverage, not prose in a report.68- **Measure your pyramid balance**: if nearly all detections are hash/IP based, that's a strategic gap to close, not a healthy program.6970### Pitfalls7172- **Equating IOC count with security.** Ten thousand hashes is ten thousand things an attacker changes for free. Volume at the bottom isn't coverage.73- **Only blocking, never detecting behaviour.** Bottom-tier blocking alone means you're always one recompile behind.74- **Ignoring the bottom entirely.** The top tier is durable but harder; fast low-tier blocking still buys real time and is cheap. Do both, weighted right.75- **Not mapping to ATT&CK.** TTP intel that stays as unstructured text can't drive detection coverage.7677### References7879- David J. Bianco — The Pyramid of Pain80- MITRE ATT&CK (TTP framework)81- FIRST and SANS threat intelligence guidance8283## Inputs84- Relevant source code, logs, network traces, or system specifications.8586## Outputs87- Analysis findings, security audit report, or generated code artifacts.