We built a docker image which you can use to build and run the attack range. The image includes all needed binaries.
docker pull splunk/attack_range
docker run -it splunk/attack_range
az login
python attack_range.py configure
Install and configure Terraform:
brew update
brew install terraform
cd terraform/azure && terraform init && cd ../..
Install the Azure CLI:
brew install azure-cli
az login
Install and run Poetry:
curl -sSL https://install.python-poetry.org/ | python -
poetry shell
poetry install
Configure Attack Range:
python attack_range.py configure
Once the configuration is complete, you can proceed to build and control your range here
Install the required packages:
apt-get update
apt-get install -y python3.10 git unzip python3-pip curl
Install and configure Terraform:
curl -s https://releases.hashicorp.com/terraform/1.9.8/terraform_1.9.8_linux_amd64.zip -o terraform.zip && \
unzip terraform.zip && \
mv terraform /usr/local/bin/
Install the Azure CLI:
apt-get install -y azure-cli
az login
Install and run Poetry:
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -
poetry shell
poetry install
Configure Attack Range:
python attack_range.py configure
Once the configuration is complete, you can proceed to build and control your range here
We recommend using the Windows Subsystem for Linux (WSL). You can find a tutorial here. After installing WSL, you can follow the steps described in the Linux section.