本文へ移動
cccskills
無料GitHub で公開

recon-osint

Use when mapping a target's external attack surface or gathering OSINT — subdomain enumeration, attack-surface mapping (httpx/katana/JS secrets), subdomain takeover, multi-cloud/Azure tenant recon, GitHub secret dorking, breach/infostealer credential intel, CVE prioritization (EPSS/KEV)

インストール方法を見る

含まれるファイル(15)

  • SKILL.md8.8 KB
  • references/attack-surface-mapping.md7.3 KB
  • references/breach-credential-intel.md8.1 KB
  • references/cloud-saas-recon.md8.3 KB
  • references/cve-exploit-intel.md8.1 KB
  • references/subdomain-discovery.md7.6 KB
  • references/subdomain-takeover.md7.5 KB
  • scripts/breach_intel.py9.9 KB
  • scripts/cloud_asset_enum.py8.6 KB
  • scripts/cve_prioritizer.py8.8 KB
  • scripts/hackerone_public_recon.py5.1 KB
  • scripts/js_secret_hunter.py7.4 KB
  • scripts/recon_orchestrator.py8.2 KB
  • scripts/subdomain_takeover.py8.4 KB
  • scripts/wordlist_ranker.py4.3 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Reconnaissance & OSINT

When to Activate

  • A new engagement begins and you need a full external attack-surface map for a set of root domains / ASNs.
  • Expanding scope: pivoting from one discovered asset (subdomain, IP block, cloud account) to the rest of the estate.
  • Hunting dangling DNS / subdomain-takeover candidates, including S3 buckets referenced by CI/CD assets.
  • Building a target profile for social engineering / initial access (emails, usernames, breach + infostealer exposure).
  • Discovering leaked secrets in public GitHub/GitLab orgs and exposed cloud storage.
  • Triaging which discovered CVEs actually matter (KEV + EPSS + exposure) before weaponization.

Technique Map

TechniqueATT&CKCWEReferenceScript
Passive subdomain enum (subfinder/amass/CT logs)T1590.002, T1596.001CWE-200references/subdomain-discovery.mdscripts/recon_orchestrator.py
DNS brute / permutation / resolution (puredns/alterx/dnsx)T1595.002, T1590.002CWE-200references/subdomain-discovery.mdscripts/recon_orchestrator.py
ASN → CIDR → reverse-DNS expansionT1590.005, T1596.005CWE-200references/subdomain-discovery.mdscripts/recon_orchestrator.py
HTTP probing + tech fingerprint (httpx)T1595.002, T1592.002CWE-200references/attack-surface-mapping.mdscripts/recon_orchestrator.py
Headless crawling + archive URLs (katana/gau)T1595.002, T1593.003CWE-200references/attack-surface-mapping.mdscripts/js_secret_hunter.py
JavaScript endpoint / secret extractionT1593.003, T1552.001CWE-540references/attack-surface-mapping.mdscripts/js_secret_hunter.py
Subdomain takeover (dangling CNAME/NS)T1583.001, T1584.001CWE-350references/subdomain-takeover.mdscripts/subdomain_takeover.py
Deleted-S3 takeover → supply-chain pivotT1583.001, T1195.002CWE-350references/subdomain-takeover.mdscripts/subdomain_takeover.py
Multi-cloud bucket/blob enum (cloud_enum)T1580, T1596.005CWE-732references/cloud-saas-recon.mdscripts/cloud_asset_enum.py
Azure tenant outsider recon (AADInternals)T1590.001, T1589CWE-200references/cloud-saas-recon.mdscripts/cloud_asset_enum.py
GitHub/GitLab dorking + secret scanningT1593.003, T1213.003CWE-540references/cloud-saas-recon.mdscripts/cloud_asset_enum.py
Email/username harvesting (theHarvester)T1589.002, T1591CWE-200references/breach-credential-intel.mdscripts/breach_intel.py
Breach + infostealer credential intel (HIBP/DeHashed)T1589.001, T1596CWE-522references/breach-credential-intel.mdscripts/breach_intel.py
CVE enrichment + prioritization (NVD/EPSS/KEV)T1592.002, T1596CWE-1395references/cve-exploit-intel.mdscripts/cve_prioritizer.py
Shodan InternetDB exposure → CVE mappingT1596.005, T1595.002CWE-200references/cve-exploit-intel.mdscripts/cve_prioritizer.py

Quick Start

export DOMAIN=target.com
# 0. Validate resolvers once (puredns needs a clean list)
dnsvalidator -tL https://public-dns.info/nameservers.txt -threads 100 -o resolvers.txt

# 1. Full discovery + probe + crawl + takeover + nuclei, JSONL out (see orchestrator)
python3 scripts/recon_orchestrator.py -d $DOMAIN -o out/ --resolvers resolvers.txt --nuclei

# 2. JS/endpoint + secret hunting over live hosts
python3 scripts/js_secret_hunter.py -l out/httpx_live.txt -o out/js/

# 3. Dangling-DNS / subdomain-takeover triage
python3 scripts/subdomain_takeover.py -l out/all_subdomains.txt -o out/takeovers.jsonl

# 4. Cloud + code recon (buckets, Azure tenant, GitHub secrets)
python3 scripts/cloud_asset_enum.py -k $DOMAIN --company target --azure-domain $DOMAIN --gh-org target

# 5. People + breach/infostealer intel
python3 scripts/breach_intel.py --domain $DOMAIN --harvest --hibp --dehashed

# 6. Triage CVEs from fingerprints → KEV/EPSS/exposure ranked
python3 scripts/cve_prioritizer.py --from-httpx out/httpx_live.txt --ip-file out/ips.txt -o out/cve_ranked.jsonl

OPSEC & Detection (summary)

