Skip to content

deanbushmiller/CEH-bootcamp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Ways to build lab 20240430

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: 20240430.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

Follow the steps here This is used to create an SSH key pair for connecting to the attacker machine in emergencies. Name your key 'lab' and append today's date, Example 'lab20240430' Windows users = .ppk The key will automatically download

Deployment Guide:

  1. Login to the AWS Console
  2. Search for CloudFormation in service
  3. Click Create Stack > With New Resources (standard)
  4. Give the stack same name as your SSH key, Example 'lab20240430'
  5. For template source, https://20240311-drb-ctf.s3.amazonaws.com/CAP-flag-v3.yml This may be turned off until class time
  6. Fill in the parameters
  • PublicIpAddress: Your public IPv4 address. This can be acquired by searching https://whatismyipaddress.com/
  • SSHKeyPair: key pair you created above 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)

Next Step -wait

It will take several minutes for the resources to be created

  • You only need the public IP address of the Guacamole (this is a browser that only lets you connect to your KALI instance)

Connecting to Guacamole

  1. Search for E2 console at top of browser
  2. Identify the guacamole public IP address
  • Name of instance will say "This-Pub-IP-ADDRESS-GUAC"
  1. Type IP into your browser
  2. Login kali with password kali
  • the first time this console loads it might take 5 minutes for the interface to display

Smile yout 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

No packages published