Skip to content
FunCoding

recon-phase

Reconnaissance phase — passive OSINT then active enumeration. Use when the current phase is RECON. Triggers - OSINT, subdomain, whois, certificate transparency, shodan, google dork, footprint.

Star
1,278
Category
Security
License
MIT
Last commit
Nov 30, 2026

skills/phases/recon/SKILL.md

View on GitHub

Reconnaissance — Passive FIRST, then Active

Rule: exhaust PASSIVE before touching the target. Passive leaves no logs on target infra; active does.

Passive

  • DNS/subdomains: subfinder -d target.com -silent, amass enum -passive -d target.com, assetfinder --subs-only target.com
  • Cert transparency: curl -s "https://crt.sh/?q=%25.target.com&output=json" | jq -r '.[].name_value' | sort -u — often finds forgotten subdomains + internal hostnames in CN fields
  • WHOIS/RDAP: registrar, name servers, historical contacts (who.is, rdap.org)
  • Net blocks: whois -h whois.radb.net -- '-i origin ASXXXX' → prefix list, then validate with asnmap
  • Shodan/Censys: exposed services, banners, SSL certs (Shodan cert search pivots to sibling hosts on same org), leaked .env/.git indexes
  • Google dorks: site:target.com filetype:xlsx, site:target.com inurl:admin, intitle:"index of" site:target.com, site:target.com ext:env | ext:sql | ext:bak
  • Code leaks: GitHub/GitLab search org:target, target.com password, secret scanning (trufflehog/gitleaks on found repos)
  • Social: LinkedIn (org chart, tech stack, employees for phishing/spray), job ads (tech in use), Wayback Machine for dead endpoints still live internally

Active (in-scope domains/IPs ONLY)

  • DNS brute + zone transfer: dig axfr target.com @NS, gobuster dns -d target.com -w wordlist
  • Fingerprint: httpx -l subs.txt -status-code -title -tech-detect -favicon-hash — favicon hash pivots to Shodan http.favicon.hash:<mmh3>
  • ASN/IP expansion: resolve all found hosts → new IPs → re-check every IP against scope with scope_check
  • WAF detect: wafw00f https://target.com — affects scan tuning later

Gotchas

  • Subdomain takeover check immediately: dangling CNAME (npm/github/azure/s3) → subjack/nuclei -t takeovers/. It's recon AND a finding.
  • A cert in CT logs is NOT proof the host is in scope. Validate + scope_check before any active probe.
  • Record everything into the engagement state (state_update): hosts, domains, org relationships. Later phases consume this — a host found in recon but never scanned is the classic miss.
  • Diff CT logs against live DNS: dead names may still resolve on INTERNAL resolvers (VPN/recon from inside).

Similar Skills

agent-security-hardening

AFaffaan-m/ECC314k3,503 new stars in the last 7 days

Featured

ponytail-audit

Audit the whole repo: find bugs, security holes and performance bottlenecks. Get a ranked report in plain English.

DIDietrichGebert/ponytail202k4,226 new stars in the last 7 days

gstack

GAgarrytan/gstack143k524 new stars in the last 7 days

Featured

security-and-hardening

Harden code against the OWASP Top 10: input handling, authentication, sessions and dependencies.

ADaddyosmani/agent-skills122k1,421 new stars in the last 7 days

doubt-driven-development

ADaddyosmani/agent-skills122k1,421 new stars in the last 7 days

ruview-rvagent

RUruvnet/RuView106k596 new stars in the last 7 days