Attack Trees
Mapping every path to an attacker's goal
An attack tree puts the attacker's goal at the root and breaks it down into the different ways to reach it. OR branches mean "any one of these works", AND branches mean "all of these are needed". Adding cost or difficulty to each leaf shows the cheapest path, which is where defenses matter most.
Intermediate · 5 steps
| Popularised by | Bruce Schneier (1999) |
|---|---|
| Root | Attacker's goal |
| Branches | OR (any) and AND (all) |
| Leaves annotated with | Cost, skill, likelihood |
| Used in | PASTA stage 6, safety and security analysis |
| Pairs with | STRIDE, MITRE ATT&CK |
Step by step
Set the goal The root of the tree
The root is what the attacker wants: "take over a customer account". To log in, they need two things, a password AND a way past MFA, so the root has an AND branch with two children.
Branch 1: get the password OR: any one works
There are several ways to get a password, and any one is enough, so this is an OR branch: phish the user, reuse a password leaked from another site (credential stuffing), or install malware on their device.
Branch 2: get past MFA OR: any one works
To defeat MFA the attacker could flood the user with push prompts, take over their phone number (SIM swap), or call the help desk pretending to be the user and ask them to reset MFA.
Find the cheapest path Annotate the leaves
Each leaf gets a rough cost and skill level. Combining the cheapest option from each AND child gives the most likely attack: reused password plus a help-desk MFA reset. That single path is where defending pays off most.
Prune the tree Defend, then recalculate
The team blocks breached passwords and rate-limits logins, and makes the help desk verify identity strongly before any MFA reset. Those branches become expensive, so the next-cheapest path is recalculated, and passkeys are planned to close the MFA branch entirely.
Best practices
- Start from a goal that matters to the business, such as "take over a customer account"
- Keep breaking branches down until each leaf is a concrete action
- Annotate leaves with cost or difficulty and find the cheapest complete path
- Defend the cheapest paths first, then recalculate
- Reuse trees for common goals and update them as attacks change
More in Secure Development.
Packets
| No. | Time | Source | Destination | Protocol | Info | Size |
|---|