offensive-techniques/recon-technique/SKILL.md
Technique-first reconnaissance methodology for mapping an attack surface before active testing. Covers passive collection (zero target contact), active enumeration (controlled probing), the iterative transition between phases, and how to produce a prioritized attack plan for vulnerability scanning. Use when you need to scope a target, identify high-value entry points, and decide where to invest deeper analysis.
npx skillsauth add aeondave/malskill recon-techniqueInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Goal: map the attack surface with minimal noise, identify high-value entry points, and produce a structured attack plan that drives the next phase (vulnerability scanning, exploitation).
osint-technique.Before enumerating, classify the scope and decide whether passive or active collection should answer the next question.
subfinder, amass, theharvester, asnmap, shodan, gau), then active validation and fingerprinting (dnsx, massdns, masscan, rustscan, nmap, httpx, eyewitness, feroxbuster, gobuster, katana, hakrawler) once a target package exists.Recon is iterative, not a single pass. Each discovery opens new threads.
Loop:
1. Passive collection — zero target contact.
2. Catalog assets and identify high-value threads.
3. Active enumeration — controlled probing of selected targets.
4. Pivot: new findings trigger new passive queries or deeper active probes.
5. Repeat until diminishing returns.
Exit when: attack surface is mapped well enough to produce a ranked target list.
Do not move to vulnerability scanning before you have a clear service inventory and a prioritized entry point list.
Zero direct contact with target infrastructure. All data from public or archived sources.
Goal: build a broad asset map — domains, subdomains, IPs, tech stack — without generating any target-side logs.
Use certificate transparency, passive DNS, and search engines — no direct DNS queries to target resolvers yet.
Sources to check:
site:target.com, site:*.target.comTool families:
offensive-tools/recon/subfinder/ — passive subdomain aggregation from multiple sourcesoffensive-tools/osint/amass/ — DNS passive collection + OSINT integrationsoffensive-tools/osint/theharvester/ — emails and subdomains from search engines and DNS sourcesMap the organization's IP space without scanning it.
Tool families:
offensive-tools/recon/asnmap/ — domain/IP/org → full CIDR ranges from ASN data (passive)offensive-tools/recon/shodan/ — historical host/service data indexed passively (no direct contact with target)Identify tech stack, service versions, and historical exposure without touching the target.
Tool families:
offensive-tools/recon/shodan/ — historical exposure, open ports, banners, certificatesoffensive-tools/recon/gau/ — known URLs from Wayback, Common Crawl, URLScan per domainProduce before moving to active:
Controlled direct contact with target infrastructure. Generates logs on target side — scope and pace within authorization limits.
Goal: resolve the passive asset map into a concrete service inventory — open ports, service versions, web endpoints, and ranked attack surface.
Resolve the passive subdomain list. Filter dead hosts and wildcard noise before deeper work.
Tool families:
offensive-tools/recon/dnsx/ — bulk DNS resolution, wildcard detection, filteringoffensive-tools/recon/massdns/ — high-throughput DNS resolution and brute-forceAfter initial resolution, expand with active brute-force: use permutation generators (altdns, gotator) to derive candidates from confirmed subdomains (dev-app, app-staging, v2-api), then brute-force resolve with validated resolvers (puredns, shuffledns). Permutation expansion finds assets that passive sources miss. See references/active-recon.md.
Fast breadth-first sweep across confirmed IP space. Identify open ports — do not probe services yet.
Tool families:
offensive-tools/network/masscan/ — ultra-fast TCP/UDP sweep over large rangesoffensive-tools/network/rustscan/ — fast discovery with optional nmap handoffDeep scan on ports identified in sweep. Version detection, banner grab, default script set.
Tool families:
offensive-tools/network/nmap/ — version detection, NSE scripts, OS fingerprintFor every web-accessible host: status, title, tech stack, redirect chain, TLS metadata. Screenshot for visual ranking of large scopes.
Tool families:
offensive-tools/recon/httpx/ — HTTP probing at scale: status, title, tech, TLSoffensive-tools/recon/eyewitness/ — screenshot all HTTP services for visual triageDetect WAFs and security controls during this phase — before content discovery or parameter fuzzing. httpx -tech-detect surfaces common WAFs inline; dedicated WAF fingerprinting identifies vendor and product for targeted bypass strategy. Adjust tooling (lower rate, evasion headers, tamper scripts) before probing WAF-protected hosts.
Tool families:
offensive-tools/recon/wafw00f/ — WAF vendor fingerprinting; run per high-value host before injection testingDiscover hidden endpoints, admin panels, APIs, and exposed files on confirmed web hosts. Target the highest-value hosts first.
Tool families:
offensive-tools/recon/feroxbuster/ — recursive content and endpoint brute-forceoffensive-tools/recon/gobuster/ — directory and file enumerationCollect known URLs and parameters from crawl, JS analysis, and public archives for confirmed live hosts.
Tool families:
offensive-tools/recon/katana/ — JS-aware web crawler; headless mode for SPA/React/Angular appsoffensive-tools/recon/hakrawler/ — fast link extraction from static HTMLoffensive-tools/recon/gau/ — passive URL harvest per live host (Wayback, URLScan, Common Crawl)For REST, GraphQL, and real-time APIs, convert raw routes into an auth-aware inventory before probing. Map methods, documented vs observed sources, trust boundaries, object identifiers, and high-risk parameters; see references/api-recon.md.
Modern targets host storage, APIs, and internal tooling in cloud providers outside their own WHOIS/ASN footprint. Shadow IT, dev environments, and data exports frequently appear here.
Passive (no direct contact):
target.s3.amazonaws.com, target.blob.core.windows.net, target.storage.googleapis.com.GrayhatWarfare for publicly indexed buckets matching the organization name or product names.Active:
altdns, gotator) to generate bucket name candidates before testing.Tool families:
s3scanner — enumerate and test S3 bucket permissions (no dedicated skill — pip install s3scanner, then s3scanner scan --buckets candidates.txt)cloud_enum — multi-cloud enumeration across S3, Azure Blobs, GCP Storage (no dedicated skill — python cloud_enum.py -k orgname)See references/cloud-recon.md for detailed patterns and naming strategies.
Move when:
Stay in passive when:
Move when:
Recon ends when the agent produces this structured output:
| Asset | Type | IP | Ports | Tech | Priority | |-------|------|----|-------|------|----------| | app.target.com | Web app | 1.2.3.4 | 443 | Nginx, React, Node | High | | api.target.com | REST API | 1.2.3.5 | 443 | Express, PostgreSQL | High | | admin.target.com | Admin panel | 1.2.3.6 | 443, 8443 | Apache, PHP | Critical |
Rank by:
Per high-priority target, specify:
Use references/handoff-to-vuln-search.md before switching to vuln-search-technique; it defines the minimum target package and stop conditions.
data-ai
Scoped routing: Linux operator; hosts, sessions, users, services, packages, logs, containers, SSH, network paths, privilege evidence.
development
Offensive methodology for ICS/OT/SCADA environments in authorized industrial penetration testing and red team operations. Use when assessing PLCs, RTUs, HMIs, engineering workstations, historians, or field devices running Modbus, DNP3, EtherNet/IP, S7comm/S7+, Profinet, IEC 60870-5-104, BACnet, or OPC-UA. Covers passive OT network enumeration, protocol-level device interrogation, PLC coil/register read-write attacks, HMI session exploitation, historian and engineering workstation compromise, and safe escalation rules for critical infrastructure scope. Does not cover: general IT network exploitation (network-technique), physical hardware interfaces UART/JTAG/SPI (hardware-technique), wireless sensor network attacks (wireless-technique), RF/SDR signal analysis (hardware-ctf or wireless-technique), or CTF-framed ICS lab tasks (ics-ctf).
tools
Offensive methodology for authorized game security assessments, game client security research, and game-adjacent penetration testing in real-world engagements. Use when assessing game clients for cheating vulnerabilities, testing anti-cheat effectiveness, auditing game server protocols for score manipulation or economic fraud, reverse engineering game DRM or license validation, analyzing game save file protection, or assessing game mod/plugin security. Covers: process memory scanning and manipulation (Cheat Engine methodology), game binary reversing for license and DRM bypass, game network protocol analysis and packet replay, anti-cheat mechanism analysis, save file format reversing and tampering, speed hack and value injection techniques. Does NOT cover: CTF game challenges (game-ctf), game engine source code auditing (web-exploit-technique or vuln-search-technique for the backend), or general binary exploitation (pwn-ctf or reversing-technique).
development
Auth assessment: hardware/embedded methodology; UART/JTAG/SWD/SPI/I2C, firmware extraction, boot/debug paths, embedded OS evidence.