Tutorials

Shodan Dorks: Complete Cheat Sheet for Internet Search Queries

Zondex Research TeamJun 11, 20263 min read
Shodan Dorks: Complete Cheat Sheet for Internet Search Queries

Shodan dorks are specialized search queries used to discover internet-connected devices, services, and vulnerabilities by leveraging Shodan's vast index of open ports and banners. Understanding a comprehensive shodan dorks list is crucial for cybersecurity professionals, enabling them to pinpoint misconfigured servers, exposed databases, SCADA systems, or webcams with precision. For instance, a query like port:3389 country:"US" os:"Windows Server 2012 R2" immediately reveals publicly accessible RDP services within the United States running a specific OS, providing immediate insight into potential attack surfaces.

Understanding Shodan and Zondex: The Foundation of Internet Scanning

Internet search engines for devices, like Shodan and Zondex, continuously scan the entire IPv4 (and increasingly IPv6) address space, collecting banner information, open ports, and service data. This data is then indexed and made searchable, transforming the internet from an opaque network into a discoverable database. These platforms do not actively exploit vulnerabilities; rather, they passively collect information broadcast by devices and services.

This passive reconnaissance provides an invaluable resource for:

  • Asset Discovery: Identifying an organization's internet-facing assets, often revealing forgotten or unauthorized devices.
  • Vulnerability Research: Locating instances of known vulnerable software versions or misconfigurations.
  • Threat Intelligence: Monitoring the global exposure of specific technologies, informing risk assessments.
  • Compliance Auditing: Verifying that devices adhere to security policies (e.g., no exposed administrative interfaces).

Zondex, similar to Shodan, indexes over 80 million hosts, offering similar powerful dorking capabilities, often with enhanced features for specific vulnerability enumeration and detailed service analysis.

Essential Shodan Dorks List and Filters

Mastering the core filters is the first step in effective dorking. This complete shodan dorks list provides the essential filters that form the building blocks of targeted searches.

Filter Description Shodan Example Zondex Example
product Finds specific software or hardware products. product:nginx product:nginx
version Filters results by product version. product:apache version:2.4.49 product:apache version:2.4.49
port Searches for devices with a specific open port. port:8080 port:8080
country Narrows results by country code (ISO 3166-1 alpha-2). country:"DE" country:"DE"
city Narrows results by city name. city:"London" city:"London"
org Filters by the organization owning the IP address. org:"Amazon.com" org:"Amazon.com"
os Searches for specific operating systems. os:"Linux 3.X" os:"Linux"
hostname Finds devices with a specific hostname or domain. hostname:"example.com" hostname:"example.com"
ip Filters for a specific IP address or range (CIDR). ip:192.168.1.1 ip:10.0.0.0/8 ip:192.168.1.1 ip:10.0.0.0/8
before/after Filters by date of last scan. apache after:2023-01-01 apache after:2023-01-01
has_screenshot Finds devices with available screenshots (e.g., webcams, RDP). has_screenshot:true has_screenshot:true
vuln Searches for devices associated with a specific CVE. vuln:CVE-2021-44228 vuln:CVE-2021-44228
http.title Searches for specific text in the HTTP title tag. http.title:"Dashboard" http.title:"Dashboard"
http.html Searches for specific text in the HTTP HTML content. http.html:"password" http.html:"password"
ssl.cert.issuer.cn Common name of the SSL certificate issuer. ssl.cert.issuer.cn:"Cloudflare" ssl.cert.issuer.cn:"Cloudflare"

Advanced Dorking Techniques and Practical Use Cases

Combining these filters allows for highly specific and powerful searches, often uncovering deeply buried vulnerabilities or misconfigurations.

Locating Exposed Databases

Databases like MongoDB, Redis, and Elasticsearch are frequently exposed without proper authentication.

MongoDB without Authentication: MongoDB defaults to port 27017. Many instances are inadvertently exposed.