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?
I’d love your feedback on this challenge lab. Are you finding it too difficult? Is it a fun challenge? Let me know in the comments!
This course not only taught me how to think like an attacker, but also how easy it is to escalate privileges if excessive IAM permissions are present in the cloud. I honestly loved it and recommend it 100%!
Yay!!! That just made my day! Thank you for sharing, Mariana, and nice work getting through the entire course :)!
Hey @Christophe Limpalair 👋,
I just wanted to say that Challenge 2 was absolutely fantastic! 🎉 It’s evident that a lot of thought and effort went into crafting it. I really appreciated how it encompassed various learning strategies and commands. One of the standout features for me was how comprehensively it tackled IAM enumeration recon. 👏
A quick tip for fellow students: It’s super beneficial to create your own notes on AWS CLI commands. Not only will it assist you in cracking Challenge 1, but it’s especially handy for navigating through Challenge 2. 📝
Keep up the great work! Looking forward to more challenges ahead! 🚀
Great tip, Ritesh, and thank you for the fantastic feedback :)! Glad you enjoyed it!
I thoroughly enjoyed every aspect of this course. The content was engaging and well-structured, and I particularly appreciated the approach it took. Both challenges provided were not only interesting but also highly stimulating. I would strongly recommend this course to anyone interested in AWS Pentesting.
So glad you enjoyed it! Thank you for taking the time to write this comment and for enrolling in our course 🙂
Great course Christophe, I really loved the challenges and lab. I was initially planning to study for AWS Certified Security Specialty exam, but it occurred to me that I should first learn attacking AWS which led me to this platform.
I must say that after doing these courses and labs, my knowledge has not only increased in the offensive side, but on also how can we secure our accounts by adding multiple layers of access controls like Permission Boundaries, Resource Based Policies, SCPs etc.
I would love you to make a course in the future which covers how various AWS security related services identify and block these attacking methodologies and how we can try to bypass those protections.
Thanks!
I really appreciate the comment and I’m thrilled you both enjoyed the course and took away a lot from it! I would recommend these two courses next based on your interests: Introduction to AWS Security — especially the last few sections which talk about IAM Access Analyzer, detection services, and monitoring/alerting services — and Incident Response with CloudTrail Lake and Athena. The second course will show you how blue teams would be able to view activities and respond to incidents, which can be valuable information from a red teaming perspective as well.
Thank you this was a fun one.
Glad you enjoyed it 🙂
Hi Christophe,
LOVED this course. It was one of my favorites so far because it was all hands on labs to cover all the privilege escalation stuff we had learned. It was great exercise to run all the command manually and map out the environment and force the student to apply what they had learned.
Thankfully I took notes and had descriptions and examples of commands to reference while enumerating
Would love to see more of this type of content for red/blue team stuff!
Loved the challenge, thought I’d cracked it early on but then had to go back a step to move forward again.
Just finished the whole course and all the CTF in one afternoon; I really enjoyed it! So far the most exciting course I’ve taken since a while
<3 love to hear this! Just made my day. Thanks and nice work knocking it out :)