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

circle-info

Domain to IP

circle-info

Company Info

circle-info

IP to ASN

circle-info

HTTP Headers

circle-info

Check Robots

DNS Enum

circle-info

DNS Records

Subdomain Enum

circle-info

Subdomains

Source URLs

circle-info

GCP

circle-info

AWS

circle-info

Azure

Certificate Transparency

circle-info

GCP

circle-info

AWS

circle-info

Azure

circle-info

GCP

circle-info

AWS

circle-info

Azure

Open Source Intelligence

circle-info

GCP

circle-info

AWS

circle-info

Azure

Remote Code Execution

circle-info

Create Web Shell PHP

circle-info

Create Web Shell ASPX

circle-info

Start Ngrok

circle-info

Define ENV Ngrok

circle-info

Cert Spoof

circle-info

Post-EXP

circle-info

Generate Web shell PHP

circle-info

Generate Web Shell ASP

circle-info

Listening Metasploit PHP

circle-info

Listening Metaploit ASP

circle-info

Connection Test

circle-info

Upload File Testing

circle-info

Success Upload File Testing

circle-info

HTTP Connection Testing

circle-info

Connection Test

circle-info

Upload File Testing

circle-info

Success Upload File Testing

circle-info

HTTP Connection Testing

circle-info

Connection Test

circle-info

Upload File Testing

circle-info

Success Upload File Testing

circle-info

HTTP Connection Testing

Last updated