Skip to content

amjadKhalifah/ATCM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ATCM

Build Status

Installation

mvn install -DskipTests

Usage

General

usage: extractr [ATTACK/FAULT TREE] [-e <file>] [-u <users>]
Extract causal model from ATTACK or FAULT TREE.
 -e <file>    path to export directory
 -u <users>   unfold attack tree using passed user file
Supported modelling tools: EMFTA, ADTool
  • Export attack and fault tree as XML using ADTool and EMFTA, respectively. The former needs to have .adt and the latter .emfta as file extension.
  • If you want to export the generated report as well as the causal model as graph specification, pass a directory using the -e option.
  • For user attribution, define the path to a file containing user specifications and assign it to the -u option.

Example

$ java -jar target/extractr-0.1.jar src/test/resources/user_attribution/Steal_Master_Key.adt -u src/test/resources/user_attribution/users.xml -e /Users/simon/Desktop/extractr

Convert Causal Graph to PDF

  • When exporting the result of this tool, a graph specification in a graph description language DOT is created.
  • This textual representation can be converted into a graph in various file formats (e.g. PDF, PNG) using the dot command line tool by GraphViz.
# PDF
$ dot Steal_Master_Key.adt_causal_graph.dot -Tpdf -o graph.pdf

# PNG
$ dot Steal_Master_Key.adt_causal_graph.dot -Tpng -o graph.png

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages