AWS IAM Enumeration
Configure AWS cli
aws configureOR configure it using a profile
aws configrue --profile EXAMPLE_NAMEThe credential file is located in
~/.aws/credentialsCommands:
1) Listing IAM access keys
aws iam list-access-keys Enumerating IAM users
1) Checking credentials for the user
aws sts get-caller-identity 2) Listing IAM users
3) Enumerate users and roles via S3 Bucket Policy
4) Listing the IAM groups that the specified IAM user belongs to
5) Listing all manages policies that are attached to the specified IAM user
6) Listing the names of the inline policies embedded in the specified IAM user
Enumerating IAM groups
1) Listing IAM groups
2) Listing all managed policies that are attached to the specified IAM Group
3) Listing the names of the inline policies embedded in the specified IAM Group
Enumerating IAM Roles
1) Listing IAM roles
2) Listing all managed policies that are attached to the specified IAM role
3) Listing the names of the inline policies embedded in the specified IAM role
Enumerating IAM Policies
1) Listing of IAM policies
2) Retrieving information about the specified managed policy
3) Listing information about the versions of the specified manages policy
4) Retrieving information about the specific version of the specified managed policy
Retrieving the specified inline policy document that is embedded on the specified IAM user / group / role
Last updated