AWS CLI

Usefull commands - AWS CLI

Keep track of profiles

cat ~/.aws/credentials

Configure a named profile

Or

Or

Information about configured identity

Account ID

Stored Credentials

Windows

Linux

Enumeration - Users

List the IAM groups that the specified IAM user belongs to :

List all manages policies that are attached to the specified IAM user :

Lists the names of the inline policies embedded in the specified IAM user :

Get policy

Enumeration - Groups

IAM Groups

All users in a group

All managed policies that are attached to the specified IAM Group

Names of the inline policies embedded in the specified IAM Group

Enumeration - Roles

List of IAM Roles

All managed policies that are attached to the specified IAM role

Names of the inline policies embedded in the specified IAM role

Enumeration - Policies

List of all iam policies

Information about the specified managed policy

Information about the versions of the specified manages policy

Information about the specified version of the specified managed policy

One of the permissions is iam:CreatePolicyVersion ? Use this to create a new version of the attached policy with privileged access

Specified inline policy document that is embedded on the specified IAM user / group / role

Enumeration - Cloud Services (EC2, S3 etc.) in an Organization AWS Account

This might not return any results if you aren't in the same region. -> Run pacu ec2__enum module

Enumeration - Get Bucket Policy

DynamoDB

CodeCommit

Interesting Book

Interesting Books

Disclaimer: As an Amazon Associate, I earn from qualifying purchases. This helps support this GitBook project at no extra cost to you.

Last updated