3.1 Indicators of Compromise (IoCs), Indicators of Attack (IoAs), and Pyramid of Pain

Key Takeaways

  • Indicators of Compromise (IoCs) provide reactive, forensic evidence of historical intrusions, whereas Indicators of Attack (IoAs) capture real-time, behavioral intent independent of specific tooling or hashes.
  • David Bianco's Pyramid of Pain categorizes threat indicators into six tiers based on the operational friction and disruption inflicted on an adversary when defenders deny that specific indicator.
  • Hash values, IP addresses, and domain names occupy the bottom tiers—trivial or simple for adversaries to bypass through automated compiling, proxy networks, and Domain Generation Algorithms (DGAs).
  • Network and Host Artifacts along with Tools represent intermediate tiers, forcing attackers to alter C2 communication protocols, recompile software, or redesign payloads.
  • Tactics, Techniques, and Procedures (TTPs) sit at the apex of the Pyramid; disrupting TTPs forces adversaries to reinvent their entire operational methodology, imposing maximum cost and delay.
Last updated: September 2026

Indicators of Compromise (IoCs) vs. Indicators of Attack (IoAs)

Modern security operations require analysts to distinguish clearly between forensic residue left behind by historical activity and real-time behavioral telemetry capturing active attacks.

Indicators of Compromise (IoCs)

Indicators of Compromise (IoCs) represent forensic artifacts left on endpoints, network segments, or cloud workloads after an adversary has executed malicious code. IoCs are inherently reactive; they answer the fundamental investigative question: "What forensic residue was dropped on the system in the past?"

IoCs fall into three primary analytical classes:

  1. Atomic Indicators: Discrete, indivisible pieces of data that retain their analytical meaning outside of surrounding context. Examples include static IPv4/IPv6 addresses, email addresses, fully qualified domain names (FQDNs), and URL paths.
  2. Computed Indicators: Values mathematically derived from the computational inspection of an artifact. Examples include cryptographic hash digests (MD5, SHA-1, SHA-256), fuzzy hashes (SSDEEP, TLSH), and Authenticode digital signature thumbprints.
  3. Behavioral Indicators: Specific stateful system modifications or configurations that indicate compromise. Examples include static registry run key additions, known malicious service creations, or scheduled tasks executing from temporary storage directories.

Operational Limitations of IoCs

While IoCs are essential for initial scoping and retrospective sweeping, they suffer from severe operational limitations in modern enterprise defense:

  • Ephemeral Lifespan: Contemporary malware developers leverage automated continuous integration and continuous deployment (CI/CD) pipelines to recompile payloads dynamically, altering cryptographic hash digests every few minutes without changing the underlying functionality.
  • High False Negative Rate: Novel zero-day exploits, fileless memory-resident attacks, and polymorphic malware leave no static file traces that match pre-existing commercial threat intelligence feeds.
  • Retro-Hunting Utility: The highest-leverage operational use case for IoCs in a SOC is historical retro-hunting—querying 90 to 180 days of historical SIEM and EDR data lakes to determine whether an indicator disclosed today was active inside the environment weeks earlier.

Indicators of Attack (IoAs)

Indicators of Attack (IoAs) focus on the intent, behavioral sequence, and execution methodology of the adversary, completely divorced from specific binary file names, cryptographic hashes, or IP addresses. IoAs answer the real-time operational question: "What is the adversary attempting to accomplish right now, and why?"

An IoA does not rely on whether an executable is known to commercial antivirus engines. Instead, it evaluates the anomalous nature of system operations. For example, an unprivileged user process attempting to obtain an open handle to lsass.exe with PROCESS_VM_READ access rights is an IoA representing credential dumping. It does not matter whether the tool utilized is mimikatz.exe, dumpert.exe, an obfuscated PowerShell script, or a custom in-memory reflective DLL; the behavioral intent remains identical and detectable.

Living-off-the-Land Binaries (LOLBins)

