Subfinder

Category: Subdomain Enumeration & DNS Language: Go Type: Passive

πŸ“˜ Definition & Purpose

Subfinder is a fast, passive subdomain discovery tool built in Go. It queries various public, historical, and threat intelligence sources to harvest subdomain lists.

πŸ§ͺ Core Mechanics

Subfinder operates without sending any direct traffic to the target’s servers. Instead, it interacts with APIs (such as VirusTotal, Shodan, Censys, SecurityTrails, and DNSDumpster) to collect records.

πŸš€ Usage & Cheat Sheet

# Basic passive subdomain scan for a domain
subfinder -d target.com -o subdomains.txt

# Run scan using all available passive search engines and threads
subfinder -d target.com -all -t 50 -silent -o subdomains_all.txt

# Use API keys configuration file for optimized results
subfinder -d target.com -config ~/.config/subfinder/provider-config.yaml -o subdomains_api.txt

πŸ”— Integration

This tool is utilized across the: