Skip to content
PHASE 15/16OP NIMBUS

Cloud assets

Noise
Light active
Reads
js/files/urls/clean.txthttp/httpx.jsonosint/
Writes
cloud/references.txtcloud/candidates.txtcloud/findings.md

Scope checkActive phase. Check the program policy first. Send traffic only to in-scope assets, at the rate the program allows.

5 min readRecon Atlas

Companies keep files in S3, Azure Blob Storage and Google Cloud Storage. A bucket that allows public listing or, worse, public writes is a high-impact finding. This phase finds bucket names that belong to the target and checks how they are configured.

Requests go to the cloud provider’s API, not the target’s servers. They are still active checks against storage the target owns, so the scope rules apply.

Tool Noise Role Status
cloud_enum Light active Guesses AWS, Azure and GCP resource names from keywords and checks them Maintained
S3Scanner Light active Checks bucket permissions across S3-compatible providers Maintained
GrayhatWarfare Passive Searchable index of open buckets and their files Online service, limited free tier
ScoutSuite n/a Multi-cloud config audit. Needs credentials for the account Maintained, internal use
Prowler n/a AWS, Azure and GCP security audit. Needs credentials Maintained, internal use

Why ScoutSuite and Prowler are not bug bounty tools

Section titled “Why ScoutSuite and Prowler are not bug bounty tools”

Both log in to a cloud account with credentials and audit its configuration from the inside. In an internal pentest or a cloud review, the client gives you a read-only role and these tools are the right choice. In bug bounty you never have those credentials. If you find credentials, using them to run an audit is far beyond what any program allows.

If phase 14 turned up an AWS access key, the one call that proves it is live without touching any resource is sts get-caller-identity. It returns only the account ID, user ID and ARN of the caller, which is exactly the minimal proof a report needs.

Terminal window
# Confirm a leaked key is live and see whose it is; reads nothing else
AWS_ACCESS_KEY_ID=AKIA... AWS_SECRET_ACCESS_KEY=... aws sts get-caller-identity

Stop there. Listing buckets, reading objects or enumerating identity and access management (IAM) with the key goes past the minimal read-only check and into the account, which no program allows. Report the key with the ARN as proof and let the program revoke it.

example-customer-exports.s3.amazonaws.com
Public listing: yes
Write: no
Objects: 142

Anonymous ListBucket worked, and the tool counted 142 keys. Listing and object read are different permissions. Write is off in this record. A listing is not a download, and it is not a write finding. Read one small object only after you have evidence the target owns the bucket.

https://storage.googleapis.com/example-data-warehouse 403 AccessDenied

The bucket name exists and refuses anonymous access. That is not a finding. Keep the name in your notes so you can match it if the target’s site references it later.

https://exampledevstorage.blob.core.windows.net/public-web
Blobs: logo.svg, bundle.js, styles.css

Anonymous read is on for public-web. It does not mean every other container on exampledevstorage is open. If the blobs are the website’s logo and CSS, this is the public asset bucket in the mistakes list below.

example-static-media lists favicon.ico, hero-banner.png, vendor.bundle.js, and site.css. The marketing site links those files. A throwaway upload in your handle’s name is denied. Public logos are not a bug. Write access would be.

example-backups is open, and every object belongs to a different company that happens to use the same word. The name matched your keyword list. Ownership did not. Do not report it.

GrayhatWarfare can show you the target’s files without a guess, and the index lags. A bucket it listed last month may be private now. Confirm with S3Scanner or aws s3 ls --no-sign-request before you report.