Adversaries increasingly execute built-in, trusted, cryptographically signed operating system utilities (LOLBins) such as certutil.exe, bitsadmin.exe, wmic.exe, mshta.exe, and powershell.exe. Because these executables are signed by Microsoft or the OS vendor, their cryptographic hashes are entirely legitimate. Hash-based IoC detection cannot detect malicious use of LOLBins. In contrast, IoA detection engineering identifies anomalous execution lineages (such as WINWORD.EXE spawning powershell.exe) or anomalous command-line parameters (such as certutil.exe -urlcache -split -f http://...).

Dimension / AttributeIndicator of Compromise (IoC)Indicator of Attack (IoA)
Temporal OrientationReactive (post-exploitation forensic evidence)Proactive / Real-Time (active execution and intent)
Core Question"What forensic artifacts were left on the system?""What is the adversary attempting to accomplish?"
Exemplary Data TypesSHA-256 hash, C2 IP address, malicious domain, static registry run keyProcess hollowing, LSASS memory dumping, Kerberoasting, anomalous WMI execution
Adversary Evasion FrictionTrivial (adversary alters 1 byte or rotates cloud IP)Extreme (adversary must fundamentally overhaul operational tradecraft)
Detection MechanismStatic signature matching, hash lookups, reputation blocklistsBehavioral analytics, heuristic rules, parent-child process lineage tracking
SOC Lifecycle RoleScoping incident boundaries, firewall blocking, historical retro-huntingReal-time alert triggering, automated EDR isolation, proactive threat hunting

Cyber Threat Intelligence Sharing Schemas: STIX, TAXII, and MISP

To ingest, correlate, and automate millions of threat indicators across heterogeneous security stacks, modern SOCs utilize standardized machine-readable intelligence formats:

1. STIX (Structured Threat Information Expression)

STIX is a standardized, serialized JSON-based graph language used to represent cyber threat information. Developed by OASIS, STIX 2.1 formalizes intelligence into two primary building blocks:

  • STIX Domain Objects (SDOs): Twelve core entities capturing threat context, including Indicator, Attack Pattern (mapping directly to MITRE ATT&CK), Malware, Threat Actor, Identity, Vulnerability, Observed Data, and Course of Action.
  • STIX Relationship Objects (SROs): Explicit connective links establishing semantic context between SDOs, primarily relationship (e.g., Threat Actor uses Malware; Indicator indicates Attack Pattern) and sighting (recording that an indicator was observed at a specific timestamp by a specific sensor).

2. TAXII (Trusted Automated eXchange of Intelligence Information)

TAXII is the application-layer transport protocol designed specifically to exchange STIX-formatted intelligence over HTTPS using RESTful APIs. TAXII defines two sharing architectures:

  • Collections: Repositories hosted on a TAXII server where clients can query, fetch, or push threat intelligence data.
  • Channels: Publish-subscribe messaging streams where producers broadcast intelligence in real time to authorized subscriber nodes.

3. OpenIOC and MISP

  • OpenIOC: An XML-based framework developed by Mandiant that structures technical indicators using boolean logic (AND/OR) across host and network forensic properties.
  • MISP (Malware Information Sharing Platform): An open-source threat sharing platform widely deployed across national CERTs, financial ISACs, and enterprise SOCs to automate bi-directional indicator synchronization and IoC correlation.

David Bianco's Pyramid of Pain: Detection Engineering Tiers

Introduced in 2013 by detection engineer David Bianco, the Pyramid of Pain models the operational relationship between distinct threat indicator types and the degree of disruption (pain) inflicted on an adversary when defenders detect and deny those indicators.

                  /\ 
                 /  \     TTPs (Tough - Forces overhaul of actor tradecraft)
                /    \ 
               /------\   Tools (Challenging - Requires new software/recompilation)
              /        \ 
             /----------\ Network/Host Artifacts (Annoying - Modifies configs/URIs)
            /            \ 
           /--------------\ Domain Names (Simple - Re-register or fast-flux)
          /                \ 
         /------------------\ IP Addresses (Easy - Rotate proxies, VPNs, VPS)
        /                    \ 
       /----------------------\ Hash Values (Trivial - Alter 1 byte / recompile)

Deep Dive: The Six Layers of the Pyramid

1. Hash Values (Trivial)

  • Adversary Cost to Circumvent: Zero. Cryptographic hashes (MD5, SHA-1, SHA-256) represent a fixed-size mathematical digest of a binary file. Because of the cryptographic avalanche effect, flipping a single bit, modifying compiler optimization flags, or appending a null byte completely scrambles the output hash.
  • Defender Utility: A strong cryptographic hash is a high-precision way to match the same byte sequence, but analysts must still consider feed provenance, collection errors, algorithm weaknesses, and operational context. Even a one-byte change defeats an exact-hash match.
  • SOC Engineering Countermeasure: SOCs deploy Fuzzy Hashing (SSDEEP) and TLSH (Trend Micro Locality Sensitive Hash) to compute binary similarity scores, identifying modified malware variants that share substantial structural code blocks.

2. IP Addresses (Easy)

  • Adversary Cost to Circumvent: Minimal. Adversaries route traffic through commercial VPNs, bulletproof hosting providers, compromised consumer IoT botnets, ephemeral cloud compute instances, and the Tor anonymity network. An adversary can acquire a fresh egress IP in seconds.
  • Defender Utility: IP filtering provides rapid perimeter blocking at edge firewalls and proxies. However, static IP blacklists degrade quickly.
  • Defender Risk: Blocking shared Content Delivery Network (CDN) IP addresses (e.g., Cloudflare, Akamai) or public cloud load balancers risks denying legitimate multi-tenant business traffic.

3. Domain Names (Simple)

  • Adversary Cost to Circumvent: Slight. Attackers leverage automated registrar APIs, cheap top-level domains (ccTLDs), and dynamic DNS providers. Advanced threat groups deploy Domain Generation Algorithms (DGAs) to generate hundreds of pseudorandom domains daily based on time-synchronized seeds.
  • Fast-Flux DNS: Attackers cycle DNS A records (Single-Flux) and authoritative Name Server records (Double-Flux) across hundreds of compromised hosts within minutes, defeating static domain blacklists.
  • SOC Engineering Countermeasure: Implementing DNS Sinkholing (redirecting queries for known malicious domains to internal loopback addresses) and alerting on queries to Newly Registered Domains (NRDs) (< 30 days old) create high-fidelity detection choke points.

4. Network and Host Artifacts (Annoying)

  • Adversary Cost to Circumvent: Moderate. Artifacts are observable forensic properties left in network communications or host operating systems.
    • Network Artifacts: Specific HTTP User-Agent strings, distinctive URI parameter naming schemes, custom protocol header sequences, or TLS client/server fingerprints (JA3/JA3S).
    • Host Artifacts: Specific Windows registry values, custom service names, unique named pipes (e.g., Cobalt Strike's default pipe patterns \\.\pipe\msagent_*), or distinct mutual exclusion (mutex) names.
  • Adversary Impact: Neutralizing these artifacts forces the adversary to edit source code, rewrite configuration files, or re-engineer their command-and-control (C2) communication protocol.

5. Tools (Challenging)

  • Adversary Cost to Circumvent: High. Refers to the software utilities used to execute the attack: credential dumpers (Mimikatz), port scanners (Nmap), privilege escalation scripts (WinPEAS), tunneling utilities (Chisel), and full C2 frameworks (Cobalt Strike, Sliver, Covenant).
  • Defender Strategy: Rather than hunting for the compiled binary itself, the SOC detects the tool's underlying operational signatures (e.g., in-memory reflective DLL loading, memory allocation patterns like PAGE_EXECUTE_READWRITE, or default Malleable C2 profiles).
  • Adversary Impact: When a tool is thoroughly detected, the adversary must find, purchase, or engineer an entirely new software utility, imposing significant financial and temporal costs.

6. Tactics, Techniques, and Procedures (TTPs) (Tough)

  • Adversary Cost to Circumvent: Severe. TTPs represent the human behavioral habits, operational tradecraft, and technical methodology of the threat actor (e.g., dumping credentials via Kerberoasting, bypassing UAC via COM interface hijacking, or lateral movement via Pass-the-Hash).
  • Defender Strategy: Defenders engineer behavioral detection logic (e.g., Sigma rules and EDR behavioral heuristics) that alert on the underlying technique regardless of the tool or file used.
  • Adversary Impact: Denying an adversary at the TTP level forces them to abandon years of institutional training, conduct foundational operating system research, and invent completely novel attack techniques. This imposes maximum operational pain.

Pyramid of Pain Operational Engineering Matrix

Pyramid TierIndicator CategoryAdversary Evasion CostDetection FragilityPrimary SOC Detection ToolingConcrete Technical Example
1. TrivialCryptographic HashesZero (single bit alter)Extremely FragileAntivirus, EDR hash lookupsSHA-256: a3f5...91bc (dropper binary)
2. EasyIP AddressesMinimal (seconds to rotate)High FragilityEdge Firewalls, NetFlow, NIDSIPv4: 198.51.100.45 (C2 relay node)
3. SimpleDomain NamesLow (cheap registration)Moderate FragilityDNS Sinkhole, Proxy, NRD logsDomain: update-service-auth[.]top
4. AnnoyingNetwork/Host ArtifactsModerate (reconfigure code)ResilientNDR, JA3/JA3S, Zeek, SysmonNamed pipe: \\.\pipe\msagent_14
5. ChallengingAttack ToolsHigh (re-engineer tool)Very ResilientEDR Memory Scanners, YARA rulesMemory signature of Cobalt Strike beacon
6. ToughTTPsMaximum (retrain operators)Highly DurableSIEM Correlation, Behavioral EDRTechnique: T1558.003 (Kerberoasting)
Loading diagram...
David Bianco's Pyramid of Pain for SOC Detection Engineering
Test Your Knowledge

A SOC analyst detects an unknown executable attempting to dump the memory of the Local Security Authority Subsystem Service (LSASS) process using a native Windows API call. Which security concept best describes this detection?

A
B
C
D
Test Your Knowledge

In the context of automated cyber threat intelligence sharing, what is the key distinction between STIX and TAXII?

A
B
C
D
Test Your Knowledge

According to David Bianco's Pyramid of Pain, which category of threat indicator inflicts the greatest operational disruption and financial cost on an adversary when successfully identified and blocked by defenders?

A
B
C
D
Test Your Knowledge

Why are cryptographic hash values considered 'trivial' for an adversary to overcome in the Pyramid of Pain?

A
B
C
D