← Learn
Dangerous
aws iam update-assume-role-policy --role-name deploy --policy-document '{"Version":"2012-10-17","Statement":[{"Effect":"Allow","Principal":{"AWS":"*"},"Action":"sts:AssumeRole"}]}'

cross-platform · bash · Nightmare

Rewrites the role's trust policy so any AWS principal anywhere can assume it. The role's permissions do not change, which is what makes…

The full explanation and danger signals for this pack are part of Pro.

Think you can spot these under time pressure?

Start Training

More Privilege Escalation