PAGAN
Parametrized Attack GenerAtioN
A Scenario
and Terrain
generation engine.
Parametrization
Parametrization is done via configuration files, that are then specified on the command line. There are three necessary parametrizatoion primitives:
- Personas: a directory containing configuration files describing the users of the target infrastructure. As an example, see the
.\profiles\
subfolder. - Attacker goal: Example
goal.json
. - Topology parameters: Example
topo.json
.
The syntax of the config files is defined via json schemas
in the folder .\schemas\
.
Usage
-
Ensure that the database is up and running with its API (see
pagan-rs
). -
Create the poetry environment (if not yet up) with
poetry install
-
Run
poetry run python pagan\main.py
-
Wait for completion. the results will be written to the
.\output\
folder.