Course contentsShow
← Software Engineering
Lesson 1082 of 1,93332. Security EngineeringFree lesson

Attack Trees and Risk Prioritization

Using attack trees to model adversary goals and prioritizing threats based on likelihood and impact.

Attack Trees and Risk Prioritization

What you'll learn: How to model adversary goals as tree structures and use them to prioritize security threats systematically.


What Are Attack Trees?

An attack tree is a visual diagram that breaks down how an attacker might achieve a specific goal. Think of it like a game tree in chess—each branch represents a different path an attacker could take, with sub-branches showing the steps needed along each path.

At the top (root) sits the attacker's ultimate goal: "Steal customer data" or "Take down the payment system." Each branch below shows how they might achieve that goal, and branches split further into detailed attack steps.

Why Use Attack Trees?

Rather than maintaining an unstructured list of security worries, attack trees help you:

  • Visualize relationships between different attack vectors
  • Identify critical paths attackers are most likely to exploit
  • Communicate threats clearly to both technical and non-technical stakeholders
  • Avoid tunnel vision by systematically exploring multiple attack scenarios

Prioritizing Risks

Not every branch deserves equal attention. After mapping your attack tree, you assess each path using two dimensions:

Likelihood: How easy/probable is this attack? Consider attacker skill required, cost, and available defenses.

Impact: If successful, how severe is the damage? Consider data loss, downtime, reputation, and financial harm.

Multiply or map these factors to create a risk score. High-likelihood, high-impact paths demand immediate mitigation. Low-likelihood, low-impact branches might be accepted as residual risk.

This structured approach transforms vague security concerns into actionable priorities backed by clear reasoning.

Key Takeaway: Attack trees model adversary strategies as hierarchical paths, enabling systematic risk prioritization based on likelihood and impact rather than gut feeling.