Course contentsShow
← Security
Lesson 2641 of 3,05250. Secure Architecture and DesignFree lesson

Architecture-Level Attack Trees

Building attack trees to model multi-stage attacks across architectural components and identify critical paths.

Architecture-Level Attack Trees

What you'll learn: How to build attack trees that map multi-stage attacks across system components to find critical vulnerabilities in your architecture.

At this stage of secure architecture design, you've already created data flow diagrams, identified trust boundaries, and applied STRIDE to spot threats. Now you need a way to visualize how an attacker might chain together multiple exploits across your architecture to achieve their goal.

Core Concept

An architecture-level attack tree is a hierarchical diagram where:

  • The root is the attacker's ultimate goal (e.g., "Exfiltrate customer PII")
  • Branches represent alternative attack paths
  • Leaves are individual exploits or entry points across architectural components

Unlike simple threat lists, attack trees show logical relationships (AND/OR gates). Some attacks require multiple conditions to succeed (AND), while others offer alternative paths (OR).

Building the Tree

Start with the attacker's goal and work backward:

  1. What architectural components hold the target asset?
  2. What trust boundaries must be crossed?
  3. What controls exist at each boundary?
  4. How could those controls fail or be bypassed?

For example, to steal database credentials:

  • OR: Compromise the API server OR intercept network traffic OR exploit the admin panel
  • AND: To compromise API server, attacker must bypass the firewall AND exploit a code vulnerability AND escalate privileges

Finding Critical Paths

Once built, analyze paths by:

  • Cost/difficulty: Which leaves are easiest to exploit?
  • Dependencies: Which nodes enable multiple attack paths (high-value targets)?
  • Control gaps: Where do multiple paths converge without defense-in-depth?

This reveals where to invest in additional safeguards—not just individual vulnerabilities, but architectural weak points that enable cascading compromise.

Key Takeaway: Architecture-level attack trees model multi-stage attacks across system components, revealing critical paths and architectural vulnerabilities that single-threat analysis would miss.