Reconnaissance and attack-surface mapping for web, API, mobile-backend, network and cloud targets. Passive and active subdomain discovery, port and service scanning, content and parameter discovery, technology fingerprinting, and a unified attack-surface inventory that drives the rest of the engagement. Use at the start of every assessment and whenever new scope appears.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Recon And Mapping?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/anandjogawade-recon-and-mapping)
---
name: recon-and-mapping
description: Reconnaissance and attack-surface mapping for web, API, mobile-backend, network and cloud targets. Passive and active subdomain discovery, port and service scanning, content and parameter discovery, technology fingerprinting, and a unified attack-surface inventory that drives the rest of the engagement. Use at the start of every assessment and whenever new scope appears.
---
# Recon & Attack-Surface Mapping
Reconnaissance decides the quality of everything that follows. Map wide before you dig deep. Everything confirmed here feeds `./.zazy/surface.md`.
## Trigger phrases
`recon, reconnaissance, subdomains, port scan, enumerate, attack surface, fingerprint, content discovery, osint, asset discovery`
## Methodology
Work outside-in: passive OSINT → active enumeration → service fingerprint → content/parameter discovery → surface synthesis. Re-run when scope expands.
### Phase 1 — Passive discovery (no packets to target)
- **Subdomains (passive):** certificate transparency (crt.sh, Censys), `subfinder`, `amass enum -passive`, `assetfinder`, DNS aggregators, `github-subdomains`, Wayback/`gau`/`waymore` for historical hosts and URLs.
- **OSINT:** ASN/netblock ownership (`whois`, `asnmap`, BGP data), Google/GitHub dorking for leaked keys and endpoints, `trufflehog`/`gitleaks` against public repos, S3/bucket name guessing, employee/email enumeration for later phases, public API docs and Postman collections.
- **DNS:** `dnsx` for resolution, record pull (A/AAAA/CNAME/MX/TXT/NS/SOA), zone-transfer attempt (`dig axfr`), takeover candidates (dangling CNAMEs → feed `subdomain-takeover` checks).
### Phase 2 — Active enumeration
- **Resolve & probe:** `dnsx` to resolve the full subdomain set, then `httpx` to find live web services (capture status, title, tech, CDN, TLS, redirects).
- **Subdomains (active):** `amass enum -active`, permutation/brute with `puredns` + a resolver list + `dnsgen`/`altdns` wordlists.
- **Ports:** fast sweep with `naabu` or `masscan`, then targeted `nmap -sCV -p<found>` for service/version detail; full TCP (`-p-`) on key hosts; top UDP (`nmap -sU --top-ports`).
- **Virtual hosts:** `ffuf`/`gobuster vhost` with Host-header fuzzing against each IP to find vhosts not in DNS.
### Phase 3 — Technology fingerprinting
Identify stack for *every* live host — this drives `vulnerable-components` and CVE work.
- `whatweb`, `httpx -tech-detect`, Wappalyzer signatures, `nuclei -t technologies/`.
- Response headers (`Server`, `X-Powered-By`, `X-AspNet-Version`), cookies (framework tells), favicon hash (`shodan`/`favfreak`), error-page fingerprints, JS bundle names/versions.
- Record exact versions wherever visible; unknown versions are a task for the components skill.
### Phase 4 — Content & parameter discovery
- **Directories/files:** `ffuf`/`feroxbuster`/`dirsearch` with layered wordlists (raft, common, backup extensions `~,.bak,.old,.zip,.tar.gz,.swp`, config files). Recurse into discovered dirs.
- **Endpoints from JS:** pull all scripts, run `linkfinder`/`xnLinkFinder`/`getjs`, extract routes, API paths, keys, and hidden params. Map SPA routes (React/Vue/Angular) via a headless browser.
- **Historical:** `gau`/`waybackurls` for old endpoints and parameters; dedupe with `uro`.
- **Parameters:** `arjun`/`x8` for hidden GET/POST/JSON params on interesting endpoints.
- **APIs:** look for `/swagger`, `/openapi.json`, `/graphql`, `/api/v{1,2,3}`, WSDL, `.well-known/`; hand to `api-security`.
### Phase 5 — Surface synthesis
Write `./.zazy/surface.md` with a table per host:
| Host | Port/Svc | Tech+version | Interesting paths | Params | Auth? | Candidate tests |
|---|---|---|---|---|---|---|
Flag: login/admin panels, upload features, URL-fetch features, file/XML parsers, object-ID patterns, payment/checkout flows, exposed configs/backups, outdated components, takeover candidates. Prioritize by likely impact, then hand each to the matching skill.
## Depth rules
- Chain wordlists; one pass is never enough — recurse and re-fuzz discovered paths.
- Treat every new subdomain/endpoint as new scope → loop back to Phase 1.
- Keep raw tool output under `./.zazy/evidence/recon/` so findings are reproducible.