Back to Course
AWS IAM Privilege Escalation Labs
0% Complete
0/0 Steps
-
Introduction
About this course -
Real-world case studies
-
Useful IAM tips and security tools
-
Introduction to AWS Enumeration[LAB] Getting Started with the AWS CLI
-
[LAB] Introduction to AWS IAM Enumeration
-
[Cheat Sheet] IAM Enumeration CLI Commands
-
[LAB] Introduction to Secrets Manager Enumeration
-
[Cheat Sheet] Secrets Manager Enumeration CLI Commands
-
[LAB] Introduction to Amazon S3 Enumeration
-
iam:CreateAccessKey[LAB] [CTF] iam:CreateAccessKey PrivEsc
-
iam:CreateAccessKey Solution
-
iam:CreateLoginProfile[LAB] [CTF] iam:CreateLoginProfile PrivEsc
-
iam:CreateLoginProfile Solution
-
iam:UpdateLoginProfile[LAB] [CTF] iam:UpdateLoginProfile PrivEsc
-
iam:UpdateLoginProfile Solution
-
iam:SetDefaultPolicyVersion[LAB] [CTF] iam:SetDefaultPolicyVersion PrivEsc
-
iam:SetDefaultPolicyVersion Solution
-
iam:AddUserToGroup[LAB] [CTF] iam:AddUserToGroup PrivEsc
-
iam:AddUserToGroup Solution
-
iam:AttachUserPolicy[LAB] [CTF] iam:AttachUserPolicy PrivEsc
-
iam:AttachUserPolicy Solution
-
iam:AttachGroupPolicy[LAB] [CTF] iam:AttachGroupPolicy PrivEsc
-
iam:AttachGroupPolicy Solution
-
iam:PutUserPolicy[LAB] [CTF] iam:PutUserPolicy PrivEsc
-
iam:PutUserPolicy Solution
-
iam:PutGroupPolicy[LAB] [CTF] iam:PutGroupPolicy PrivEsc
-
iam:PutGroupPolicy Solution
-
iam:AttachRolePolicy[LAB] [CTF] iam:AttachRolePolicy PrivEsc
-
iam:AttachRolePolicy Solution
-
iam:PutRolePolicy[LAB] [CTF] iam:PutRolePolicy PrivEsc
-
iam:PutRolePolicy Solution
-
ChallengesAbout challenges
-
Challenge #1 - Secrets Unleashed
-
Challenge #2 - IAM Escape Room
-
ConclusionWhat did you think of the course?
-
What's next?
A great challenge, one thing that i like about this one is that we can check our PermissionsBoundary policies details and they will come handy in a sense that later on, you can see which given policies overlaps with the ones that are whitelisted for us that helps us narrow down our approach.
HINTS:
[challenge: Secrets Unleashed]
[LIST-USER-INLINE-POLICIES]
[LIST-GROUP]
[LIST-GROUPS-FOR-USERS]
[LIST_INLINE_GROUP_POLICIES]
[LIST_ATTACHED_GROUP_POLICIES]
[LIST-ROLES]
[GET-GROUP-INLINE-POLICY (INFRA)]
EXPLOIT STARTS HERE>>>
(with elevated privilidge u can list roles now)
[ATTACH-ROLE-POLICY]
[ASSUME-ROLE]
[AWS-CONFIGURE PROFILE]
[LIST-SECRETS]
[GET-SECRET-VALUE]
[DECODE]
I’ve been banging my head off a wall for the past 2 days trying to solve this while on nightshift. First day off, solve it in 10 minutes. Great challenge!!
Love this! Great job persevering. Hope others seeing this who don’t get it the first time get motivated to keep trying!