Simulation environment for attacks on computer networks
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
Thorsten Sick a9226eab1f Added experiment yaml for FIN7 experiments 4 years ago
app FIN7 step 5 works. mimikatz plus uac bypass is very likely flaky. Depending on target os version 4 years ago
doc Added experiment yaml for FIN7 experiments 4 years ago
plugins Added experiment yaml for FIN7 experiments 4 years ago
systems
tests
tools Updated shipit to als add resources in plugin sub folders 4 years ago
.gitignore
CONTRIBUTING.txt
CONTRIBUTORS.txt
Makefile
README.md
caldera_control.py
caldera_subset_classic.txt
experiment_control.py Extended code documentation 4 years ago
init.sh
machine_control.py
metasploit_control.py First metasploit command called successfully 4 years ago
plugin_manager.py
pylint.rc
requirements.txt
requirements_dev.txt
setup.py
template.yaml
tox.ini Sensors can now defined which files are part of the loot 4 years ago

README.md

PurpleDome creates simulated systems which hack each other

It creates several virtual machines to simulate a target network. A Kali attacker will be spawned and use configured attacks to blast at the targets. Those attacks can be Kali command line tools, Caldera abilities or Metasploit tools.

The goal is to test sensors and detection logic on the targets and in the network and improve them.

The system is at the same time reproducible and quite flexible (target system wise, vulnerabilities on the targets, attacks).

Installation

Setting up the python environment:

./init.sh

The typical local use case is to create the machines using Vagrant and running them in VirtualBox:

... sudo apt install vagrant virtualbox ...

You will have to switch into the python environment to run it

Before using any PurpleDome commands switch into the python environment:

... source venv/bin/activate ...

(this will contain the libraries in the required versions)

Testing

Basic code and unit tests can be run by

make test

That way you can also see if your env is set up properly

Running the basic commands

All command line tools have a help included. You can access it by the "--help" parameter

... python3 ./experiment_control.py -v run ...

  • -v is verbosity. To spam stdout use -vvv
  • run is the default command
  • --configfile is optional. If not supplied it will take experiment.yaml

Most of the configuration is done in the yaml config file. For more details check out the full documentation

The real documentation

This README is just a short overview. In depth documentation can be found in the doc folder.

Documentation is using sphinx

https://www.sphinx-doc.org/en/master/index.html

Generate it switching to the directory doc and calling

make all