Skip to content

mikewhiteman/kali-rdp-packer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

kali-rdp-packer

I wrote this packer template to build an AMI I could use to quickly deploy Kali EC2 boxes for my students in Baruch's CIS4093/4560 classes. This script will generate an up to date Kali AMI w/ RDP configured that you can then deploy in your desired CTF configuration either via AWS GUI, API, Terraform, etc.

Usage

  1. Define your AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables
  2. Update vpc_id and subnet_id with your desired VPC and subnet to spin up the temporary EC2 instance. This is the instance that will be used to create the AMI and will destroyed after the AMI is created. Alternatively, you can leave these blank to use the default VPC configuration
  3. Run packer build to begin generating the AMI
  4. Once you have the AMI created, you can optionally use the add_users.sh script during deployment to generate user accounts with random passwords (note that passwords will be logged - this was an acceptable risk given our setup, but you'll want to make your own assessment)

About

Packer template for Kali w/ RDP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages