AWS Cli

Install and add key:

pip3 install awscli
aws configure

# other userful tools
pip install awscli ansi2html detect-secrets boto3 principalmapper botocore defusedxml enum python_dateutil lxml signxmlManual

Enum:

Users/Groups:

# list all user's info
aws iam list-users

# list current user's info
aws iam get-user

# list all access keys
aws iam list-access-keys

# list all groups
aws iam list-groups

# list users, for a given group
aws iam get-group --group-name FullAdmins

Policies:

Ec2:

Lambda:

SSM:

S3:

S3Api:

DynamoDB:

RDS:

Privesc:

Policy based:

Escalate:

Tools:

Upgrade to console access:

Last updated