Have you ever needed to scan 3 million hosts with masscan? What about running EyeWitness on 5k servers.. Without sacrificing accuracy, those things will take quite awhile! What if you could stand up 50 EC2 instances to each take a small part of the work, have each of the instances spit the results to an S3 Bucket, and then spin down the instances. All while staying in the Free AWS Tier. This Terraform module lets you do that!
Yes, thats it! The scripts contained here configure the EC2 instances, kick the actions off and throw the results into an S3 bucket for you.
git clone https://github.com/jordanpotti/OffensiveCloudDistribution
terraform apply; You will need to enter a couple values here such as how many instances, the host name, the IP you want to SSH into the instances with and a line delimited list of IP's to scan.
.pemfile to SSH into the servers.
terraform destroysince this will destroy your S3 bucket as well.
readmelocated in the
To bypass the module asking for variables, simply add a
terraform.tfvars file in the
gcp_tf directory to add the values, eg:
secret_key = "" access_key = "" scan_list = "" instance_count = "" allow_ingress = "" host_name = ""
Currently, the Terraform module here is based on AWS and GCP, PR's are welcome :)
Please be aware of the AWS and GCP Free Tier rules. Using instances that qualify for the free tier, you can utilize 750 hours per month. By modifying certain pieces of the Terraform module (Like changing the instance size), and not destroying resources after your job is done, you will likely incur hefty charges.