What is Pyramid of Pain?

The Pyramid of Pain explains whyย behavioralย detection disrupts attackers more effectively than blocking static indicators like hashes or IPs. By focusing on tools, techniques, and tradecraft, organizations can reduce attacker dwell time, improve resilience, and build stronger, long-term cyberย defenses.ย 

The Pyramid of Pain is a cybersecurity model created by David Bianco.ย It explains a simple idea; someย defensesย barely slow attackers down, while others force them to change how they work.ย 

 

The model organizes indicators of compromise into a hierarchy. At the bottom are technical artifacts that are easy toย modify. At the top areย behavioralย patterns that are much harder to replace.ย 

 

Understanding this pyramid helps organizations move beyond surface-level detection toward meaningful adversary disruption.ย 

 

 

 

The Core Idea Behind the Pyramidย 

Every attacker leaves traces. These traces can be grouped intoย different categories, such as file hashes, IP addresses, domain names, tools, or techniques.ย 

 

However, not all traces are equal.ย 

 

  • If a detection forces an attacker to simply swap an IP address, the operational impact is minimal.ย 
  • If a detection forces an attacker to redesign their lateral movement strategy, the impact is significant.ย 

 

The Pyramid of Pain visualizes this difference.ย 

 

The higher the indicator sits on the pyramid, the more effort and cost it imposes on the adversary.ย 

 

 

 

Breaking Down the Pyramidย 

Letโ€™sย examine the layers from bottom to top.ย 

 

 

Hash Values

Hash values are digital fingerprints of files, such as SHA256 or MD5 signatures.ย 

 

They are widely used in antivirus and endpoint detection systems to block known malware.ย 

 

The limitation is straightforward. Changing a single line of code generates a new hash. Attackers can automate this process.ย 

 

Hash-based detection is useful for known threats and quick containment. However, it createsย very littleย long-term disruption.ย 

 

 

 

IP Addresses

IP addresses are often used in threat intelligence feeds andย firewallย policies.ย 

 

Blocking malicious IPs can stop active connections and prevent immediate communication with attacker infrastructure.ย 

 

But IP addresses are disposable. Cloud hosting providers, compromised servers, and proxy networks allow attackers to rotate infrastructure rapidly.ย 

 

The friction created is real but temporary.ย 

 

 

Domain Names

Domains require registration and configuration. Monitoring suspicious domains can expose phishing campaigns or command-and-control activity.ย 

 

Replacing a domain is more involved than changing an IP address, but it is still manageable for most threat actors.ย 

 

Detection at this level introduces moderate operational inconvenience, especially if domains are part of coordinated campaigns.ย 

 

 

Network and Host Artifacts

This is where detection begins to create meaningful pressure.ย 

 

Artifacts include:ย 

 

  • Suspicious registry modificationsย 
  • Abnormal process execution chainsย 
  • Scheduled task creationย 
  • Unique HTTP request patternsย 
  • TLS fingerprint anomaliesย 

 

These signals reflect how malware or intrusion tools behave within systems.ย 

 

To evade detection at this level, attackers mustย modifyย their tooling. That requires development effort and testing. Mistakes become more likely.ย 

 

The cost increases.ย 

 

 

Tools

Attackers rely on tools to achieveย objectives. These may include credential dumping utilities, remote access implants, exploit frameworks, or custom malware families.ย 

 

If defenders consistently detect the use of specific tools, adversaries must:ย 

 

  • Replace trusted frameworksย 
  • Develop new variantsย 
  • Retrain operatorsย 
  • Accept higher operational riskย 

 

Changing tools is far more complex than changing infrastructure.ย 

 

At this level, disruption becomes strategic rather than tactical.ย 

 

 

Tactics, Techniques, and Procedures

At the top of the pyramid areย behaviours.ย 

 

These align with structured frameworks such asย MITRE ATT&CK, which categorizes how adversaries achieveย objectives.ย 

 

Examples include:ย 

 

  • Credential dumpingย 
  • Privilege escalationย 
  • Lateral movementย 
  • Persistence mechanismsย 
  • Data exfiltration workflowsย 

 

Techniquesย representย intent and method, not specificย toolsย or infrastructure.ย 

 

If detection consistentlyย identifiesย theseย behaviors, attackers cannot simply swap components. They must rethink how theyย accomplishย their goals.ย 

 

This is the highest level of pain.ย 

 

 

 

Why the Pyramid Still Mattersย 

Modern threat actorsย operateย with automation and agility. Infrastructure can be replaced in minutes. Malware can be repacked instantly.ย 

 

If defensive strategy relies only on blocking static indicators, it will always trail behind attacker adaptation.ย 

 

The Pyramid of Pain encourages a shift in mindset:ย 

 

  • From reacting to known artifactsย 
  • Toย identifyingย patterns ofย behaviorย 

 

This shift creates resilience.ย Behavioralย detectionย remainsย effective even when malware variants change.ย 

 

 

 

Applying the Pyramid in Practiceย 

Organizations can use the Pyramid of Pain to evaluate detection maturity.ย 

 

Key questions include:ย 

 

  • How many detections rely solely on threat feeds?ย 
  • Can maliciousย behaviorย be detected even if the file has never been seen before?ย 
  • Is lateral movement visible without knowing the exact malware family?ย 

 

Moving upward requires deeper visibility across endpoints, networks, identities, and cloud environments.ย 

 

It also requires correlation. Single events rarely tell the whole story. Patterns across multiple systems provide stronger signals.ย 

 

 

 

Why Network Visibility Matters at the Top of the Pyramidย 

As you move higher on the Pyramid of Pain, detection shifts from simple indicators to attackerย behavior. At this level, visibility becomes critical.ย 

 

Files can change. IP addresses can rotate. Domains can be replaced. But attackers still need to communicate, move across systems, and move data. Those actions leave patterns in network traffic.ย 

 

This is where network visibility becomes powerful.ย 

 

Network Detection and Response, or NDR, focuses on monitoring andย analysingย network traffic in real time. Instead of looking only for known bad files or addresses, it looks for suspicious activity patterns.ย 

 

For example:ย 

 

  • Repeated outbound beaconingย 
  • Rapid internal access by one userย 
  • After-hours data spikesย 
  • Suspicious encrypted connectionsย 

 

Even if the malware is new and has never been seen before, theseย behavioursย can still stand out.ย 

 

At the top of the pyramid, detection is not about recognizing a specific file or IP. It is about recognizing activity that does not fit normal patterns.ย 

 

Network visibility helps uncover:ย 

 

  • Lateral movement inside the environmentย 
  • Command and control communicationย 
  • Data staging before exfiltrationย 
  • Unusual authentication flowsย 

 

These are technique-level signals. They reflect what an attacker is trying to achieve, not just what tool they are using. When organizations rely only on static indicators, they often miss these deeper patterns. But when networkย behaviorย is continuouslyย monitoredย andย analysed, it becomes much harder for attackers toย operateย quietly.ย 

 

The clearer the view across your network, the easier it becomes to detect activity at the top of the Pyramid of Pain.ย And that is whereย real defensiveย advantage begins.ย 

 

 

 

The Strategic Impactย 

When detection focuses on higher levels of the pyramid, several benefitsย emerge:ย 

 

  • Reduced repeat intrusion patternsย 
  • Faster identification of new attack variantsย 
  • Shorter attacker dwell timeย 
  • Stronger resilience against infrastructure rotationย 

 

Blocking one hash may stop one version of malware.ย 

 

Detecting credential access techniques can stop an entire intrusion campaign.ย 

 

The difference lies in whether detection targets artifacts orย behavior.ย 

 

 

 

Conclusionย 

The Pyramid of Pain is really about perspective. It pushes us to ask a simple question: are we just blocking what attackers leave behind, or are we making their job harder?ย 

 

IPs and hashes are easy to replace but not tradecraft.ย 

 

When detection focuses onย behavior, attackers lose comfort and predictability. And that is whenย defenseย starts to gain the upper hand.ย 

 

Related Products

Related Contents

Read More
Read More
Read More