TechniqueTelemetry / IOCDetection (Sigma/EDR)OPSEC note
Passive enum (CT/API)None on target; queries hit 3rd-party APIsTarget cannot see it; CT-log monitoring (certstream) detects new certs onlyFully passive — prefer for stealth; no target traffic
DNS brute / resolutionBurst of NXDOMAIN/A queries to authoritative + resolversDNS firewall: high-volume distinct-label rate per source IP; Zeek dns.cc/NXDOMAIN ratioThrottle -rate, rotate resolvers, never brute a single auth NS directly
httpx / katana probingSpike of HTTP(S) requests, odd UA, favicon/JARM fetchesWAF/CDN: request-rate + UA anomaly; access-log User-Agent: *httpx*/*katana*Set custom UA, low -rl, route via proxy pool / cloud egress
Subdomain takeover checkHTTP GET to dangling host (lands on 3rd-party)3rd-party provider logs; CT for new cert on claimed hostVerify with passive fingerprint before any claim; claiming is loud
Cloud bucket enumDNS + HTTP to *.s3/blob/storage.googleapisCloud provider access logs; GuardDuty Discovery:S3/*Hits provider, not target; still rate-limited / loggable
Azure tenant reconRequests to login.microsoftonline.comEntra sign-in/audit logs do not see unauth realm probesgetuserrealm/OpenID are unauth & invisible to tenant
GitHub/GitLab dorkingAPI/search queries from your tokenGitHub audit log (only org members'); secret-scanning alertsUse a throwaway token; respect rate limits to avoid bans
Breach/infostealer lookup3rd-party API calls (HIBP/DeHashed)None on targetHandle PII per ROE/GDPR; document lawful basis
CVE enrichmentNVD/EPSS/KEV/Shodan API callsNone on targetMap exposure to in-scope assets only

Deep Dives

  • references/subdomain-discovery.md — Passive sources + CT logs, puredns/massdns resolution, alterx permutations, ASN→CIDR→PTR expansion, wildcard handling.
  • references/attack-surface-mapping.md — httpx enrichment (-td -favicon -jarm -asn), katana headless/authenticated crawling, gau/wayback archive mining, JS endpoint + secret extraction, nuclei triage of the live set.
  • references/subdomain-takeover.md — Dangling-DNS theory, can-i-take-over-xyz fingerprints, subzy/baddns/nuclei detection, the 2024-2025 deleted-S3 → CI/CD supply-chain pivot, NS-delegation takeover.
  • references/cloud-saas-recon.md — cloud_enum multi-cloud, AADInternals/MicroBurst Azure tenant + blob recon (incl. the June-2025 Get-AADIntTenantDomains patch), GrayhatWarfare, GitHub/GitLab dorking with trufflehog/gitleaks/noseyparker.
  • references/breach-credential-intel.md — theHarvester 4.x, HIBP API v3 (ALIEN TXTBASE), DeHashed, infostealer-log intel (Snowflake-style aged creds), username/email format derivation, password-pattern modeling.
  • references/cve-exploit-intel.md — NVD 2.0 API + the 2026 selective-enrichment shift, EPSS v4, CISA KEV, Shodan InternetDB, searchsploit/nuclei, the KEV×EPSS×exposure prioritization stack.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Use when attacking a Windows Active Directory domain — Kerberos roasting/delegation, coercion + NTLM/Kerberos relay (CVE-2025-33073), ADCS ESC1-16 (EKUwu), ticket forgery & DCSync, dMSA BadSuccessor (CVE-2025-53779), BloodHound attack-path enumeration, domain dominance

日本語の概要は準備中です。原文の説明を表示しています。

hypnguyen1209/offensive-claude3902026年9月28日 更新

Use when red-teaming an agentic AI / LLM application — indirect & zero-click prompt injection, MCP tool poisoning, persistent memory poisoning, excessive-agency tool abuse, multi-turn jailbreaks, PyRIT/Garak/Promptfoo harnesses

日本語の概要は準備中です。原文の説明を表示しています。

hypnguyen1209/offensive-claude3902026年9月28日 更新

Use when attacking an AI/ML system or model — prompt injection & jailbreaks (Crescendo, Skeleton Key, Best-of-N), RAG/vector poisoning, agentic/MCP exploitation (CVE-2025-54136), ML supply-chain RCE (pickle CVE-2025-32434), model extraction / membership inference / adversarial suffixes (GCG)

日本語の概要は準備中です。原文の説明を表示しています。

hypnguyen1209/offensive-claude3902026年9月28日 更新

Use when building a client-side browser exploit — V8/JSC JIT type confusion to renderer R/W, V8 heap-sandbox escape, renderer-to-browser sandbox escape (Mojo IPC, GPU/Dawn/ANGLE), Electron/webview IPC abuse, 1-click RCE chains

日本語の概要は準備中です。原文の説明を表示しています。

hypnguyen1209/offensive-claude3902026年9月28日 更新

Use when attacking or auditing a CI/CD pipeline or software supply chain — pwn requests, poisoned pipeline execution, compromised/mutable-tag actions, dependency confusion, registry worms, runner backdoors, OIDC trust abuse, SLSA/provenance

日本語の概要は準備中です。原文の説明を表示しています。

hypnguyen1209/offensive-claude3902026年9月28日 更新

Use when attacking AWS/Azure/GCP cloud — IAM/identity privilege escalation, IMDS/metadata SSRF, Entra device-code & PRT theft, GCP impersonation chains, Kubernetes/container escape, IaC/CI-CD federation abuse

日本語の概要は準備中です。原文の説明を表示しています。

hypnguyen1209/offensive-claude3902026年9月28日 更新

hypnguyen1209 のスキルをすべて見る

このスキルの問題を報告する