04
AWS IAM Attack Paths, Closed
Cloud privilege-escalation paths walked by hand on training targets, each paired with the least-privilege policy that shuts it.
AWS IAM Attack Paths, Closed is a Cloud Security project by Kolade Eniola. Shipped 2026-11-02 with public source.
What it proves
Eight least-privilege policies close the findings from flaws.cloud, flaws2.cloud and CloudGoat. The IAM policy simulator allows the rollback escalation under the broken policy and denies it under the fix.
Done when
Each attack path walked, its least-privilege fix written as policy, and the fix proven by the IAM policy simulator.
Evidence
Most cloud breaches are identity problems wearing a different hat. Three training targets
were worked in a throwaway AWS account: the six levels of flaws.cloud, the attacker path of
flaws2.cloud through Lambda and ECS, and CloudGoat’s iam_privesc_by_rollback, where an old
policy version grants admin and the user may switch to it.
Each finding has its broken policy and its least-privilege replacement as the JSON AWS applies. A linter runs in CI with no AWS account: no fixed policy may grant admin or a loose escalation action, and every broken policy must still trip the linter, so it cannot pass on everything by accident.