AWS IAM Privilege Escalation Detector

•
4.1k
•

Identifies dangerous AWS IAM privilege escalation paths and least-privilege violations using boto3 and Cloudsplaining analysis.

This skill enables security professionals and developers to proactively secure AWS environments by detecting misconfigurations in Identity and Access Management (IAM) that lead to privilege escalation. By automating the analysis of account authorization details, it flags high-risk permission combinations such as iam:PassRole with lambda:CreateFunction or unauthorized policy versioning. The skill maps relationships between principals and policies, audits wildcard resource usage, and generates a prioritized JSON report with actionable remediation guidance, making it indispensable for threat hunting, incident response, and maintaining security compliance.

Key Features

01Automated scanning of IAM authorization details via boto3
02Mapping of principal-to-policy relationships to visualize attack vectors
03Audit of wildcard resource (*) policies for dangerous actions
044,120 GitHub stars
05Detection of high-risk permission combinations (e.g., iam:PassRole, iam:CreatePolicyVersion)
06Prioritized reporting with severity scores and remediation recommendations

Use Cases

01Conducting automated security audits to enforce least-privilege principles across AWS accounts
02Investigating security incidents to identify potential lateral movement and escalation paths
03Validating security monitoring coverage and building custom threat hunting queries