Hacktricks Aws [ Working ⟶ ]
You search for iam:PassRole . The page explains:
This is arguably the most valuable part. It lists specific IAM actions that, if an attacker has them, can be used to escalate privileges. hacktricks aws
For each service (S3, EC2, Lambda, RDS, IAM, etc.), it provides a quick reference of CLI commands to enumerate resources. You search for iam:PassRole
If you're interested in learning more about AWS security and HackTricks, I recommend checking out the official HackTricks website or searching for relevant articles and tutorials online. if an attacker has them