AWS
Buckets and AWS Console
# List the content of a bucket using aws console.
aws s3 ls s3://<LOCATION> --no-sign-request
# Interact with s3 web api
aws --endpoint=http://s3.domain.com s3 ls
aws --endpoint=http://s3.domain.com s3 ls s3://discoveredbucket
# Download content from a bucket
curl http://<LOCATION>.s3.amazonaws.com/<ITEM>.xml
aws s3 cp s3://<LOCATION>/<ITEM>.xml . --no-sign-request
# Upload shell non-secure to s3 bucket
aws --endpoint=http://s3.domain.com s3 cp shell.php s3://domain.com
# Sign in with Credentials. Creds stored in .aws/config and .aws/credentials
aws configure --profile <PROFILENAME>
aws s3 ls --profile <PROFILENAME>
# Find account ID belonging to access key
aws sts get-access-key-info --access-key-id <KEYVALUE>
# Get Username access key belongs to
aws sts get-caller-identity --profile <PROFILENAME>
# Get EC2 instances for an account
aws ec2 describe-instances --output text --profile <PROFILENAME>
aws ec2 describe-instances --output text --region us-east-1 --profile <PROFILENAME>IAM (Identity and Access Management)
Identity Federation.
Access Advisor & Analyzer
General Access Control Rules:
IAM Rule Creation
AWS VPC (Virtual Private Cloud)
Cloud trail
Region Deny
Amazon Simple Storage Service (s3)
Last updated