← All tools

theHarvester

OSINT · Beginner

Collect emails, names and subdomains from public sources.

Knowledge reference only. Prefer in-browser Labs first. Use this tool only on systems you own or have written authorization to test.

What to learn

  • Data sources
  • Result interpretation

Legitimate use

theHarvester is used legitimately by security teams for authorized testing, defense validation and education.

Official docs →

theHarvester — email & subdomain OSINT

Passive reconnaissance

  1. 1. Passive sources

    `theHarvester -d yourdomain.com -b duckduckgo,google` — document emails, hosts, and names for exposure review.

  2. 2. Correlate

    Cross-check with SecurityTrails, crt.sh, or subfinder — remove duplicates; note stale DNS.

  3. 3. Defensive use

    Blue team: remove exposed emails from public pages; enable SPF/DMARC; monitor for credential stuffing.

Example commands (lab VMs only)

  • theHarvester -d example.com -b duckduckgo
    Search public sources for a domain