Every anonymous request can land in the owner’s access logs. Keep the candidate list to names you can justify from the brand, the JS, and the suffix list in the steps.

  1. Collect references you already have. Bucket names leak through JS, HTML, Content Security Policy (CSP) headers and archived URLs.

    Terminal window
    # Storage URLs in downloaded JS and collected URLs
    grep -Ehos "[a-z0-9.-]+\.s3[.-]([a-z0-9-]+\.)?amazonaws\.com|s3[.-]([a-z0-9-]+\.)?amazonaws\.com/[a-z0-9._-]+|[a-z0-9]+\.blob\.core\.windows\.net|storage\.googleapis\.com/[a-z0-9._-]+|[a-z0-9._-]+\.storage\.googleapis\.com|[a-z0-9.-]+\.digitaloceanspaces\.com|[a-z0-9.-]+\.firebaseio\.com" \
    js/files/*.js urls/clean.txt | sort -u > cloud/references.txt
  2. Search GrayhatWarfare for the company name and domain. It indexes files in open buckets, so you may find the target’s data without guessing names at all.

  3. Generate name candidates. Combine the company’s names with common suffixes.

    Terminal window
    # Simple candidate list from a few keywords and suffixes
    for k in example examplecorp example-inc; do
    for s in "" -backup -backups -dev -staging -prod -assets -static -media -uploads -logs -data -public -private; do
    echo "$k$s"
    done
    done > cloud/candidates.txt
  4. Run cloud_enum with your keywords. It checks S3, Azure storage accounts and containers, and GCP buckets and Firebase databases.

    Terminal window
    # Check generated names across AWS, Azure and GCP, log to a file
    python3 cloud_enum.py -k example -k examplecorp -l cloud/cloud_enum.log
  5. Check S3 permissions with S3Scanner for names you found or guessed.

    Terminal window
    # Check each candidate bucket for existence and public permissions
    s3scanner -bucket-file cloud/candidates.txt
    Terminal window
    # List one bucket anonymously with the AWS CLI
    aws s3 ls s3://example-backups --no-sign-request
  6. Check the other providers. cloud_enum covers these, but a direct read confirms a candidate the index missed.

    Terminal window
    # Azure: list a container anonymously through the REST listing (public containers only)
    curl -s "https://exampledevstorage.blob.core.windows.net/public-web?restype=container&comp=list"
    Terminal window
    # Azure with the CLI, when you have a key; public containers also work with --auth-mode login
    az storage blob list --account-name exampledevstorage --container-name public-web --output table
    Terminal window
    # Google Cloud Storage: list a bucket anonymously
    gcloud storage ls gs://example-data-warehouse
    gsutil ls gs://example-data-warehouse
    Terminal window
    # DigitalOcean Spaces are S3-compatible; point the AWS CLI at the region endpoint
    aws s3 ls s3://example-space --no-sign-request --endpoint-url https://nyc3.digitaloceanspaces.com
    Terminal window
    # Firebase Realtime Database: an open database returns data for /.json with no auth
    curl -s "https://example-default-rtdb.firebaseio.com/.json"

    A Firebase database that returns JSON instead of {"error":"Permission denied"} is readable by anyone. Read only enough to prove it, then report.

  7. Confirm ownership before you report. A bucket named example-backups could belong to anyone. Look for the target’s file names, domains or branding inside it, or for a reference to it from the target’s own site.

  8. Record findings in cloud/findings.md: bucket, provider, what is public (list, read, write), sample file names, and the evidence of ownership.

  • Bucket hostnames that serve web content go into subs/all.txt if they sit on the target’s domain, such as assets.example.com as a CNAME to S3.
  • Unclaimed bucket names referenced by the target’s site are takeover candidates for phase 7.
  • Files in open buckets often contain hostnames and keys, which go to phase 14 style analysis.
  • Reporting a public bucket without proving the target owns it.
  • Reporting buckets that are meant to be public, such as a static asset bucket for the website. Public read of logos is not a bug.
  • Downloading everything “to check”.
  • Running ScoutSuite or Prowler with leaked credentials.
What to look for
  • Buckets with names like backup, logs, db, export, private, internal
  • Listing enabled on a bucket that serves user uploads
  • Write access on any bucket
  • JS that references a bucket which returns NoSuchBucket, a possible takeover
  • Firebase databases that answer /.json without auth

Next, confirm blind bugs with callbacks in phase 16.

Connections1 backlink · 3 outgoingFull graph →
Open local graph around this page
Open full graph →
Click a node to open · Drag to reposition · Scroll to zoom

Recon AtlasFor authorized testing only. Your scope is the map edge.