Logo: Cloud Pivot Finder

Cloud Pivot Finder

Organisatioun
Orizon-eu
cloud-pivot-finder

Maps cloud infrastructure from domains and identifies pivot paths from external to cloud internals. Detects cloud providers, enumerates S3/GCS/Azure storage, finds subdomain takeover opportunities, discovers serverless functions, CI/CD exposure, and IaC leaks. Use when user asks for "cloud security", "S3 enumeration", "subdomain takeover", "cloud recon", "bucket enumeration", "cloud pivot", or provides domains hosted on AWS/GCP/Azure. For authorized testing only.

Iwwersiicht

EditeurOrizon-eu
Repositoryclaude-code-pentest
Skill-Nummcloud-pivot-finder
Stären
32
Forks
7
Matgeliwwert Dateien
7
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 7 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    Orizon-eu huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Cloud Pivot Finder an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/Orizon-eu/claude-code-pentest/tree/main/cloud-pivot-finder
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Orizon-eu/claude-code-pentest.git /tmp/claude-code-pentest
mkdir -p .claude/skills
cp -r /tmp/claude-code-pentest/cloud-pivot-finder .claude/skills/cloud-pivot-finder
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Cloud Pivot Finder an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Cloud Pivot Finder automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Cloud Pivot Finder net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Cloud Pivot Finder

From external domains to cloud infrastructure compromise paths.

Important

CRITICAL: Only test cloud infrastructure you have explicit authorization to test. Unauthorized access to cloud resources is a criminal offense.

Instructions

Step 1: Cloud Provider Detection

bash
python scripts/cloud_detector.py --domain {target_domain}

Identify cloud hosting:

  1. IP range analysis: Match IPs against AWS, GCP, Azure published IP ranges
  2. DNS analysis: CNAME patterns (*.amazonaws.com, *.googleusercontent.com, *.azurewebsites.net)
  3. Header analysis: Server headers, X-Amz-, X-GUploader-, x-ms-* headers
  4. Certificate analysis: Issuer and SAN entries pointing to cloud services
  5. CDN detection: CloudFront, Cloud CDN, Azure CDN distributions

Output: Map of domain -> cloud provider -> service type.

Step 2: Storage Bucket Enumeration

bash
python scripts/bucket_enum.py --domain {target_domain} --provider {aws|gcp|azure|all}

Naming pattern brute-force:

  • {domain}, {domain}-backup, {domain}-dev, {domain}-staging
  • {company}-assets, {company}-uploads, {company}-data
  • {project}-{env} combinations

Per-provider testing:

  • S3: Check for public ListBucket, GetObject, PutObject
  • GCS: Check for allUsers/allAuthenticatedUsers permissions
  • Azure Blob: Check for public container access

For each accessible bucket:

  1. List contents (if ListBucket allowed)
  2. Check for sensitive files (.env, credentials, backups, database dumps)
  3. Test write access (attempt to upload test file, delete immediately)
  4. Check bucket policy for overly permissive configurations

Step 3: Subdomain Takeover Detection

bash
python scripts/takeover_scanner.py --subdomains {subdomain_list}

Check every subdomain's CNAME for dangling references:

  • AWS: S3, CloudFront, Elastic Beanstalk, ELB
  • Azure: Azure Websites, Traffic Manager, CDN, Blob
  • GCP: Cloud Storage, App Engine, Firebase
  • Other: Heroku, GitHub Pages, Fastly, Shopify, Zendesk, Unbounce, Surge.sh

For each dangling CNAME:

  1. Verify the target is actually unclaimed
  2. Determine the takeover method
  3. Assess impact (cookie scope, same-origin policy implications)
  4. Generate takeover PoC instructions

Step 4: Serverless and Container Discovery

bash
python scripts/serverless_finder.py --domain {target_domain}

