- The old way to build labs is in the wiki page https://github.com/deanbushmiller/CEH-bootcamp/wiki/Z-Non-oreilly-way-to-build-lab
- The new way (below) requires the O'Reilly images to be uploaded
- We can build the lab at the beginning of class
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
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
- In order track costs easily deploy in an empty region (where no other machines are deployed).
- https://cloudpingtest.com/aws
-
200 ms is going to slow your lab down.
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
- Login to the AWS Console
- Search for CloudFormation in service
- Click Create Stack > With New Resources (standard)
- Give the stack same name as your SSH key, Example 'lab20240430'
- For template source, https://20240311-drb-ctf.s3.amazonaws.com/CAP-flag-v3.yml This may be turned off until class time
- 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
- Click (Next)
- Scroll to bottom: you must CHECK I acknowledge that AWS CloudFormation might create IAM resources.
- Click (Create stack)
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)
- Search for E2 console at top of browser
- Identify the guacamole public IP address
- Name of instance will say "This-Pub-IP-ADDRESS-GUAC"
- Type IP into your browser
- Login kali with password kali
- the first time this console loads it might take 5 minutes for the interface to display
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.
Stopping instance will REDUCE charges and allow you to do the lab on your own.
- Go to AWS CloudFormation console, https://console.aws.amazon.com/cloudformation/home
- 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.