AWS Lab Setup
Create Root Account and Budget
- Create a free tier AWS account and budget
- To create the budget, search for âBudgetsâ, create a budget, and set the cost to $0.
Install AWS CLI on Linux
- Visit here
- Copy the install command
- Paste it into the the terminal
- Verify with aws âversion
Enable Autocomplete for AWS CLI
âAWS enjoys making long and tedious commands for simple stuffâ.
- So setting this up will be super helpful.
- Run this command to modify your ~/.zshrc file
```
echo -e â\nexport PATH=/usr/local/bin/:$PATH\nautoload bashcompinit && bashcompinit\nautoload -Uz compinit && compinit\ncomplete -C â/usr/local/bin/aws_completerâ awsâ » ~/.zshrc
source ~/.zshrc
3. Verify command completion
aws s[tab]
```
CloudGoat Setup
Prerquisites
To setup CloudGoat, we need to install a few different tools. We will need the following to begin:
- Python 3.9 or higher
- AWS CLI - sudo apt install aws
- Terraform - Just download binary and move into $PATH
- jq (a command-line JSON parser)
- pipx (for Python package isolation)
- And CloudGoat of course - pipx install git+https://github.com/RhinoSecurityLabs/cloudgoat.git
- Create an IAM user with AdminstratorAccess
- Click on our user and setup an access key:
- aws configure âprofile
- set access key and secret, region us-east-1, and output : json works.
Confgiure CloudGoat
- âcloudgoat config awsâ - set default aws configuration file
- âcloudgoat config whitelistâ - Whitelist the IP to access resources (home IP)
The AWS exploitation framework, designed for testing the security of Amazon Web Services environments.
Install! with PIPx - âpipx install git+https://github.com/RhinoSecurityLabs/pacu.gitâ