Passive information gathering & OSINT
What to collect about a target before probing it directly
bash·2 min read··INE Certification
Passive information gathering means learning as much as possible about a target without sending it any traffic. Everything comes from public records and third-party services, which keeps the risk of detection near zero. It’s always done before active recon (port scans, direct requests) for that reason.
Techniques
- WhoIS lookup: registration date, owner, registrar, contact email for a domain (
whois example.org, or via DomainTools). - DNS reconnaissance: A/AAAA/MX/NS/TXT/CNAME records tied to a domain; see the dig snippet and the OSINT toolbelt for the actual commands. A successful zone transfer is very rare but high-value if it happens.
- Subdomain enumeration: passive discovery via
sublist3ror OSINT aggregators, no direct interaction with the target’s own DNS server needed beyond a normal public query. - Website reconnaissance & footprinting: IPs, hidden directories, names/emails tied to the domain, phone numbers, physical addresses, the technology stack.
robots.txtandsitemap.xmlare free hints most sites leave exposed;whatweband services like Wappalyzer or Netcraft fingerprint the stack without you requesting anything unusual. - Email harvesting: via
theHarvester; found addresses feed directly into phishing campaigns or username lists for later brute-forcing. - Leaked password databases: check haveibeenpwned for known breaches tied to the target’s domain; any passwords that surface are candidates for a credential-spray against other services the same organization runs.
- WAF recon:
wafw00fidentifies whether a WAF sits in front of a web target, which shapes how aggressive later active scanning can safely be. - Search engines: Google dorks surface exposed files and forgotten portals.
Quick manual checks
# quick manual checks worth doing even before reaching for dedicated tools
whois example.org
host example.org
Code of conduct
Passive gathering carries essentially no risk of detection since you never touch the target directly. That changes the moment you move into active information gathering (port scans, banner grabs, direct HTTP requests), where the target becomes aware that you’re looking.
Related
- Google dorking cheat sheet: passive searches for exposed files
- OSINT and DNS recon toolbelt: tools for the techniques above
- dig: DNS record lookups and zone transfers
- Host discovery & network mapping workflow: the active phase that follows