Skip to content

Response, New York. Noah Park: Check Point Patches Actively Exploited Management Server Path Traversal. Detection, Dallas. Ava Okello: Report Finds Nearly Half of Deployed Detections Need Attention Before SOCs Can Trust Them.

SOCtember

Always First. Fast SOC News.

The Pyramid of Pain diagram on David Bianco's Enterprise Detection & Response blog, ranking hash values as trivial, IP addresses as easy, domain names as simple, network and host artifacts as annoying, tools as challenging and TTPs as tough.
Screenshot: Enterprise Detection & Response blog, The Pyramid of Pain, David J. Bianco (fair use).

Threat Intel

Did You Know: Blocking a Malware Hash Is Trivial for an Attacker to Get Around, and the Pyramid of Pain Ranks Every Indicator in a Threat Report by How Much It Costs Them to Change

Most threat reports end with a list of hashes, IP addresses and domains, and most SOC teams load that list and move on. David Bianco's Pyramid of Pain, now the basis of a MITRE research project, ranks those indicators by how easily an attacker can replace them, and the bottom of the list is the cheapest to replace.

Priya Shah, Threat IntelSingapore3 min read

SINGAPORE - A new threat report lands, and the fastest thing a SOC team can do with it is copy the indicator appendix into a blocklist: file hashes, IP addresses, domain names. That work is useful, but it is also the work an attacker can undo most cheaply. David Bianco made the point on his Enterprise Detection & Response blog in March 2013. After watching how defenders applied the indicators in Mandiant's APT1 report, he wrote that "almost no one is using them effectively." To show why, he drew the Pyramid of Pain, which ranks indicator types by how much it hurts an adversary when defenders take them away.

The Hash Values and IP Addresses sections of the Pyramid of Pain post, explaining that any change to a file produces a different hash and that attackers can change IP addresses with very little effort.
Screenshot: Enterprise Detection & Response blog, The Pyramid of Pain, David J. Bianco (fair use).

At the base sit hash values, labeled "Trivial" in the diagram, which Bianco added in a January 2014 revision. Hashes are precise, but flipping a single bit in a file produces a new one. "It is so easy for hash values to change, and there are so many of them around, that in many cases it may not even be worth tracking them," he wrote. IP addresses come next, labeled "Easy," because an attacker can switch them at will: "If you deny the adversary the use of one of their IPs, they can usually recover without even breaking stride." Domain names are labeled "Simple." They must be registered, paid for and hosted, which adds some friction, but not much.

The Tools and Tactics, Techniques and Procedures sections of the Pyramid of Pain post, describing detection of adversary behaviors such as Pass-the-Hash rather than the tools used to carry them out.
Screenshot: Enterprise Detection & Response blog, The Pyramid of Pain, David J. Bianco (fair use).

The cost rises further up. Network and host artifacts, such as a distinctive User-Agent string or a registry value a piece of malware creates, force the attacker to go back and reconfigure or recompile. Detecting tools, including with YARA or antivirus signatures that catch variants, makes the attacker find or build a replacement. At the top are tactics, techniques and procedures, where defenders detect the behavior itself, such as Pass-the-Hash in Windows logs, rather than the tool. Bianco wrote that responding at that level forces attackers to "learn new behaviors."

The Summiting the Pyramid documentation page for Level 1, Ephemeral, listing hash values, attacker-controlled filenames, domain names and IP addresses as observables that are easy for an adversary to change.
Screenshot: Summiting the Pyramid v4.0.0, Level 1: Ephemeral, MITRE Center for Threat-Informed Defense (fair use).

The idea now has a formal successor. The MITRE Center for Threat-Informed Defense runs Summiting the Pyramid, a project that scores detection analytics by how hard they are to evade. Its lowest level, Ephemeral, lists hash values, attacker-controlled filenames, domain names, IP addresses and configurable ports, and describes them this way: "These values are easy for an adversary to change without materially affecting the attack."

The Summiting the Pyramid overview page explaining that an analytic alerting on a hash can be evaded by recompiling a tool with a one-byte difference.
Screenshot: Summiting the Pyramid v4.0.0, Summiting the Pyramid Overview, MITRE Center for Threat-Informed Defense (fair use).

The project's overview gives the hash example directly: "An adversary can easily evade detection by recompiling their tools with a one-byte difference."

For threat intelligence teams, the practical step is triage, not deletion. Low-level indicators still help scope a known intrusion and support retroactive hunts, so load them, but expect them to age quickly. Then read the rest of the report for behavior: command lines, persistence methods, credential access and lateral movement that can become detections. Bianco's test for every new report still works: "Is there anything here I can use to detect the adversary's activity, and where does this fall on the pyramid?"

About the Author

Priya Shah

Priya Shah covers threat intelligence, intrusion analysis, and adversary tradecraft for SOCtember from Singapore.

Related stories

Threat Intel desk