IAM Authenticated Enumeration
IAM enumeration maps what identities exist and what they can do. Run this early — the results drive privilege escalation and lateral movement decisions.
Identify Current Identity
{
"UserId": "AIDA...",
"Account": "123456789012",
"Arn": "arn:aws:iam::123456789012:user/jdoe"
}
Enumerate Allowed Actions
Users
Roles
Policies
Permission Boundaries
A null result means no boundary — the principal is limited only by their attached policies.
Automated Enumeration with Pacu
Key Fields to Review in Policy Documents
When reading policy JSON, focus on:
"Action": "*"or"Action": "iam:*"— wildcard permissions"Resource": "*"— applies to all resources"Effect": "Allow"withsts:AssumeRole— role chaining paths"Condition"blocks — check if bypassablePassRole— allows attaching roles to services, common escalation path
Was this helpful?
Your feedback helps improve this page.