Discover:

  • Lambda Function URLs: {function-id}.lambda-url.{region}.on.aws
  • API Gateway: {api-id}.execute-api.{region}.amazonaws.com
  • Cloud Functions: {region}-{project}.cloudfunctions.net
  • Cloud Run: *.run.app
  • Azure Functions: {app}.azurewebsites.net/api/
  • Container registries: ECR, GCR, ACR public images

Test each for:

  • Unauthenticated access
  • Error messages revealing internal details
  • Excessive function output (debug mode)

Step 5: CI/CD and IaC Exposure

bash
python scripts/cicd_finder.py --domain {target_domain}

Search for:

  • Exposed CI/CD: Jenkins, GitLab CI, GitHub Actions artifacts
  • Terraform state files: .tfstate files on S3/GCS/HTTP
  • CloudFormation templates: Exposed template files
  • Docker/K8s configs: docker-compose.yml, kubernetes manifests
  • Helm charts: values.yaml with secrets
  • Environment files: .env files with cloud credentials

Step 6: Cloud Metadata Pivot Paths

bash
python scripts/metadata_paths.py --recon-data {recon_json}

For each web application on cloud infrastructure:

  1. Identify potential SSRF vectors (URL parameters, PDF generators, webhooks)
  2. Map the SSRF -> metadata -> credential chain
  3. Assess what the IAM role/service account can access
  4. Document the complete pivot path

Step 7: Report Generation

bash
python scripts/cloud_report.py --project {name}

Output:

  1. Cloud infrastructure map
  2. Accessible storage buckets with content inventory
  3. Subdomain takeover opportunities
  4. Serverless/container exposure
  5. CI/CD and IaC exposure
  6. Pivot paths from web to cloud
  7. Prioritized remediation plan

Error Handling

Rate Limiting on Cloud APIs

  1. S3 listing: Built-in exponential backoff
  2. DNS resolution: Use multiple resolvers
  3. If blocked: Reduce concurrency with --threads 5

No Cloud Infrastructure Detected

If domain appears to be on-premise:

  1. Still check for cloud storage buckets (may use S3 for backups)
  2. Check for CI/CD exposure (GitHub Actions, etc.)
  3. Inform user and suggest alternative approaches

Examples

Example 1: Full Cloud Assessment

User says: "Map the cloud infrastructure for example.com"

Actions:

  1. Detect cloud providers
  2. Enumerate storage buckets
  3. Check for subdomain takeover
  4. Find serverless endpoints
  5. Check CI/CD exposure
  6. Map pivot paths
  7. Generate comprehensive report

Example 2: S3 Bucket Hunt

User says: "Find S3 buckets for example.com"

Actions:

  1. Generate naming patterns from domain/company name
  2. Test each pattern for existence
  3. Check permissions on found buckets
  4. List accessible contents
  5. Report findings

Example 3: Subdomain Takeover Scan

User says: "Check for subdomain takeover on these 50 subdomains"

Actions:

  1. Resolve CNAME for each subdomain
  2. Check each CNAME against takeover fingerprints
  3. Verify dangling references
  4. Generate takeover PoC for confirmable targets

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Cloud Pivot Finder?

Maps cloud infrastructure from domains and identifies pivot paths from external to cloud internals. Detects cloud providers, enumerates S3/GCS/Azure storage, finds subdomain takeover opportunities, discovers serverless functions, CI/CD exposure, and IaC leaks. Use when user asks for "cloud security", "S3 enumeration", "subdomain takeover", "cloud recon", "bucket enumeration", "cloud pivot", or provides domains hosted on AWS/GCP/Azure. For authorized testing only.

Firwat Cloud Pivot Finder op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Cloud Pivot Finder besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Cloud Pivot Finder an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/Orizon-eu/claude-code-pentest/tree/main/cloud-pivot-finder an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Cloud Pivot Finder benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Cloud Pivot Finder benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Cloud Pivot Finder domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Cloud Pivot Finder gratis?

Jo. Orizon-eu huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