Skip to content

nickvourd/SkyFall-Pack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SkyFall-Pack

Your Skyfall Infrastructure Pack



Static Badge GitHub Repo stars GitHub forks GitHub watchers

Description

SkyFall-Pack is an infrastructure automation pack for C2 operations. It leverages Cloudflare Workers as redirectors and an Azure VM as the teamserver.

The following list explains the meaning of each pack:

  • Workers-Pack: A Go-based pack that automates the generation of wrangler.jsonc and index.js.
  • Scripts-Pack: Bash scripts that initiate and configure the process.
  • Terraform-Pack: A Terraform pack that contains all the code for deploying the Azure VM.
  • Ansible-Pack: An Ansible pack that contains all the code for configuring the Azure VM.

This project created with ❤️ by @nickvourd && @kavasilo.

Special thanks to @kyleavery_ for all the valuable tips.

Table of Contents

Installation

Install the following dependencies on your local machine.

For Linux:

sudo apt install terraform npm ansible golang azure-cli -y

For Mac:

brew install terraform azure-cli node wrangler ansible go

Usage

Authentication

  • Cloudflare
npm exec wangler login
  • Azure
az login

Build Infra

  • Clone The Project
git clone https://github.com/nickvourd/SkyFall-Pack.git
  • Azure VM (Team Server)
./Scripts-Pack/setup.sh -l <location> -u <username> -n <resource_group_name> -s <ssh_filename> -d <dns_name>
  • Configure Azure VM (Team Server)
./Scripts-Pack/run_ansible.sh -f <keystore_filename> -p <password> -c <custom_header> -s <secret_value>
  • Cloudflare Worker
npm create cloudflare
  • Configure Cloudflare Worker
./WorkerMan build -t <teamserver_hostname> -w <worker_hostname> -c <custom_header> -s <secret_value>

References