Skip to content

deanbushmiller/CEH-bootcamp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

154 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

links to mindmaps

Join the 200 for the full class IWANT200HQ3TFXWJ https://expandingsecurity.com/product/the-200-deposit/

Ways to build lab for 20250730

Will work for 20251105-06 class

AWS Lab Environment Deployment Guide

You will not need to install any software locally to run this lab.
You will need an AWS account and a creditcard on file with Amazon.
This will cost less than two dollars per hour while it is running
VERSION: 20250109.01

9 minute video walk-thru of lab setup & tear down https://vimeo.com/941430484

AWS account

To build your AWS account consider using a non-work / disposable email adddress.
You cannot use a one-time use email address.
https://portal.aws.amazon.com/billing/signup#/start/email

Choose a region

  • In order track costs easily deploy in an empty region (where no other machines are deployed).

Run this test to determine your closest region:

Create SSH keypair in EC2

  1. Login to the AWS Console
  2. In left sevices search type key pairs
  3. On right click "create key pair"
  • This is used to create an SSH key pair for connecting to the attacker machine in emergencies.
  1. Name your key 'lab' and append today's date, Example 'lab20251104'
  • Windows = .ppk / Everyone else .pem
  1. Click create key pairs.
  • The key will automatically download

Resource Deployment

  1. Search for CloudFormation in service
  2. On right Click Create Stack > With New Resources (standard)
  3. Template source, https://20241231-always-up-rid3031.s3.us-east-1.amazonaws.com/CAP-flag-20251104v4.yml
  4. Click Next
  5. Fill in the parameters
  • Name stack:
    • Same as key pairs from above
  • PublicIpAddress:
  • SSHKeyPair:
    • key pair you created before will be listed in the drop down
  1. Click Next
  2. Scroll to bottom: you must CHECK I acknowledge that AWS CloudFormation might create IAM resources.
  3. Click (Create stack)

Wait 5 min

It will take up to 5 minutes for the resources to be created

Connecting to Guacamole

  1. Search for EC2 console at top of AWS interface / click Instances and sub menu Instances / right side will show your running machines
  2. Identify the guacamole public IP address
  • Name of instance will say "This-Pub-IP-ADDRESS-GUAC"
  1. Copy & Paste IP into your browser
  2. Login kali with password kali

Smile your lab is ready

Cleaning Up

When you are done using the solution, you will want to tear down the resources you built in order to prevent unwanted costs in your AWS account.

You will CONTINUALLY incur charges from AWS if you DO NOT clean up

Stopping instance will REDUCE charges and allow you to do the lab on your own.

CloudFormation clean up

  1. Go to AWS CloudFormation console, https://console.aws.amazon.com/cloudformation/home
  2. Select the stack you built previously and click Delete.
  • This will delete all resources for the solution
  • At this point, your account is clear of all resources created by this solution.

FILES

They are not perfect, if you have constructive ideas on improvement email me.

You do not need these files to attend class.

I do make changes and trim down these files at class time due to the compressed schedule

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors