ADTool: Security Analysis with Attack-Defense Trees

Barbara Kordy, Piotr Kordy, Sjouke Mauw, Patrick Schweitzer

TL;DR

This paper introduces ADTool, a free and open-source software that allows for the graphical modeling and quantitative analysis of security threats using attack-defense trees. It addresses the need for a user-friendly, integrated tool that supports both the creation and analysis of complex security models, which are crucial for risk management in various industries.

What Problem Does This Paper Address?

In today's complex digital landscape, understanding and mitigating security risks is paramount. Traditional methods for security analysis, like attack trees, often fall short by focusing solely on attacker actions. Attack-defense trees (ADTrees) offer a more comprehensive approach by incorporating both attacker actions and defender countermeasures, essentially modeling security as a game between two opposing players. However, creating and analyzing these complex ADTrees manually can be tedious, error-prone, and computationally intensive. Existing tools are often proprietary, expensive, or lack integrated quantitative analysis capabilities. This paper addresses the need for a practical, accessible, and robust tool that simplifies the creation, management, and quantitative evaluation of ADTrees.

Methods

The ADTool provides a graphical user interface (GUI) for creating ADTrees, allowing users to visually represent attack and defense scenarios. It supports the creation of attack trees, protection trees, and defense trees as specific instances of ADTrees. The tool guides users in constructing syntactically correct models and offers intuitive keyboard shortcuts for editing. A key feature is the automatic generation of ADTerms, an algebraic representation of ADTrees, which are kept synchronized with their graphical counterparts.

For quantitative analysis, ADTool implements a bottom-up evaluation algorithm. This algorithm computes numerical values for various security attributes (e.g., cost, time, probability, skill level) for each node in the tree, starting from the atomic actions (non-refined nodes) and propagating upwards to the root. The tool supports different attribute domains to model sequential and simultaneous actions, and it automates calculations to minimize user input and avoid errors. It also includes features for managing large models, such as folding, expanding, and zooming, and allows exporting models to various formats for presentations and publications.

Datasets

Not discussed in the paper.

Key Insights and Ideas

  • Integrated Attack and Defense Modeling: ADTrees, and by extension ADTool, provide a more realistic security analysis by explicitly modeling the interplay between attackers and defenders, moving beyond single-perspective attack trees.
  • User-Friendly Graphical Interface: The tool's emphasis on a user-friendly GUI significantly lowers the barrier to entry for security modeling, making it accessible to a wider range of users, not just those with deep theoretical knowledge.
  • Automated Quantitative Analysis: The automatic bottom-up evaluation of security attributes is a major advantage, enabling quick and accurate computation of risk metrics without manual calculation, which is prone to errors.
  • Model Synchronization: The tight coupling between the graphical ADTree and its algebraic ADTerm representation ensures consistency and simplifies model management.
  • Extensibility: The modular architecture, particularly the design of Domain Classes, allows for easy extension of the tool's capabilities by defining new security attributes.

Key Results

The ADTool has been extensively tested and is capable of handling realistic models with several thousand nodes. The quantitative analysis algorithm scales linearly with the size of the tree, meaning computations are performed almost instantaneously. The tool has been successfully used in a case study for quantitative threat analysis of an electronic voting system. The paper highlights that ADTool is a viable alternative to commercial tools due to its comprehensive features, theoretical soundness, and open-source nature.

Limitations and Future Work

The paper acknowledges that the graphical display of very large models (over ten thousand nodes) can introduce delays due to recalculations of node positions. While implemented in Java for cross-platform compatibility, a C++ implementation might offer better performance. Future work includes combining ADTrees with Bayesian Networks for probabilistic reasoning about dependent actions and implementing newly identified features. The authors are also working on improving the tool's capabilities for handling large-scale models.

Summary updated

BibTeX
@inproceedings{kordy2013adtool,
  author = {Barbara Kordy and Piotr Kordy and Sjouke Mauw and Patrick Schweitzer},
  title = {{ADTool: Security Analysis with Attack-Defense Trees}},
  booktitle = {Qest},
  year = {2013},
  doi = {10.1007/978-3-642-40196-1\_15},
}
Figure