Skip to content
Pwnversity
RECON-SHODANintermediate · 3 min · upd. 2026-10

Shodan and Device Search Engines

T1596.005

Shodan (and its cousins Censys, FOFA, ZoomEye) constantly scan the whole Internet and store which services respond on each IP: banners, ports, certificates, versions, technologies. Instead of scanning the target yourself (noisy, active), you query an already-built database (passive). It’s one of the most powerful recon sources: you find exposed infrastructure, forgotten panels, cameras, open databases, and the real IP behind a CDN.

Service banners on every port, TLS certificates, HTTP headers, favicon hashes, geolocation, the owning organization and ASN, and sometimes screenshots (VNC/RDP). All searchable with filters, which lets you ask “what does this organization have exposed” without sending it a single packet.

  • hostname:target.com — by hostname.
  • ssl:target.com or ssl.cert.subject.cn:target.com — by certificate.
  • org:"Target Inc" — by owning organization.
  • net:1.2.3.0/24 — by IP range (see ASN and IP Ranges).
  • port:445 — by port.
  • product:nginx / version: — by software and version.
  • http.title:"Login" — by page title.
  • http.favicon.hash:-123456 — by favicon hash (correlates same-org infrastructure).
  • country: / city: — geolocation.
  • vuln:CVE-2021-44228 — by known vulnerability (requires a paid plan).

Filters combine: org:"Target" port:3389 returns all the organization’s exposed RDP.

  • Real IP behind Cloudflare (via certificate or favicon, bypassing the CDN): ssl:target.com -org:"Cloudflare" or http.favicon.hash:<real_site_hash>.
  • Databases with no auth: org:"Target Inc" "MongoDB Server Information" port:27017.
  • Exposed SMB: port:445 os:Windows.
  • Remote desktops: screenshot.label:rdp.
Ventana de terminal
shodan init <APIKEY>
shodan search 'org:"Target"'
shodan host 1.2.3.4
# Censys (very strong on certificates and hosts)
censys search 'services.tls.certificates.leaf_data.subject.common_name: target.com'

Useful complements: FOFA and ZoomEye (different coverage), BinaryEdge and GreyNoise (the latter to tell background Internet scan “noise” apart).

The favicon hash identifies applications and lets you find all the infrastructure using the same icon, including the real IP behind a CDN or forgotten instances. You compute the site’s favicon hash and search Shodan with http.favicon.hash:116323821 (see also Technology Fingerprinting).

  • Trusting the banner as the real service: it may be cached or stale.
  • Treating a Shodan result as “live now”: the last-seen date can be weeks old; verify (within scope) before concluding.
  • Searching only by hostname: and missing DNS-less infra that surfaces only via org:, ssl:, or net:.
  • Forgetting that vuln: and some filters need a paid plan and can yield false positives.

Shrink your Shodan exposure: don’t expose unnecessary services to the Internet, close externally-facing panels and databases, use certificates that don’t reveal internal hostnames, protect the origin behind the CDN (a firewall that only accepts the CDN’s IPs — see WAF Bypass), and periodically monitor what shows up for your organization in Shodan and Censys.

  • Search the target’s infra by org:, ssl:, and hostname:.
  • Locate the real IP behind a CDN (certificate / favicon).
  • Exposed ports and services with their versions.
  • Open databases or panels with no authentication.
  • Favicon hashing to correlate infrastructure.
  • Cross-reference with known vuln: CVEs.
  • Repeat in Censys / FOFA for coverage.
  • Everything exported to the target inventory.