Privilege Escalation in AWS occurs when a principal obtains permissions beyond what was intended. This typically happens through IAM misconfigurations that allow a user to modify their own permissions or create new high-privilege identities.
iam:CreatePolicy + iam:AttachUserPolicy - create an admin policy and attach it to yourselfiam:PassRole + lambda:CreateFunction - pass a high-privilege role to a new Lambda function you controliam:CreateLoginProfile - create console access for another user, then log in as themiam:UpdateAssumeRolePolicy - modify a role's trust policy to allow yourself to assume itsts:AssumeRole on overly permissive roles - assume a role with broader permissionsiam:* - scope IAM permissions carefullyiam:PassRole to specific role ARNsThe security principle of granting only the minimum permissions needed to perform a task - no more, no less.
An advanced IAM feature that sets the maximum permissions an IAM entity can have, acting as a ceiling on what identity-based policies can grant.
The scope of impact when a security incident occurs - how many resources, accounts, or users are affected. Smaller blast radius means better security posture.
A JSON document that defines permissions - which actions are allowed or denied on which AWS resources, and under what conditions.
Toc Consulting: AWS Security & Cloud Architecture
Our team helps engineering teams secure and architect AWS the right way: assessment in week one, a prioritized action plan in week two.