App / 06
Attack Tree
Write AND/OR attack trees in a text DSL, rate their leaves and let the paths feed the risk register — as threats of their own or as the likelihood of an existing threat.
01
Anchors
Asset
Asset × security goal
Every attack path becomes a threat of its own — one per path and STRIDE category — next to the STRIDE threats in one risk register. The way to attacks the DFD has no element for: supply chain, physical access, social engineering.
Threat
An existing STRIDE threat
The tree rates the threat's likelihood (the easiest path wins). Other routes to the same goal can be split off as threats of their own.
Risk / standalone
Analysis only
A tree on an existing risk, or one without an anchor, documents the analysis (e.g. vulnerability analysis) and feeds no likelihood.
02
Modeling and Rating
- Trees are written in a text DSL with a live preview; AND nodes need all children, OR nodes any one
- An AND gate is one attack path per combination of its steps, rated with the gate's feasibility over exactly those steps — not one threat and risk per step
- Leaves are rated with the five attack-potential factors of ISO/SAE 21434 Annex G (elapsed time, expertise, knowledge, window of opportunity, equipment) or with the quick method; the method is recorded project-wide and printed in the report. ISO/SAE 21434 projects require attack potential
- Attack potential is added up under AND and the easiest branch wins under OR; the feasibility band (Table G.7) is assigned once, at the end
- In IEC 62443 / classic projects the attacker's benefit counts toward likelihood; in ISO/SAE 21434 projects feasibility alone is the likelihood
- State the attack vector on any node —
av=network|adjacent|local|physical(ISO/SAE 21434 G.9), inherited down the tree; it selects fitting controls and leaves attack potential and feasibility unchanged - On a 3- or 4-level risk scale the tree likelihood is mapped onto the project's scale
03
Paths, Threats and Risks
- A path's identity comes from its content (the chain of node names), so reordering or re-rating never moves a decision to another path; renaming a node makes a new path that has to be assessed again
- The ids AT-n / AT-n.m used by threats, risks and the report appear in the attack-tree tab
- A path that backs a confirmed threat and disappears or changes is shown in a banner — an assessment is never dropped silently
- After renaming a node, Goals & Claims offers to re-link the goal or claim to the renamed path
- The tree contributes likelihood only; impact stays with the damage scenario (asset × security goal). Treatment is decided in the Risk tab