Interview Prep/DevSecOps/Secrets Management and Identity

What are common IAM privilege-escalation paths?

AdvancedConceptSecrets Management and Identity
Answer

Permissions that let a principal grant itself more: iam:CreatePolicyVersion, iam:AttachUserPolicy, iam:PassRole combined with ec2:RunInstances or lambda:CreateFunction (run something with a stronger role), iam:UpdateAssumeRolePolicy, sts:AssumeRole into admin roles, and lambda:UpdateFunctionCode on a privileged function.

Detect with Access Analyzer, Prowler or PMapper-style graph tools, restrict iam:PassRole to specific roles and services, and use permission boundaries for delegated admins.

All DevSecOps questions Roadmap: Supply chain, secrets & identity

More on Secrets Management and Identity