Shodan
Search internet-exposed hosts & services
Freemium. Platform: Web.
What it is
A search engine for internet-connected hosts and services, indexing banners and exposures.
Why it matters
It reveals an organization's external attack surface and a suspect host's exposed services.
In practice
Searching an IP lists its open ports and the software versions they advertise.
Commands
- Look up all known open ports/services and banners for a host
curl "https://api.shodan.io/shodan/host/8.8.8.8?key=YOUR_API_KEY"
- Get the match count (and facet breakdown) for a search query without spending query credits or pulling full results
curl -G "https://api.shodan.io/shodan/host/count" --data-urlencode "query=port:3389 country:US" -d key=YOUR_API_KEY
- Look up all subdomains and DNS records Shodan has indexed for a domain
curl "https://api.shodan.io/dns/domain/example.com?key=YOUR_API_KEY"
Similar tools
- AbuseIPDB: IP address reputation lookups
- GreyNoise: Tell targeted activity from internet scan noise
- crt.sh: Certificate transparency log search
- MXToolbox: DNS, email & blocklist diagnostics
- theHarvester: Passive OSINT recon: emails, subdomains, hosts from a domain
- Sherlock: Find registered usernames across 400+ social platforms