Cloud Goat
Setup
Terraform
sudo apt-get update && sudo apt-get install -y gnupg software-properties-common curl
curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add -
sudo apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main"
sudo apt-get update && sudo apt-get install terraform
terraform -help
Awscli
sudo apt-get update && sudo apt-get install awscli
Create iam-user
You need to have aws account. Go to https://console.aws.amazon.com/iamv2/home#/users and create iam user. And give this user to administrative access. After creating account, you have id and acess key.
aws configure --profile cloudgoat
Install Cloudgoat
git clone https://github.com/RhinoSecurityLabs/cloudgoat.git
cd cloudgoat
pip3 install -r ./core/python/requirements.txt
chmod u+x cloudgoat.py
./cloudgoat.py config profile
./cloudgoat.py config whitelist --auto
./cloudgoat.py create iam_privesc_by_rollback
./cloudgoat.py destroy iam_privesc_by_rollback
Last updated
Was this helpful?