Skip to content

totekuh/redsmoke

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

General Information

One-button-push infrastructure solutions manageable via Terraform.

redsmoke consist of terraform scripts for deploying various machines used within an infrastructure you're looking for on a pentest or red team engagement.

redsmoke includes the following units:

  • generic-unit:

    • A free-tier Kali image
    • A free-tier instance type (t2.micro)
    • Pre-configured firewall rules:
      • 22/tcp from everywhere
      • 80/tcp from everywhere
      • 443/tcp from everywhere
    • SSH keys auto-generated per instance creation
  • vpn-unit:

    • A free-tier Kali image
    • A free-tier instance type (t2.micro)
    • A pre-configured OpenVPN server
    • Pre-configured firewall rules:
      • 22/tcp from everywhere
      • 1194/udp from everywhere

Installation

Installing AWS CLI

apt install awscli
aws configure

Installing Terraform (Ubuntu)

Cloning redsmoke

git clone https://github.com/cyberhexe/redsmoke
cd redsmoke

Usage

Creating the infrastructure

generic-unit

Deploying a generic cloud unit:

cd generic-unit
terraform init
terraform apply -auto-approve

Terminating a generic cloud unit:

cd generic-unit
terraform destroy -auto-approve

vpn-unit

Deploying a VPN unit:

cd vpn-unit
terraform init
terraform apply -auto-approve

Terminating a VPN unit:

cd vpn-unit
terraform destroy -auto-approve

Releases

No releases published

Packages

No packages published