☼
⌃
☰

Pyramid of Pain

Table of Contents

Pyramid of Pain

The Pyramid of Pain, developed by David Bianco, is a model used in Threat Intelligence to represent the relationship between the types of Indicators Of compromise (IOCs) and the adversary's level of effort required to change them. As you move up the pyramid, the IOCs become more valuable and harder for attackers to modify.

Components of the Pyramid

The pyramid is structured in six levels, from the least to the most painful for an adversary to change:

1. Hash Values

  • Description: Cryptographic hashes (e.g., MD5, SHA-256) of known malicious files.
  • Pain for Adversary: Very low. Attackers can easily change a single byte in a file to generate a completely different hash.
  • Detection Value: Low. Useful for identifying specific, known malware samples but not effective against even slight variations.

2. IP Addresses

  • Description: Numerical labels assigned to devices participating in a computer network.
  • Pain for Adversary: Low to Medium. While changing an IP Address is relatively straightforward, it might involve acquiring new infrastructure, which takes some effort.
  • Detection Value: Medium. Blocking known malicious IP addresses can be effective in the short term, but attackers can easily switch to new ones.

3. Domain Names

  • Description: Human-readable names associated with IP addresses.
  • Pain for Adversary: Medium. Registering new domains requires some time and cost. Reputation can also be tied to specific domains.
  • Detection Value: Medium. Blocking malicious domains can disrupt attacks, but attackers can register new ones.

4. Network/Host Artifacts

  • Description: Observable characteristics of network traffic (e.g., specific User-Agent strings, unusual port usage) or host systems (e.g., registry keys, file names, service names).
  • Pain for Adversary: Medium to High. Changing these artifacts requires more planning and modification of their tools and techniques.
  • Detection Value: High. These indicators provide more context about the attack and are harder to change without significantly altering the operation.

5. Tools

  • Description: Specific software or scripts used by attackers (e.g., Metasploit, Cobalt Strike, custom malware families).
  • Pain for Adversary: High. Developing and deploying new tools is a significant investment of time and resources.
  • Detection Value: Very High. Identifying the tools being used can provide valuable insights into the attacker's capabilities and intentions.

6. Tactics, Techniques, and Procedures (TTPs)

  • Description: The high-level behaviors, methods, and processes used by threat actors to achieve their objectives (e.g., phishing for initial access, lateral movement using specific protocols).
  • Pain for Adversary: Very High. Changing Tactics, Techniques, and Procedures requires a fundamental shift in the attacker's operational methodology, which is time-consuming and difficult.
  • Detection Value: Highest. Understanding and detecting TTPs allows for proactive defense against entire classes of attacks, regardless of specific tools or infrastructure.

Use Cases

The Pyramid of Pain is a valuable model for various security activities:

  • Threat Intelligence Analysis: Helps prioritize the collection and analysis of more valuable indicators (higher up the pyramid).
  • Detection Strategy Development: Guides the creation of more resilient and long-lasting detection rules based on harder-to-change indicators.
  • Incident Response: Informs the investigation process by focusing on identifying the attacker's tools and TTPs for better understanding and remediation.
  • Security Awareness: Can be used to explain the different types of threats and the importance of focusing on behavioral detection.
  • Communication: Provides a common language for security teams to discuss the value and persistence of different types of indicators.