Skip to content
Pwnversity
RECON-PASIVObasic · 6 min · upd. 2026-10

Passive Reconnaissance

T1596T1593

Passive recon means gathering all possible information about a target without interacting directly with its infrastructure: you send no packets to its servers, scan no ports, touch nothing that leaves a trace in its logs. You rely on third-party sources (public DNS, Certificate Transparency, search engines, social networks, leaks) that already hold the data. It’s the first phase of every pentest and the stealthiest: the target never notices you’re looking.

Every passive data point reduces the noise you’ll make later. Before sending a single packet you already know subdomains, the cloud provider, the emails, the technologies, and sometimes leaked credentials. You reach active reconnaissance with a tight list of targets instead of sweeping blind. And in bug bounty and red team, the more you get without touching the target, the less likely you are to be detected (or blocked) before the interesting part.

Passive recon isn’t an isolated technique: it’s the root of a tree that keeps branching. From a seed (the domain) you get assets, from assets you get more assets, and everything consolidates into an inventory that feeds the active phase.

flowchart TD
    A[Seed domain] --> B[DNS / Certificate Transparency]
    A --> C[ASN and IP ranges]
    A --> D[Search engines / dorking]
    B --> E[Subdomains]
    C --> F[Hosts with no DNS]
    D --> G[Documents / metadata]
    D --> H[Secrets in repos]
    A --> I[People / emails]
    E --> J[(Asset inventory)]
    F --> J
    G --> J
    H --> J
    I --> J
    J --> K[Active recon / enumeration]

What turns “passive” into “active” is touching the target’s infrastructure. Two rules to orient yourself:

  • Querying crt.sh is passive; running nmap against its IPs is active.
  • A dig to a public resolver is passive; a zone transfer (AXFR) against its name server is active.

The boundary matters for stealth and, in formal pentests, for legal scope too: only what’s inside the authorized scope may be touched.

Data sources (without touching the target)

Section titled “Data sources (without touching the target)”

All of these query third-party databases, not the target:

  • DNS and DNS history: SecurityTrails, DNSDumpster, VirusTotal.
  • Certificate Transparency: every issued certificate lands in public logs and reveals subdomains; query it at crt.sh or Censys.
  • Device search engines: Shodan, Censys, FOFA, ZoomEye (see Shodan and Device Search Engines).
  • Google dorking: site:, filetype:, inurl: to find indexed files and panels (see Google Dorking).
  • Social and professional networks: LinkedIn (employees), GitHub (code and secrets), X.
  • Credential leaks: Have I Been Pwned, Dehashed, leak databases.
  • Historical archive: Wayback Machine, archive.today.

These tools aggregate many of the sources above in a single run:

Ventana de terminal
amass enum -passive -d target.com # subdomains from multiple passive sources
subfinder -d target.com -all -silent # passive subdomains
theHarvester -d target.com -b all # emails, hosts, and names

For broader OSINT: SpiderFoot and recon-ng (automated collection frameworks) and Maltego for relationship graphs (see Maltego and OSINT Graphs).

A concrete example of a high-yield passive source, without touching the target:

Ventana de terminal
curl -s "https://crt.sh/?q=%25.target.com&output=json" \
| jq -r '.[].name_value' | sort -u
  • Use third-party sources and, if you query something attributable, do it from infrastructure not tied to you.
  • Don’t authenticate with your real accounts on the target’s portals during recon.
  • Save and organize everything (domains, IPs, emails, technologies) in a single inventory for the active phase.
  • Jumping straight to active scanning without doing the passive work: more noise, less coverage.
  • Staying on the main domain and ignoring subdomains, sibling domains, and ranges.
  • Not deduplicating or normalizing: you end up with inconsistent lists that break the next-phase tools.
  • Confusing “doesn’t resolve” with “doesn’t exist”: a dead subdomain today may resolve tomorrow.

An organization shrinks its passive footprint by minimizing data in certificates and DNS, reviewing what employees leak on GitHub and LinkedIn, monitoring Certificate Transparency and leaks (HIBP for business), and stripping metadata from the documents it publishes. What you discover as an attacker, defense should discover first (continuous Attack Surface Management).

  • Domains and subdomains collected (amass / subfinder / crt.sh).
  • IPs, ranges, and ASN of the organization.
  • Technologies and providers identified.
  • Emails and employees (theHarvester, LinkedIn).
  • Search for leaked secrets (GitHub, leaks, HIBP).
  • Documents and metadata collected.
  • History reviewed (Wayback).
  • Everything organized in the inventory for the active phase.