# PwnedLabs

{% embed url="<https://pwnedlabs.io>" %}

| Walkthrough Link                                                                                                                             | Summary                                                                                                                                                                                                                                              |
| -------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Escalate Privileges by IAM Policy Rollback](/cloud-security/capture-the-flags-ctfs/pwnedlabs/escalate-privileges-by-iam-policy-rollback.md) | This walkthrough outlines a method to escalate privileges from limited access AWS keys by exploiting IAM policy rollback.                                                                                                                            |
| [Exploiting Weak S3 Bucket Policies](/cloud-security/capture-the-flags-ctfs/pwnedlabs/exploiting-weak-s3-bucket-policies.md)                 | This write-up covers exploiting weak bucket policies to gain privileged access in an AWS environment.                                                                                                                                                |
| [Leveraging S3 Bucket Versioning](/cloud-security/capture-the-flags-ctfs/pwnedlabs/leveraging-s3-bucket-versioning.md)                       | This write-up explores how misconfigured AWS S3 Bucket Versioning permissions permissions on AWS S3 Bucket Versioning can allow unauthorized access to sensitive data.                                                                               |
| [S3 Enumeration Basics](/cloud-security/capture-the-flags-ctfs/pwnedlabs/s3-enumeration-basics.md)                                           | In this write-up, we cover the process of enumerating AWS S3 buckets to identify potential misconfigurations that can lead to data exposure.                                                                                                         |
| [Pillage Exposed RDS Instances](/cloud-security/capture-the-flags-ctfs/pwnedlabs/pillage-exposed-rds-instances.md)                           | In this walkthrough, the goal is to identify potential security flaws, gain unauthorized access, and exfiltrate data from a publicly exposed RDS instance.                                                                                           |
| [EC2 SSRF Attack](/cloud-security/capture-the-flags-ctfs/pwnedlabs/ec2-ssrf-attack.md)                                                       | This walkthrough covers performing a Server Side Request Forgery (SSRF) attack. It involves exploiting SSRF to access and abuse EC2's metadata service, ultimately compromising credit card data through credential abuse of an IAM Role.            |
| [Hunt for Secrets in Git Repos](/cloud-security/capture-the-flags-ctfs/pwnedlabs/hunt-for-secrets-in-git-repos.md)                           | In this walkthrough, we explore a method to recover AWS credentials from a Git repository's history using a secrets scanning tool called Trufflehog. After obtaining the credentials, we leverage them to access sensitive data in an AWS S3 bucket. |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://www.techwithtyler.dev/cloud-security/capture-the-flags-ctfs/pwnedlabs.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
