Git Product home page Git Product logo

c2spawn's Introduction

What is this?

A Red Team C2 Automation using Terraform/nebula/caddy/linode

In short, it is a dirty Windows port of this project: https://github.com/maliciousgroup/C2_Automation with minor fixes and improvements for stuff that was not working for me :)

To know more you can check the amazing blog post here: https://blog.malicious.group/automating-c2-infrastructure-with-terraform-nebula-caddy-and-cobalt-strike

What do I need to do?

  • Download the project into C:\dev\
  • Open the project with Pycharm and create a virtual env
    • pip install pyyaml
    • pip install python-terraform
  • Download Terraform.exe and place into C:\dev\C2Spawn\.venv\Scripts
  • Add your linode token and domain name into the file variables.tf
  • Add linode DNS servers in your domain control panel
  • Add your own cobaltstrike.zip server files into C:\dev\C2Spawn\templates\files
  • Option 1 (Manual way for debug purposes)
    • Open the terminal in pycharm, move into C:\dev\C2Spawn\templates
    • terraform.exe init
    • terraform.exe apply
  • Option 2 (Automated)
    • Run main.py
  • Once the infra is up, on the operator machine run Nebula by using C:\dev\C2Spawn\templates\configs\nebula\operator_start.ps1
  • Connect to CS server at IP 192.18.100.200

c2spawn's People

Contributors

castexyz avatar

Watchers

 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.