Mastering Shodan: A Practical Guide for Ethical Hackers & OSINT Analysts

Shodan is often called "the search engine for the Internet of Things." Unlike traditional search engines, Shodan lets you discover connected devices, exposed services, and even vulnerable systems across the globe.
Ethical hackers and cybersecurity professionals use it for OSINT (Open Source Intelligence), attack surface mapping, and threat detection.
In this article, we'll break down the most useful filters and tools to help you get the most out of Shodan in real-world investigations.
π Shodan β Device and Service Search

π§ Most Useful Filters for OSINT
π By service / port
-
port:22 β Open SSH
-
port:21 β FTP
-
port:80 β HTTP
-
port:443 β HTTPS
-
port:23 β Telnet (commonly found on insecure IoT)
-
port:554 β RTSP (cameras)
-
port:9100 β Exposed printers
π By location
-
country:ES β Devices in Spain
-
city:Mexico City
-
geo:19.4326,-99.1332,30 β Coordinates + radius (km)
π’ By provider or organization
-
org:"Movistar"
-
isp:"Claro"
π» By software / hardware
-
product:"GoAhead-Webs"
-
product:"Dahua DVR"
-
product:"OpenSSH"
-
os:"Windows 7"
-
title:"Router Login"
-
title:"webcamXP"
-
http.favicon.hash:-904662927 β Detects systems by unique favicon hash
π Security / vulnerabilities
-
has_screenshot:true β Show captured web interfaces
-
ssl.version:TLSv1
-
vuln:CVE-2021-44228 β Search by specific vulnerability
-
tag:default β Devices with default configurations
β±οΈ By date
-
after:"2024-01-01"
-
before:"2024-04-01"
π§± Other useful filters
-
hostname:".edu"
-
org:"University"
-
net:186.28.0.0/16 β IP range
-
device:webcam β Filter by device type

π§° Tools & Additional Resources
𧨠Shodan Exploits
π https://exploits.shodan.io/
Displays known exploits related to the services or devices you find. Great for real-time vulnerability awareness.
π₯οΈ Shodan CLI
π https://cli.shodan.io/
Command-line interface for automating queries, scraping results, or integrating with custom scripts.
πΊοΈ Shodan Maps
π https://maps.shodan.io/
A global visual map of internet-connected devices.
π Official Documentation
β Conclusion
Shodan is not just a search engine β it's a powerful tool for anyone involved in cybersecurity, ethical hacking, or digital investigations. With the right filters and some creativity, you can uncover everything from unsecured webcams to outdated ICS systems.
But remember:
π With great visibility comes great responsibility.
Always use Shodan within the bounds of the law, and never interact with systems you don't have explicit permission to test.
Whether you're doing a quick OSINT sweep, mapping an organization's attack surface, or just exploring the wild side of the internet β Shodan gives you eyes where no one's looking.
Stay curious, stay ethical. π‘οΈ