Skip to main content
Threat Intelligence Lifecycle, Diamond Model & Pyramid of Pain
Lesson 19 of 21

Threat Intelligence Lifecycle, Diamond Model & Pyramid of Pain

Apply the six-phase threat intelligence lifecycle, structure intrusion analysis with the Diamond Model, and prioritise detections using the Pyramid of Pain.

Intermediate 25 min Reverse engineering
Authorised environments only — The techniques described here are used only in training labs and on systems you own or have written permission to test.

Learning objectives

  • Explain the six phases of the threat intelligence lifecycle and how feedback improves collection
  • Map intrusion observables to the four core vertices and meta-features of the Diamond Model
  • Evaluate defensive indicators using the Pyramid of Pain to prioritise durable detections
  • Organise threat intelligence records in platforms such as OpenCTI and MISP

Recommended first: OSINT Methodology, OPSEC, Privacy & Legal BoundariesDomain, WHOIS, Passive DNS & IP Infrastructure Intel

#Why this matters

Security teams receive thousands of raw alerts, IP blocklists, and file hashes every week. Without structure, analysts chase expired infrastructure while intrusions continue under new domains. Cyber threat intelligence (CTI) turns scattered observables into context-rich answers for defenders and incident responders.

#The Threat Intelligence Lifecycle

CTI runs as a continuous six-phase loop driven by intelligence requirements -- concrete questions such as "Which exposed perimeter services face active credential stuffing?"

  1. DirectionSet stakeholder requirements
  2. CollectionGather logs, OSINT, and feeds
  3. ProcessingNormalise and structure data
  4. AnalysisCorrelate context and assess meaning
  5. DisseminationDeliver briefs or detection rules
  6. FeedbackMeasure impact and refine scope

Notice that Processing and Analysis are distinct steps. Normalising timestamps and stripping duplicates in OpenCTI or MISP prepares raw data during Processing; Analysis correlates those clues to explain what the pattern means for your network. Feedback from SOC and incident response teams then refines the next Direction cycle.

#The Diamond Model of Intrusion Analysis

When an incident occurs, analysts need a repeatable way to connect separate clues. The Diamond Model models every intrusion event using four core vertices arranged as a diamond:

  • Adversary: the operator or group behind the activity (often unknown during early triage).
  • Capability: the tools, scripts, or methods used to achieve an effect.
  • Infrastructure: the physical or logical assets used to deliver or control the capability, such as domains, IP addresses, or email relays.
  • Victim: the target organisation, system, or user account.
Pivoting across Diamond Model verticesPivoting across Diamond Model verticesVictimInfrastructureCapabilityDNS lookup to update-sync.example.testDelivers signed script payloadPivoting via passive DNS reveals 198.51.100.42Attempts credential access on lab.local

Beyond the four vertices, the model records meta-features such as Timestamp, Phase, Result, Direction, and Methodology. The practical power of the Diamond Model is pivoting: if you know the Victim observed a suspicious domain (Infrastructure) from earlier DNS and WHOIS work, you can pivot through passive DNS to find shared IP space (198.51.100.42), uncover additional payloads (Capability), and identify other targeted hosts (Victims).

#The Pyramid of Pain

Not all indicators give defenders the same return on effort. David Bianco's Pyramid of Pain ranks six layers of observables according to how hard it is for an adversary to change them once blocked:

  1. 6TTPsTough: adversary must re-engineer behaviour
  2. 5ToolsChallenging: rewrite or replace utilities
  3. 4Host & Network ArtifactsAnnoying: alter URI paths, filenames, registry traces
  4. 3Domain NamesSimple: register and warm new domains
  5. 2IP AddressesEasy: rotate VPS or proxy endpoints
  6. 1Hash ValuesTrivial: recompile or append a single byte

Blocking a file hash or an IP address takes seconds, yet an attacker can recompile a binary or lease a fresh address just as quickly. Moving up the pyramid toward network artifacts (such as distinct HTTP header patterns) and TTPs (behavioural chains) forces the adversary to rebuild tooling and workflows.

Platforms such as MISP and OpenCTI help teams climb the pyramid by storing relationships between indicators, campaigns, and behaviours rather than flat blocklists. Below is a compact Python example parsing a sanitised MISP-style event export to prioritise higher-value observables:

python
import json

event_json = """
{
  "Event": {
    "info": "Lab phishing cluster 2026-04",
    "Attribute": [
      {"type": "sha256", "value": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"},
      {"type": "ip-dst", "value": "198.51.100.42"},
      {"type": "domain", "value": "update-sync.example.test"},
      {"type": "pattern-in-traffic", "value": "User-Agent: SyncClient/1.4"}
    ]
  }
}
"""

pain_rank = {"sha256": 1, "ip-dst": 2, "domain": 3, "pattern-in-traffic": 4}
event = json.loads(event_json)["Event"]
for attr in sorted(event["Attribute"], key=lambda a: pain_rank.get(a["type"], 0), reverse=True):
    print(f"Rank {pain_rank.get(attr['type'], 0)}: {attr['type']} -> {attr['value']}")

#Defending and common mistakes

  • Skipping the Direction phase: Collecting every open-source feed without stakeholder requirements floods analysts with irrelevant alerts.
  • Confusing data with intelligence: A spreadsheet of 5,000 IP addresses is raw data; intelligence explains who uses them, how they behave, and what action to take.
  • Over-relying on hashes and IPs: Keep bottom-of-pyramid indicators for short-term triage and historical correlation, while investing detection engineering effort in artifacts and TTPs.
  • Forgetting indicator ageing: Cloud hosting and mobile networks reassign IP addresses rapidly. Set expiration dates (TTL) in MISP or OpenCTI so stale indicators do not cause false positives.

#Summary

  • The six-phase Threat Intelligence Lifecycle keeps collection and analysis tied to stakeholder requirements and continuous feedback.
  • The Diamond Model connects Adversary, Capability, Infrastructure, and Victim, enabling analysts to pivot from one confirmed clue to related observables.
  • The Pyramid of Pain guides defensive prioritisation away from disposable hashes and IPs toward durable artifacts and adversary TTPs.
  • Structured platforms like OpenCTI and MISP preserve relationships and indicator lifespans so teams act on context rather than flat lists.

Knowledge check

Sign in to take the test, complete lessons and save your progress. Log in

Practice: test your knowledge