Repository navigation
Visualization
Aurora Navas edited this page Mar 13, 2026
·
7 revisions
- Create/find a MAL scenario file (.yml/.json)
Install and use mal-gui to load your model file (.yml or .json). You can follow this tutorial.
For this option, you need:
- A MAL model language file (.mal)
- A MAL model file (.yml/.json)
The MAL-toolbox CLI supports visualizing an attack graph in graphviz, neo4j or drawio when it is generated through the CLI.
In this case, we need to install Graphviz first. You can follow this link.
Run this command: maltoolbox generate-attack-graph --graphviz <model_file> <lang_file>
This command will output two visualization files:
<model_name>-attack_graph.gv<model_name>-attack_graph.gv.pdf
- Create/find a MAL model language file (.mal)
- Create/find a model file (.py)