cloud-recon
できること
このナレッジベースは、セキュリティチームがクラウドでホストされた資産、ストレージバケット、露出したクラウドサービスを特定する方法を扱います。組織のクラウドの攻撃対象領域を把握するクラウドのチームと、許可を得たテスター向けです。
使う場面
- ✓クラウドのチームが、公開されているストレージバケットとサービスの一覧を必要とするとき。
- ✓許可されたテストで、会社のサイトをどのクラウドプロバイダーがホストしているかを特定する必要があるとき。
- ✓セキュリティチームが、設定ミスのあるクラウドストレージを確認したいとき。
スキルのリンク
https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/recon/cloud-recon/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“会社に属する公開されたクラウドストレージとサービスを一覧にしてください。その設定を確認できるようにするためです。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、DNSレコードとレスポンスヘッダーを確認してクラウドプロバイダーを特定します。会社のストレージの命名パターンを調べ、設定の見直しが必要な資産を報告します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)を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
よくある質問
プロバイダーはどのように特定されますか?
DNS名のパターン、レスポンスヘッダー、公開されているプロバイダーのアドレス範囲によって特定されます。
設定ミスのあるバケットとは何ですか?
本来許可すべきでない公開アクセスを許しているストレージバケットのことです。
誰が実行すべきですか?
自社の資産をレビューするクラウドチームとセキュリティチーム、または許可を得たテスターです。
詳細
作者による元の説明
Cloud infrastructure enumeration — AWS S3 buckets, Azure blob storage, GCP buckets, cloud metadata endpoints, IAM misconfigurations, CDN origin detection.
人気
- GitHubのスター
- 6.5k
- ランキング
- #14142
- ライセンス
- Apache-2.0
- 更新日
- 2026/11/1
コメント
- …
このリポジトリの他のスキル
detector-overview
6.5kエージェントが、スキャナーが指摘したコードを読み、本物のセキュリティバグと誤検知を見分けられるよう支援します。
exploiter-overview
6.5kエージェントが、確認済みの複数のセキュリティ上の弱点を一つのテストの連鎖にまとめ、その影響がどこまで及ぶかを確認できるよう支援します。
llm-redteam-overview
6.5kエージェントが、プロンプトインジェクションからモデルの悪用まで、15の戦術グループの中から適切なAIレッドチーム用ガイドを見つけられるよう支援します。
aatmf-t01-prompt-injection
6.5kプロンプトインジェクションを説明します。隠された指示でAIシステムを乗っ取ろうとする手口を、セキュリティテスターが確認できるようにします。
似ているスキル
reverse-engineer-anything
422kREAツールを使って、出荷済みのアプリやパッケージの中身を調べ、機能の説明、版の比較、再構築の手順をエージェントが支援します。
1password
394k1Password CLIをセットアップし、サインインして、秘密情報の値を会話に表示せずに読み取ったり注入したりするようエージェントを支援します。
healthcheck
394kOpenClawを動かすコンピューターやサーバーを、SSH、ファイアウォール、更新、バックアップなどのセキュリティリスクについて監査し、安全な修正案を提案するようエージェントを支援します。