Cloud hacking cheat sheet
Amazon
Install awscli
S3 Bucket Enumeration
Search for public buckets from a company using lazys3
Search for public buckets from a company using s3scanner
Dump all open buckets and log both open and closed buckets using s3scanner
Save the file listings of all open buckets to a file using s3scanner
Escalate IAM User Privileges by Exploiting Misconfigured User Policy
Insert:
Attach the created policy (user-policy) to the target IAM user’s account:
aws iam create-policy --policy-name user-policy --policy-document file://user-policy.json
aws iam attach-user-policy --user-name [Target Username] --policy-arn arn:aws:iam::[Account ID]:policy/user-policy