Skip to content
Pwnversity
CTI-DIAMONDintermediate · 8 min · upd. 2026-11

Diamond Model

Diamond ModelPivotadoAgrupación de actividad

The Diamond Model of Intrusion Analysis (Sergio Caltagirone, Andrew Pendergast and Christopher Betz, 2013) describes each event in an attack with four related elements: an adversary uses a capability over an infrastructure against a victim. Its practical value is not the drawing but pivoting: starting from a known element to discover the others.

  • Structures a lone finding: a C2 domain or a hash goes into one vertex and forces you to ask about the other three.
  • Guides the investigation: each known vertex suggests where to look for the next.
  • Groups activity: events sharing vertices (same infrastructure, same tool) can be associated with a single actor without having to name it.
  • Complements the Kill Chain and ATT&CK: the Kill Chain gives the sequence, ATT&CK the vocabulary for capabilities and the Diamond the relationships.
flowchart TD
    A["Adversary<br/>who (operator, customer)"] --- C["Capability<br/>with what (malware, exploit, TTP)"]
    A --- I["Infrastructure<br/>through what (IP, domain, email)"]
    C --- V["Victim<br/>against whom (person, organization, asset)"]
    I --- V
    C --- I
    A -. "socio-political axis:<br/>motivation and relationship" .- V
Vertex What it includes Examples
Adversary Whoever runs the attack (operator) and whoever commissions it or benefits (customer) Ransomware group, affiliate, state actor
Capability Tools and techniques used in the event Malware, exploit, phishing, ATT&CK TTPs
Infrastructure Physical and logical means to deliver the capability and keep control Domains, IPs, VPS servers, email accounts, legitimate cloud services
Victim Target of the attack and its assets Organization, person, server, account

Infrastructure is split into type 1 (controlled directly by the adversary), type 2 (controlled by an intermediary, for example compromised servers used as hops) and service providers (registrars, hosting, email providers), which are both a data source and a pressure point for taking it down.

Besides the vertices, each event carries data that places it:

Meta-feature Use
Timestamp Order events and measure duration
Phase Place the event in the Kill Chain
Result Success, failure or unknown
Direction Adversary → victim, victim → infrastructure, bidirectional
Methodology Class of activity: phishing, scanning, VPN intrusion
Resources What the adversary needed: software, knowledge, money, access

And two axes: the socio-political one (the relationship between adversary and victim: why it was chosen) and the technology one (the relationship between capability and infrastructure: how they communicate).

Pivoting means using a known vertex to discover others. It is a CTI analyst’s daily work.

From Question Sources Toward
Malware hash Which domains or IPs does it contact? Are there similar samples? Sandbox, VirusTotal, YARA Infrastructure, capability
C2 domain Which IPs did it resolve to? Which other domains share an IP, registrant or certificate? Passive DNS, historical WHOIS, certificate transparency Infrastructure
Server IP Which services does it expose? Does it share a fingerprint (banner, certificate, JARM/JA4S) with other servers? Internet scanners (Shodan, Censys) Infrastructure
Victim Which other organizations in the sector received the same thing? ISAC, shared telemetry Victim, adversary
Technique Which groups use this combination of techniques? ATT&CK, reports Adversary

Every pivot carries a risk of a false link: an IP shared on mass hosting or a CDN provider’s certificate does not connect two actors. Document each hop with its evidence and confidence.

A phishing email reaches finance with a link. The analysis fills in the diamond:

  1. Victim (known): three people in the finance department.
  2. Infrastructure (known): the link’s domain, registered five days ago.
  3. Pivoting from the domain: passive DNS shows it resolved to an IP hosting two other domains with names resembling a payroll provider → more infrastructure.
  4. The link downloads a loader; the sandbox shows it contacting a third domain → capability and more infrastructure.
  5. The loader matches a public YARA rule for a known family and the techniques match those of a documented group → hypothesis about the adversary (low confidence until more evidence is gathered).
  6. The look-alike domains are searched in proxy logs across the organization → other victims who did not report the email.
flowchart LR
    V1["Victims:<br/>3 finance staff"] --> I1["Link domain<br/>(5 days old)"]
    I1 -->|"passive DNS"| I2["Shared IP +<br/>2 look-alike domains"]
    I1 -->|"sandbox"| C1["Loader"]
    C1 -->|"contacts"| I3["C2 domain"]
    C1 -->|"YARA + TTPs"| A1["Adversary hypothesis<br/>(low confidence)"]
    I2 -->|"proxy logs"| V2["More internal victims"]
  • An activity thread chains the events of an intrusion against one victim, in Kill Chain order.
  • An activity group gathers events and threads with common features, even when they affect different victims. This is how CTI teams build clusters (UNC####, Storm-####, etc.) before they can attribute them to a named actor.

Real-world case: pivoting on infrastructure

Section titled “Real-world case: pivoting on infrastructure”

In 2018 Citizen Lab published Hide and Seek, an investigation into NSO Group’s Pegasus spyware. Instead of starting from infected devices, they started from the infrastructure: they identified a characteristic fingerprint of Pegasus servers, scanned the internet to find them, grouped the servers into 36 operators and, by checking which DNS caches around the world held their domains, estimated in which countries (45) each one was active. Lesson: a single well-characterized vertex (here, infrastructure) can uncover victims and operators without access to any compromised device.

  • Filling in all four vertices with guesses so the diamond “looks complete”.
  • Pivoting on shared infrastructure (CDNs, mass hosting, cloud services) and concluding everything belongs to the same actor.
  • Confusing the capability (what was used) with the adversary (who used it): many tools are sold or shared.
  • Not recording the date of each observation: a C2 IP from a year ago may belong to someone else today.
  • Each relevant event recorded with its four vertices, even if some stay unknown
  • Meta-features recorded, especially date, phase and result
  • Each pivot documented with source, evidence and confidence
  • Shared or third-party infrastructure ruled out as a link on its own
  • Events grouped into threads (per victim) and activity groups (across victims)
  • Capabilities mapped to ATT&CK and infrastructure turned into IOCs with expiry