Skip to content

maxburkhardt/midnight-net

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

midnight-net

This repo contains tools to automatically set up a practice hacking environment. It was originally designed for educational hackathons. The goal of the Midnight Net is to provide a challenge that is based as much as possible in how real systems are compromised.

Quick Start

First, you'll need Terraform and Ansible. Install those before proceeding. You'll also need a Python 3 runtime.

Second, create credentials in credentials/ as per the sample files. For each sample file, you will need to create a real version without the .sample suffix. For instance, you will need to create an aws-credentials file with actual, working AWS credentials.

Then, run the following sequence of commands:

cd terraform
terraform init
terraform apply
cd ../ansible
./apply.sh

Note that terraform init is only needed the first time you set up a midnight net.

Once you're done with the environment, cd into the terraform/ directory, and run terraform destroy. That will clean up all midnight resources and stop incurring AWS bills.

About

Set of tools to automatically build a network for "Midnight Net", for security training games.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors