Table of Contents
There are already a lot of red team infrastructure as code but none for a simple and fast internal use. So I want to build a simple and useful red team infra hosted on VirtualBox and then on vmware for a more professional use.
Why internal use ? Most infrastructure as a code are designed to be hosted on Amazon AWS or DigitalOcean but I don't want to pay an external host just for internal use.
Why Virtualbox ? This infrastructure is designed for Virtualbox so that it can also be used by students who are tired of rebuilding their infra at every project.
Why Terraform ? Terraform is simple to use and allows a destruction of the whole infrastructure in just one command line. Moreover it allows the integration of ansible playbooks easily.
What you need before launching on your host :
-
Launch Virtualbox.
-
Clone the repo :
git clone https://github.com/N1neKitsune/PhoenixInfra/ cd PhoenixInfra/
-
Change the variables files
variables.tf
with your own parameters. -
Build and launch Infra with Terraform in the
PhoenixInfra
directory:If you are on linux :
bash ./launch.sh
If you are on windows :
./launch.ps1
-
Wait for terraform to do it all while drinking a 🍺.
-
When finished, close the terminal, go back to Virtualbox and enjoy your infrastructure.
Distributed under the MIT License. See LICENSE.txt
for more information.
Thanks to all authors of these resources that allowed me to create the project.