OSINT Recon
Run structured reconnaissance against user-provided authorized targets.
Input Parsing
Accept input as: TARGET [DEPTH] [MODE]
Depth:
passive(default)activefull
Mode:
plan: report plan + command set onlyexecute(default, preferred): run command batches and capture evidence
If mode is omitted, default to execute.
Examples:
$osint-recon example.com$osint-recon example.com active$osint-recon "Acme Corp" full execute$osint-recon 203.0.113.0/24 passive execute
Execution Policy
- Always generate recon plan first.
- In
executemode (default):- run command batches autonomously for routine in-scope actions,
- request approval only for OPSEC-dangerous actions,
- provide brief OPSEC warning for active/noisy actions.
- Capture exact commands and key outputs in the report.
Workflow
- Create output directory:
mkdir -p recon/<target-slug>/
- Run passive recon for all depths.
- Run active recon only for
activeorfulldepth; require approval only for OPSEC-dangerous steps. - Correlate findings and prioritize exploitable attack surface.
- Save report:
recon/<target-slug>/recon-report.md
Phase 1: Passive Recon (All Depths)
Suggested commands:
# Subdomains
subfinder -d <target> -silent -o recon/<target-slug>/subdomains.txt
# DNS records
dig +short <target> A
dig +short <target> MX
dig +short <target> TXT
dig +short <target> NS
# Certificate transparency
curl -s "https://crt.sh/?q=%25.<target>&output=json"
# WHOIS
whois <target>
Investigate:
- ASN/IP ownership and provider footprint
- CDN/WAF presence
- exposed technologies and externally reachable services
- credential/leak indicators from public sources
Phase 2: Active Recon (Active/Full Depth)
Suggested commands:
# HTTP probing / tech fingerprinting
httpx -l recon/<target-slug>/subdomains.txt -title -status-code -tech-detect -o recon/<target-slug>/httpx.txt
# Quick TCP service scan
nmap -sC -sV --top-ports 1000 -oA recon/<target-slug>/nmap-quick <target>
# Full TCP scan (noisier)
nmap -sC -sV -p- -oA recon/<target-slug>/nmap-full <target>
# Directory discovery
ffuf -u https://<target>/FUZZ -w <wordlist> -mc 200,301,302,403
# Template-based checks
nuclei -l recon/<target-slug>/subdomains.txt -o recon/<target-slug>/nuclei.txt
Reporting Template
# OSINT Report ? <target>
## Depth: <passive|active|full>
## Mode: <plan|execute>
## Timestamp: <utc timestamp>
## Executive Summary
- High-level attack-surface summary.
## Findings
- Subdomains / hosts
- Infrastructure ownership and hosting
- Technology fingerprints
- Notable exposures
## Commands and Evidence
- exact command
- key output
- interpretation
## Prioritized Next Steps
1. next action
2. next action
Quality Rules
- Keep results target-specific and evidence-backed.
- Distinguish confirmed findings vs hypotheses.
- Prioritize exploitability over raw finding count.