Coder Social home page Coder Social logo

redteamdeploy's Introduction

RedTeamDeploy

Deploy redteam infrastructure using Docker Compose. RTD focuses on allowing infrastructure to be rapidly setup and deployed. RTD has multiple different deployment options. Each deployment is a different docker-compose file that presumably is to be run on a unique server.

Notes and Warnings

Modification
Each of these services are meant to work together in a group. If you want to deploy a single service from the list, it will be best just to use the Dockerfile for the service as opposed to using only parts of these deployments.

Security
These services are meant for Red/Blue security competitions, they will be running for, at most, a few days. They are hacked together, crash, and may contain security issues and not-best-practice deployments. THEY ARE NOT MEANT FOR PRODUCTION OF ANY KIND

Scale
These services are, for the most part, very tiny. For the cloud deployment, all of the services can reasonably be deployed on a box with 4GB of RAM and a few GB of storage. You COULD run them on seperate hosts but for the most part that should not be an issue.

Improvements
There are other unique tools which could help with our deployments. OInvestigate these further to determine usability:

Deployment Options

Cloud Deployment

These servers are meant to be external upstream services and agregation points. They are deployed publically and with domain names. Each one is hosted on port 80 reverse proxied behind an NGINX container. See Cloud Deployment for full deployment information.

Internal Deployment

Deploys internal services that require private IP addresses. Most often deployed day-of on a local machine. See Internal Deployment for full deployment information.

  • Sangheili - Proxying service
  • The Ark - Internal IP adresses management
  • Multiple Halos - Reverse proxying services for each C2 as needed

Running and Setup

Running a deployment option should be as simple as starting that docker-compose file. But first, make sure you have completed the following steps to get your competition going:

Once everything is completed, you may run the following commands to get it up and running:

docker-compose -f deployments/cloud.yml build
docker-compose -f deployments/cloud.yml up -d

TODO

  • Add Ark password and token values
  • Test internal deployment
  • Get Sangheili to point to the Ark properly
  • Develop testing script for all the services as a healthcheck

redteamdeploy's People

Contributors

nullmonk avatar rap7or avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.