Shodan and Internet-Wide Scanning Databases
What you'll learn: How to use internet-wide scanning databases like Shodan and Censys to discover exposed devices and services without performing your own scans.
The Search Engine for Everything Connected
You've already learned how to gather intelligence from DNS, domain registrations, search engines, and certificate logs. Now imagine a search engine that continuously scans the entire internet and indexes every device it finds—web servers, IoT cameras, industrial control systems, databases, routers, even traffic lights. That's what Shodan and Censys do.
These services perform massive, ongoing port scans across the entire IPv4 address space. Instead of you scanning a target (which might be noisy and trigger alerts), you simply search their databases for information they've already collected.
How It Works
Services like Shodan send requests to every IP address on common ports (80, 443, 22, 23, etc.), record the banner responses, and index them in a searchable database. You can then query for specific:
- Software versions:
apache 2.4.49(a vulnerable version) - Device types:
default passwordorwebcam - Locations: devices in specific countries or cities
- Open ports and services: MongoDB databases accidentally exposed to the internet
For example, you could search for all publicly-accessible security cameras running a specific firmware in a particular city—without ever sending a single packet yourself.
Reconnaissance Value
From an OSINT perspective, this is goldmine. You can discover what services a target organization is running, identify potentially vulnerable systems, find forgotten or misconfigured devices, and map their internet-facing infrastructure—all passively by querying someone else's scanning data.
Key Takeaway: Internet-wide scanning databases like Shodan and Censys let you discover exposed devices and services globally by querying pre-collected scan data, enabling powerful passive reconnaissance without directly touching target systems.