Shodan - IoT Search Engine
The most powerful search engine to discover and analyze the world's internet infrastructure
What is Shodan?
Shodan is the first search engine for the Internet of Things (IoT). Unlike Google, which indexes web content, Shodan scans and indexes the metadata of internet-connected devices: servers, routers, cameras, industrial systems and much more.
Created in 2009 by John Matherly, Shodan has become an essential tool for security researchers, pentesters and CTI analysts. It reveals an organization's internet exposure, helps identify vulnerabilities and monitors the attack surface.
Key points
- Automated scanning - Shodan scans the internet 24/7 to index exposed services
- Powerful filters - Search by port, product, country, vulnerability, etc.
- Full API - Automate your searches with Python, the CLI or REST
- Historical data - Access the history of infrastructure changes
Core capabilities
Explore the features that make Shodan the go-to tool for internet reconnaissance
IoT device search
Discover millions of internet-connected devices in real time
- Web servers
- IP cameras
- Routeurs
- Industrial systems
Vulnerability analysis
Identify security flaws and CVEs on exposed infrastructure
- CVE scanning
- SSL/TLS analysis
- Exploits detection
- Weak configs
Network mapping
Map global network infrastructure and visualize its distribution
- ASN mapping
- Geolocation
- Network ranges
- ISP analysis
Continuous monitoring
Track infrastructure changes in real time with alerts
- Real-time alerts
- Network monitoring
- Change tracking
- Custom triggers
Industrial intelligence
Analyze SCADA, ICS and critical infrastructure systems
- SCADA systems
- ICS protocols
- PLCs
- Industrial IoT
Powerful API
Automate your searches with the full REST API
- REST API
- Python SDK
- CLI tools
- Streaming API
Search filters
Master Shodan filters for precise, efficient searches
Network filters
netnet:192.168.0.0/16Search by CIDR range
portport:22Filter by TCP/UDP port
asnasn:AS15169Autonomous system number
ispisp:"Orange"Internet service provider
Geographic filters
countrycountry:FRISO country code
citycity:ParisSpecific city
geogeo:48.8566,2.3522,10GPS coordinates + radius
regionregion:"Ile-de-France"Administrative region
Technical filters
osos:WindowsOperating system
productproduct:ApacheSoftware product
versionversion:2.4.41Specific version
hostnamehostname:*.govHostname or pattern
Security filters
vulnvuln:CVE-2021-44228CVE vulnerability
sslssl.cert.expired:trueExpired SSL certificate
has_screenshothas_screenshot:trueScreenshot available
http.titlehttp.title:"login"Web page title
OSINT use cases
Practical scenarios for using Shodan in investigations
Infrastructure reconnaissance
Map an organization's exposed infrastructure
Define the scope (ASNs, domains, IP ranges)
Find all exposed services
Map the technologies in use
Identify potential entry points
Review security configurations
Document the findings
Produce an exposure report
Vulnerability hunting
Find systems vulnerable to specific CVEs
Identify the target CVE (e.g. Log4Shell)
Build the right Shodan query
Filter by geography or sector
Analyze the affected versions
Check severity and exploitability
Prioritize targets by risk
Notify the affected organizations
Attack surface monitoring
Continuously monitor your internet exposure
Define the assets to monitor
Create monitoring queries
Set up automatic alerts
Track newly exposed services
Detect configuration changes
Identify shadow IT
Produce periodic reports
Advanced queries
Specialized search examples for different types of infrastructure
Industrial systems
port:502 country:FRModbus systems in France
product:"Siemens" port:102Siemens S7 PLCs
"Schneider Electric" port:80Exposed Schneider systems
Cameras & IoT
title:"webcamXP" has_screenshot:trueAccessible webcams
product:"Hikvision" country:FRHikvision cameras in France
"Server: yawcam" "Mime-Type: text/html"Yawcam cameras
Databases
product:MongoDB port:27017 -authenticationMongoDB without authentication
port:3306 product:MySQLExposed MySQL servers
product:Elasticsearch port:9200Elasticsearch instances
Best practices
Essential recommendations for responsible and effective use of Shodan
Do
- Use it for legitimate reconnaissanceOnly audit your own infrastructure or with authorization
- Combine several filtersRefine your searches with port, country, product, etc.
- Use the API to automatePython scripts or the CLI for recurring searches
- Document your findingsExport and archive results for your reports
- Use a VPNProtect your IP during sensitive searches
- Use facetsAnalyze statistics to understand trends
Avoid
- Accessing systems without authorizationShodan is only a reconnaissance tool: never attempt an intrusion
- Overly broad queriesAvoid generic searches that return millions of results
- Ignoring API limitsRespect your subscription's query and scan credits
- Disclosing vulnerabilities publiclyContact the owners before publishing anything
- Relying on Shodan aloneCross-check with other sources (Censys, ZoomEye, etc.)
- Actively scanning targetsUse indexed data; don't scan yourself
Getting started with Shodan
Step-by-step guide to start using Shodan effectively
Create a Shodan account
Sign up at shodan.io to access advanced features
Free account: limited searches, few result pages, advanced filters reserved
Membership and API plans: advanced filters, query and scan credits, API access (current pricing on shodan.io)
Try simple searches
Start with basic queries to get familiar
apache country:FRport:22product:nginx city:ParisExplore facets and filters
Use the side panel to see the geographic distribution, top ports, organizations, etc.
Install the CLI tool
Automate your searches with the command-line interface
pip install shodan
shodan init YOUR_API_KEY
shodan search apacheSet up monitoring alerts
Create alerts to be notified of changes to your infrastructure (paid plan required)
Resources and documentation
Useful links to deepen your Shodan knowledge
Ready to explore the invisible internet?
Discover other powerful OSINT tools and put your skills into practice with our case studies

Ready to put it into practice?
CyberXTEL is our free platform to train hands-on: certifications, CTFs and a dedicated cyber awareness space.