Historical Context & Motivation
The discipline of threat intelligence grew out of a fundamental asymmetry in information security: defenders had to protect every possible entry point, while attackers needed only one exploitable weakness. Early security efforts in the 1990s relied on signature-based antivirus tools and perimeter firewalls — purely reactive measures that could only identify threats already cataloged in vendor databases. As adversaries evolved beyond opportunistic script-kiddies into organized criminal syndicates and state-sponsored groups, the security community recognized that defenders needed a systematic way to study attacker behavior, share intelligence across organizations, and proactively anticipate the next move in an ongoing digital chess match.
The central question that threat intelligence addresses is deceptively simple: Who is attacking us, how are they doing it, and what can we do about it before they succeed? Answering this question requires moving beyond raw data — firewall logs, malware samples, vulnerability scans — toward contextualized, actionable knowledge about adversary capabilities, infrastructure, and operational patterns. The concepts of Indicators of Compromise (IOCs) and Tactics, Techniques, and Procedures (TTPs) form the twin pillars of this discipline, representing two complementary lenses through which security teams can understand and respond to threats.
Core Principles & Definitions
Threat intelligence is the evidence-based knowledge — including context, mechanisms, indicators, implications, and actionable advice — about an existing or emerging menace to assets. It is not merely a feed of IP addresses or file hashes; rather, it is the product of a structured analytical process that transforms raw data into knowledge that decision-makers can act upon. The discipline rests on several foundational principles that distinguish it from generic security monitoring.
Indicators of Compromise (IOCs)
Tactics, Techniques & Procedures (TTPs)
The Intelligence Lifecycle
The Pyramid of Pain
Intelligence Levels
The Pyramid of Pain — A Visual Framework
The Pyramid of Pain, introduced by security researcher David Bianco in 2013, provides a powerful mental model for evaluating the relative value of different indicator types. The pyramid arranges indicators from the base (easiest for attackers to change) to the apex (hardest to change), and simultaneously from least useful to most useful for defenders. Understanding this hierarchy is critical for security operations teams allocating their analytical resources, because investing heavily in hash-value matching yields far less defensive leverage than understanding adversary TTPs.
The diagram illustrates a key strategic insight: if your security operations center (SOC) only consumes hash-based IOC feeds, an adversary can evade detection simply by recompiling their payload — a process that takes seconds and produces a completely new SHA-256 hash. Conversely, if your detection capabilities are tuned to recognize behavioral patterns — such as an adversary's use of a specific lateral movement technique followed by a particular data-staging procedure — the attacker must fundamentally redesign their operation to evade detection. This is why modern threat intelligence programs invest heavily in TTP cataloging using frameworks like MITRE ATT&CK.
The Intelligence Lifecycle & Processing Pipeline
Threat intelligence is not a product you simply purchase — it is the output of a rigorous analytical process. The Intelligence Lifecycle (sometimes called the Intelligence Cycle) is a six-phase feedback loop adapted from military intelligence doctrine. Each phase feeds into the next, and the feedback phase ensures that subsequent iterations produce intelligence that is increasingly relevant and actionable for the consuming organization.
Phase Breakdown
- Direction: Stakeholders define priority intelligence requirements (PIRs). For example, a financial institution might specify: 'What banking trojan campaigns are targeting our sector, and what TTPs do they employ?'
- Collection: Analysts gather raw data from open-source intelligence (OSINT), commercial feeds, dark web monitoring, honeypots, internal telemetry, ISACs, and government advisories.
- Processing: Raw data is normalized into structured formats (e.g., STIX objects), deduplicated, enriched with metadata such as geolocation or WHOIS data, and assigned confidence scores.
- Analysis: Analysts apply structured techniques — competing hypotheses, diamond model analysis, kill chain mapping — to transform processed data into contextualized intelligence.
- Dissemination: Intelligence products are delivered in appropriate formats: machine-readable IOC feeds for automated tools, written reports for operations teams, and executive briefings for strategic decision-makers.
- Feedback: Consumers evaluate the relevance, timeliness, and accuracy of the intelligence, which feeds back into the direction phase to refine future requirements.
IOCs and TTPs — A Detailed Classification
Indicators of Compromise (IOCs) — Types and Examples
IOCs are the forensic evidence of intrusion — the digital breadcrumbs that adversaries leave behind. They are categorized by the network layer or host layer at which they are observable. The critical caveat is that IOCs are inherently ephemeral: a sophisticated adversary can rotate IP addresses, register new domains, and recompile binaries to generate entirely new hash values in minutes. Despite this limitation, IOCs remain essential for real-time detection and triage, serving as the initial trigger for deeper investigation.
| IOC Category | Examples | Detection Mechanism | Adversary Change Cost |
|---|---|---|---|
| Hash Values | SHA-256, MD5, SHA-1 of malware binaries | AV engines, EDR file scanning | Trivial — recompile or add a NOP |
| IP Addresses | C2 server IPs, scanning source IPs | Firewall rules, IDS/IPS, SIEM correlation | Low — use VPS/cloud, rotate IPs |
| Domain Names | Phishing domains, DGA-generated domains | DNS sinkholing, proxy logs, threat feeds | Moderate — registration costs time/money |
| Network Artifacts | URI patterns, User-Agent strings, JA3 hashes | Deep packet inspection, proxy analysis | Moderate — requires retooling C2 protocols |
| Host Artifacts | Registry keys, mutexes, file paths, scheduled tasks | EDR behavioral rules, forensic analysis | Moderate — requires code changes |
Tactics, Techniques & Procedures (TTPs) — The MITRE ATT&CK Lens
While IOCs answer what happened, TTPs answer how and why. The MITRE ATT&CK framework provides the most widely adopted taxonomy for organizing TTPs. ATT&CK defines 14 tactical categories (e.g., Initial Access, Execution, Persistence, Lateral Movement, Exfiltration) and hundreds of specific techniques and sub-techniques under each. A tactic represents the adversary's objective at a given stage — for instance, "gain initial access to the target network." A technique is a general method for achieving that objective — such as spear-phishing with an attachment (T1566.001). A procedure is the specific, granular implementation observed in the wild — for example, APT29 sending a COVID-themed Word document with a macro that invokes PowerShell to download a Cobalt Strike beacon.
| Layer | Abstraction Level | Example | MITRE ATT&CK ID |
|---|---|---|---|
| Tactic | Adversary goal (the 'why') | Initial Access | TA0001 |
| Technique | General method (the 'how') | Phishing: Spearphishing Attachment | T1566.001 |
| Procedure | Specific implementation (the 'what exactly') | APT29 sends macro-enabled .docx themed as a COVID update, executing PowerShell to download a Cobalt Strike beacon | Mapped to T1566.001 → T1059.001 → T1071.001 |
Worked Example — Analyzing an Incident with IOCs and TTPs
Consider a realistic scenario: your organization's SOC receives an alert from the SIEM indicating that an internal workstation has communicated with a known malicious domain. Walk through how a threat intelligence analyst would decompose this event into IOCs and TTPs, and then leverage threat intelligence to understand the broader campaign.
10.0.5.42 resolved the domain update-service[.]xyz which resolved to 185.220.101.33. Endpoint telemetry reveals that a process with hash a3f5b...c9d2e (SHA-256) spawned the network connection. These four data points — the internal IP, the domain, the external IP, and the file hash — constitute our initial IOCs.update-service[.]xyz is flagged in multiple feeds as a Cobalt Strike C2 domain associated with the threat group FIN7. The hash matches a known FIN7 loader dropper. The STIX report includes a confidence score of 85 (high) and was last updated 48 hours ago.T1566.001 — Initial Access). The attachment executed a macro that invoked PowerShell (T1059.001 — Execution). The PowerShell script downloaded the loader, which established persistence via a scheduled task (T1053.005 — Persistence). The Cobalt Strike beacon communicated over HTTPS to the C2 domain (T1071.001 — Command and Control).T1003), lateral movement via RDP (T1021.001), and data exfiltration over the C2 channel (T1041). Proactively hunt for evidence of these downstream techniques across all endpoints. Issue detection rules for the anticipated TTPs before the adversary progresses.Strengths and Limitations of IOC-Based vs. TTP-Based Intelligence
IOCs and TTPs are not competing approaches — they are complementary layers of a comprehensive threat intelligence program. However, understanding their respective strengths and limitations is essential for allocating resources effectively and designing detection architectures that balance speed with resilience.
| Dimension | IOC-Based Intelligence | TTP-Based Intelligence |
|---|---|---|
| Detection Speed | Very fast — automated feed ingestion enables near-real-time blocking | Slower — requires behavioral analytics, correlation engines, and tuned detection rules |
| Shelf Life | Short — hash IOCs may become stale in hours; IP/domain IOCs in days to weeks | Long — adversary behavioral patterns persist for months or years |
| False Positive Rate | Low for hashes; moderate for IPs (shared hosting, CDNs) | Higher — legitimate admin activity may resemble adversary TTPs |
| Evasion Resistance | Low — trivially evaded by changing indicators | High — changing behavior is operationally expensive for adversaries |
| Automation | Highly automatable (STIX/TAXII, SIEM integrations) | Partially automatable — requires human analysis for context and tuning |
| Resource Requirements | Moderate — primarily engineering effort for feed integration | High — requires skilled analysts, threat hunting programs, and behavioral detection platforms |
Connection to Advanced Frameworks and Emerging Trends
The foundational concepts of IOCs and TTPs connect to several advanced frameworks and emerging practices that represent the frontier of threat intelligence. As you progress in security operations, understanding these extensions becomes increasingly important for designing resilient detection architectures and contributing to the collective defense of the cybersecurity community.
| Foundational Concept | Advanced Extension | Key Insight |
|---|---|---|
| IOC feeds (manual integration) | STIX/TAXII automated sharing | Machine-readable intelligence in standardized JSON (STIX 2.1) exchanged via RESTful APIs (TAXII) enables automated consumption and dissemination across organizational boundaries at machine speed. |
| MITRE ATT&CK TTP mapping | MITRE D3FEND & ENGAGE | D3FEND maps defensive countermeasures to ATT&CK techniques, creating a bidirectional attack-defense knowledge graph. ENGAGE provides an adversary engagement framework for deception and denial operations. |
| Pyramid of Pain (static model) | Diamond Model of Intrusion Analysis | Formalizes relationships between adversary, capability, infrastructure, and victim as a four-vertex graph, enabling richer attribution and campaign-level analysis beyond individual indicators. |
| Manual TTP analysis | ML-driven behavioral detection | Machine learning models trained on process telemetry can detect adversary TTPs at scale — for example, identifying anomalous process trees that match known lateral movement patterns without relying on static signatures. |
| Organization-specific intelligence | Collective intelligence (ISACs, CTI platforms) | Sector-specific ISACs and platforms like MISP enable community-driven intelligence pooling, where one organization's detection becomes every participant's prevention — a network effect that multiplies defensive value. |
Looking forward, the convergence of threat intelligence with Security Orchestration, Automation, and Response (SOAR) platforms is accelerating the transition from intelligence-informed detection to intelligence-driven automated response. In these architectures, a TTP-mapped detection rule can trigger an automated playbook that isolates the affected endpoint, enriches the alert with threat intelligence context, initiates a threat hunt across the fleet, and notifies the relevant ISAC — all within seconds of the initial detection. Understanding the IOC and TTP foundations presented in this lesson is the prerequisite for designing and operating these sophisticated automated defense systems.
Practice Problems
C:\ProgramData\update.ps1 every 4 hours, (b) DNS queries to cdn-static[.]net over HTTPS, (c) the PowerShell script's SHA-256 hash 7a4f8e...b2c1d3. Classify each artifact as an IOC, identify its type, and map the overall adversary behavior to at least three MITRE ATT&CK techniques.Lesson Summary
Threat intelligence transforms raw security data into actionable knowledge through the Intelligence Lifecycle — a six-phase process of direction, collection, processing, analysis, dissemination, and feedback. At its core, the discipline revolves around two complementary concepts: Indicators of Compromise (IOCs), which are observable forensic artifacts like file hashes, IP addresses, and domain names that signal malicious activity; and Tactics, Techniques, and Procedures (TTPs), which describe adversary behavior at increasing levels of specificity — from strategic objectives (tactics) through general methods (techniques) to specific implementations (procedures).
The Pyramid of Pain provides the key strategic insight: IOCs at the base of the pyramid (hashes, IPs) are trivially changed by adversaries, while TTPs at the apex impose maximum cost when detected and blocked. The MITRE ATT&CK framework serves as the industry-standard taxonomy for cataloging TTPs. Threat intelligence operates at three levels — strategic (executive trends), operational (campaign details), and tactical (machine-readable indicators) — and is shared via standards like STIX/TAXII. A mature security program leverages both IOC feeds for rapid automated detection and TTP analysis for resilient, behavior-based defense.