Skip to content
Skillpedia
Security6.5k Β· #14142

cloud-recon

What it does

This knowledge base covers how security teams identify cloud-hosted assets, storage buckets and exposed cloud services. It is for cloud teams and authorized testers mapping an organization's cloud attack surface.

When to use it

  • βœ“When a cloud team needs an inventory of its public storage buckets and services.
  • βœ“When an authorized test needs to identify which cloud provider hosts a company's site.
  • βœ“When a security team wants to check for misconfigured cloud storage.

Skill link

https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/recon/cloud-recon/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/recon/cloud-recon/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œCan you list the public cloud storage and services that belong to our company, so we can check their settings?”

5 new skills a week. 1 minute to read.

How it works

The agent checks DNS records and response headers to identify the cloud provider, looks up the company's storage naming patterns, and reports which assets need a settings review.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Cloud Infrastructure Reconnaissance Knowledge Base

Cloud reconnaissance identifies cloud-hosted assets, misconfigured storage, exposed services, and cloud-specific attack surfaces. Modern organizations run hybrid infrastructure β€” cloud recon is essential for complete attack surface mapping.

1. Cloud Provider Detection

Fingerprinting via DNS/Headers

See references/cloud-ip-ranges.md for the full CNAME β†’ provider mapping table and response header fingerprinting. See references/cloud-naming-patterns.md for bucket/resource naming dictionaries.

# Check CNAME records for cloud indicators
dig <target> CNAME +short

# Common cloud CNAME patterns:
# AWS:       *.amazonaws.com, *.cloudfront.net, *.elasticbeanstalk.com
# Azure:     *.azurewebsites.net, *.blob.core.windows.net, *.azure-api.net
# GCP:       *.googleapis.com, *.appspot.com, *.run.app, *.cloudfunctions.net
# Cloudflare: *.cdn.cloudflare.net

# Check IP ranges (AWS)
curl -s https://ip-ranges.amazonaws.com/ip-ranges.json | python3 -c "
import sys, json, ipaddress
data = json.load(sys.stdin)
target = ipaddress.ip_address('<TARGET_IP>')
for prefix in data['prefixes']:
    if target in ipaddress.ip_network(prefix['ip_prefix']):
        print(f\"AWS Region: {prefix['region']}, Service: {prefix['service']}\")
"

Cloud Service Indicators

Indicator Provider Service
s3.amazonaws.com CNAME AWS S3 Storage
X-Amz-* headers AWS Various
X-Ms-* headers Azure Various
X-Cloud-Trace-Context header GCP Cloud Run/Functions
*.elasticbeanstalk.com CNAME AWS Elastic Beanstalk
*.azurewebsites.net CNAME Azure App Service
*.appspot.com CNAME GCP App Engine

2. AWS Enumeration

S3 Bucket Discovery

# Common naming patterns
for prefix in <target> <target>-backup <target>-dev <target>-staging \
    <target>-prod <target>-assets <target>-uploads <target>-logs \
    <target>-data <target>-media www.<target> cdn.<target>; do
    # Check if bucket exists
    code=$(curl -s -o /dev/null -w "%{http_code}" "https://$prefix.s3.amazonaws.com/")
    echo "$code $prefix.s3.amazonaws.com"
done

# Check bucket ACL (if accessible)
curl -s "https://<bucket>.s3.amazonaws.com/?acl"

# List bucket contents (if public)
curl -s "https://<bucket>.s3.amazonaws.com/?list-type=2&max-keys=20"

S3 Bucket Takeover Detection

# If a subdomain CNAMEs to S3 but bucket doesn't exist:
# Response: "NoSuchBucket" β†’ Takeover candidate
curl -s "https://assets.example.com/" | grep -i "NoSuchBucket"

AWS Service Enumeration

# Check for exposed EC2 metadata (SSRF target)
# Internal: http://169.254.169.254/latest/meta-data/
# IMDSv2 requires token β€” check if v1 is still enabled

# Elastic Beanstalk environment discovery
dig <target>.elasticbeanstalk.com +short

# CloudFront origin detection
curl -sI "https://<target>" | grep -i "x-amz\|x-cache\|via.*cloudfront"

# API Gateway detection
curl -s "https://<api-id>.execute-api.<region>.amazonaws.com/prod/"

3. Azure Enumeration

Azure Blob Storage

# Common storage account patterns
for name in <target> <target>storage <target>data <target>backup \
    <target>dev <target>prod; do
    code=$(curl -s -o /dev/null -w "%{http_code}" "https://$name.blob.core.windows.net/")
    echo "$code $name.blob.core.windows.net"
done

# Enumerate containers (if listing enabled)
curl -s "https://<account>.blob.core.windows.net/<container>?restype=container&comp=list"

# Check for anonymous access
curl -s "https://<account>.blob.core.windows.net/\$web/index.html"

Azure Service Discovery

# Azure App Service
dig <target>.azurewebsites.net +short

# Azure Functions
curl -s "https://<target>.azurewebsites.net/api/<function>"

# Azure API Management
dig <target>.azure-api.net +short

# Azure DevOps (public projects)
curl -s "https://dev.azure.com/<org>/_apis/projects?api-version=7.0"

Azure Subdomain Patterns

*.azurewebsites.net       β†’ App Service
*.blob.core.windows.net   β†’ Blob Storage
*.table.core.windows.net  β†’ Table Storage
*.queue.core.windows.net  β†’ Queue Storage
*.file.core.windows.net   β†’ File Storage
*.database.windows.net    β†’ SQL Database
*.redis.cache.windows.net β†’ Redis Cache
*.vault.azure.net         β†’ Key Vault
*.azure-api.net           β†’ API Management
*.azureedge.net           β†’ CDN

4. GCP Enumeration

GCP Storage Buckets

# Common GCP buck
FAQ

How is the provider identified?

By DNS name patterns, response headers and published provider address ranges.

What is a misconfigured bucket?

A storage bucket that allows public access it should not have.

Who should run this?

Cloud and security teams reviewing their own assets, or authorized testers.

Details

Original description by the author

Cloud infrastructure enumeration β€” AWS S3 buckets, Azure blob storage, GCP buckets, cloud metadata endpoints, IAM misconfigurations, CDN origin detection.

repo: BitterSecurity/Decepticon

Popularity

GitHub stars
6.5k
Ranking position
#14142
License
Apache-2.0
Updated
11/1/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills