Cloud Storage

Check List

Methodology

Cloud Storage (AWS S3)

1

Go to AWS S3 console Create a new bucket with the exact name matching the vulnerable/unclaimed bucket

2

Complete the bucket creation process Upload a proof-of-concept file (HTML or TXT file) Set the uploaded file’s permissions to public read

3

Add proper metadata (Content-Type: text/html if HTML file) (Optional) Enable static website hosting on the bucket and set the uploaded file as the index document The attacker now controls the bucket and can serve malicious content


Cloud Storage (S3)

1

So I get all the alive subdomains use Subdomain Enum Command in cheat sheet

2

So I put every single alive domain in browser let call it Target example https://$WEBSITE/ so after this I put /%C0 → say https://$WEBSITE/%C0

3

.And I notice that it give me an cloudflare error like this InvalidURI Couldn’t parse the specified URI/%C0 So I just append the target domain with .s3.amazonaws.com https://$WEBSITE.s3.amazonaws.com/

4

And I get the bucket name. Some time it says no such bucket. So in that case what I do I just run dig on that Command

5

So it gives CNAME of pointed (http://$WEBSITE) so I am thinking what to do with this. So I read this article But unluckily on CRUD operation I get access denied and use .aws s3 Commands And in response I have foun PRE Server/


Cheat Sheet

WHOIS Lookup

Domain to IP

Company Info

IP to ASN

HTTP Headers

Check Robots

DNS Enum

DNS Records

Subdomain Enum

Subdomains

Source URLs

GCP

AWS

Azure

Certificate Transparency

GCP

AWS

Azure

GCP

AWS

Azure

Open Source Intelligence

GCP

AWS

Azure

Remote Code Execution

Create Web Shell PHP

Create Web Shell ASPX

Start Ngrok

Define ENV Ngrok

Cert Spoof

Post-EXP

Generate Web shell PHP

Generate Web Shell ASP

Listening Metasploit PHP

Listening Metaploit ASP

Connection Test

Upload File Testing

Success Upload File Testing

HTTP Connection Testing

Connection Test

Upload File Testing

Success Upload File Testing

HTTP Connection Testing

Connection Test

Upload File Testing

Success Upload File Testing

HTTP Connection Testing

Last updated