Research Library · Idea
Pyramid of Pain
The Pyramid of Pain is a diagram by David Bianco that ranks the kinds of indicator a defender can use to detect an adversary by how much it hurts the adversary when the defender can deny them. Bianco published it on his Enterprise Detection & Response blog on 1 March 2013 and updated the post on 17 January 2014 to add a level for hash values 1. He wrote it after Mandiant's APT1 report, arguing that almost no one was using the published indicators effectively: the point of detecting an indicator is to respond to it, and once a defender can respond quickly enough, the adversary loses the use of that indicator 1.
From the wide base to the apex, the six levels are hash values, IP addresses, domain names, network and host artifacts, tools, and tactics, techniques and procedures (TTPs) 1. Bianco's reasoning for each is as follows.
Hash values identify specific files accurately, but changing even one bit of a file gives an unrelated hash, so they are trivially easy for an adversary to change. IP addresses are the most fundamental indicator, and a reasonably advanced adversary can change them with little effort, for example through an anonymising proxy service. Domain names are slightly harder to change because they must be registered, paid for and hosted, though Bianco notes many providers have lax registration standards 1.
Network and host artifacts, which are observables that tend to distinguish malicious activity from legitimate use, such as a distinctive HTTP User-Agent string or a registry key created by specific malware, are where he says a defender starts to have a negative impact: the adversary has to go back and reconfigure or recompile tools. Tools are the software an adversary brings, and denying them forces the adversary to find, create and learn a replacement, which costs real time. TTPs describe how the adversary works from reconnaissance to exfiltration. If a defender can detect and respond to those quickly enough, the adversary must learn new behaviours, and Bianco says that carried to its extreme it leaves the adversary two options: give up or reinvent itself from scratch 1.
Bianco also notes that fuzzy hashes, such as those from ssdeep, are still hash values but fit better at the tools level because they resist change 1. The pyramid is a reasoning aid from a practitioner's blog and an argument about adversary cost, not a measurement. Its claim is conditional on the defender being able to detect and respond at that level quickly enough 1.
Source · The Pyramid of Pain (opens in a new tab) · David J. Bianco, Enterprise Detection & Response
References
Research articles
- Who is the attacker? A reader in adversary and threat models, from Anderson's penetrators and Dolev-Yao to the kill chain · Cybersecurity foundations
- MITRE ATT&CK: what the matrix measures, and what it does not · Security operations & threat intelligence
See what connects to it on the map of ideas →

SecSIG