Automating Your Red Team Infrastructure

by elrey741

These slides:

short: http://bit.ly/red-ops add a + to preview

long: https://slides.com/elrey741/redops/live

whoami

RED OPS

But first...

Automation

  • pentesting
    • bash
    • python
    • ruby (metasploit)
    • lua (nmap scripts)
    • etc...
  • infrastructure?
    • lab?
    • updated kali?
    • github projects?
    • I don't....

Packer

  • from hashicorp

    Packer is easy to use and automates the creation of any type of machine image.

Vagrant

  • from hashicorp
     

    Vagrant is a tool for building and managing virtual machine environments in a single workflow.

Terraform

  • from hashicorp

    Terraform provides an elegant user experience for operators to safely and predictably make changes to infrastructure.

Vagrant cont...

Overview

  • Magic?
    • packer
    • vagrant
    • terraform
  • Kali
    • custom tools
  • Environments
    • av testing
    • network IDS/IPS
  • Potential
    • limitless

the rabbit hole...

  • top three pentesting use cases
    • time
    • customized vm
    • fresh install

Packer

Vagrant

Terraform

  • Want to go even farther?
  • Don't want to build from scratch?
  • Automate home pentesting lab
  • Automate C2 infrastructure

pre reqs and packer demo

pre reqs and vagrant training demo

pre reqs and terraform demo* (will do)

Final Info

Automating_Your_Red_Team_Infrastructure

By elrey741 (Alex)