SecSIGSecurity Special Interest Group of US MensaCuriosity. Perspective. Security.

Research Library · Idea

Attack trees

An attack tree is a way of modeling threats to a system by writing an attacker's goal as the root of a tree and the different ways of reaching it as its children. Bruce Schneier described the method in "Attack Trees: Modeling security threats", published in Dr. Dobb's Journal in December 1999 1. He presents it as a response to the observation that "security" means little unless one knows from whom, and for how long, a system must be secure 1.

Schneier's running example is a physical safe. The goal is opening the safe. The attacker can pick the lock, learn the combination, cut open the safe, or install the safe improperly so that it can easily be opened later. Learning the combination splits further: the attacker finds it written down or gets it from the owner. Each node is a subgoal, and its children are ways to achieve it 1. Nodes are OR nodes by default, meaning the children are alternatives. AND nodes represent different steps toward the same goal, all of which must be achieved; Schneier's example is eavesdropping on the combination, which requires both eavesdropping on a conversation and getting the owner to say it 1.

Once the tree is drawn, values can be assigned to the leaf nodes and propagated upward. A first version marks each leaf possible or impossible. A more useful one assigns costs, so that the cost of the goal is the cheapest path to the root, and Schneier notes that any Boolean value can be propagated the same way, for example easy versus difficult, legal versus illegal, or special equipment required versus not 1. In his worked example, bribing the person who knows the combination costs $20,000. If a countermeasure raises that cost to $80,000, the cost of the goal rises only to $60,000, because another route, which he explains as hiring people to threaten the owner, becomes the cheapest 1. The point is that spending on one branch stops helping once another branch is cheaper.

Schneier ties the method to the opponent. He writes that attack trees must be married with knowledge about attackers, who differ in skill, access, risk aversion and money. Organised crime will accept attacks that risk jail, terrorists may accept dying, and against bored graduate students one usually need not worry about illegal attacks such as bribery 1. The article also gives an attack tree for the PGP e-mail program, and Schneier says a surprising result of this kind of analysis is that the areas people think of as vulnerable usually are not; for PGP, he says people worry about key length when the tree shows other attacks matter more 1.

Source · Attack Trees: Modeling security threats (opens in a new tab) · Bruce Schneier, Dr. Dobb's Journal

References

  1. Attack Trees: Modeling security threats (opens in a new tab) · Bruce Schneier, Dr. Dobb's Journal · December 1, 1999 ↩ ↩ ↩ ↩ ↩ ↩ ↩ ↩

Research articles

See what connects to it on the map of ideas →

See also