Tutorials

Shodan Dorks: Complete Cheat Sheet for Internet Search Queries

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

Shodan dorks are specialized search queries that empower cybersecurity professionals, penetration testers, and IT administrators to precisely identify internet-connected devices, services, and vulnerabilities. A comprehensive shodan dorks list enables immediate discovery of misconfigured systems, open ports, specific software versions, and known exploits across Zondex's index of 80M+ hosts, serving as an invaluable tool for reconnaissance, threat intelligence, and compliance auditing. These powerful queries bypass traditional search engine limitations, directly exposing the attack surface of organizations and providing granular insights into global internet infrastructure.

Understanding Shodan Dorks: Your Gateway to Internet Intelligence

Shodan, and alternative search engines like Zondex, continuously scan the internet, indexing banners from services running on various ports. These banners often contain valuable information such as product names, versions, operating systems, geographic locations, and even vulnerability data. Shodan dorks, or more broadly, internet-scanning dorks, are the syntax and operators used to filter this massive dataset, allowing users to pinpoint specific targets.

For security professionals, the ability to construct effective dorks is a fundamental skill. It helps in:

  • Asset Discovery: Identifying unknown or shadow IT assets exposed to the internet.
  • Vulnerability Assessment: Locating systems running vulnerable software versions (e.g., product:apache version:"2.4.50").
  • Compliance Monitoring: Ensuring that critical services are not unintentionally exposed.
  • Threat Hunting: Tracking attacker infrastructure or specific malware communication channels.
  • Attack Surface Management: Gaining a holistic view of an organization's internet-facing presence.

While Shodan pioneered this domain, Zondex offers a robust platform for similar security research tools, providing equally powerful and often more detailed results for critical infrastructure analysis. It acts as a formidable Shodan alternative by indexing devices, services, and vulnerabilities with precision.

The Anatomy of Shodan Dorks: Essential Operators and Their Use

Mastering Shodan dorks begins with understanding its core search operators. These operators function similarly on Zondex, allowing for flexible and powerful querying.

Basic Search Operators

These operators are the building blocks for most Shodan queries:

  • product:: Filters results by the name of the software or product running on the device.

  • port:: Filters by the port number (e.g., port:22 for SSH, port:3389 for RDP).

  • country:: Filters by country code (e.g., country:US, country:DE).

  • org:: Filters by the organization name (e.g., org:"Amazon.com").

  • has_screenshot:true: Shows results with a screenshot of the service (often web interfaces).

  • os:: Filters by the operating system (e.g., os:"Windows Server 2012").

  • vuln:: Filters by known CVEs (e.g., vuln:CVE-2021-44228 for Log4j).

Zondex Example Queries:

product:nginx country:CN
port:8080 os:Linux
vuln:CVE-2017-0144 country:FR

Advanced Search Operators

For more granular control, these advanced operators are essential:

  • http.title:: Searches for text within the HTML title tag of web services.

  • http.html:: Searches for text within the full HTML body of web services.

  • hostname:: Filters by domain name or parts of a hostname.

  • net:: Filters by IP range or CIDR (e.g., net:192.168.1.0/24).

  • before:/after:: Filters by the date the banner was last updated.

  • isp:: Filters by the Internet Service Provider.

  • version:: Filters by the specific version of a product.

  • asn:: Filters by Autonomous System Number.

Zondex Example Queries:

http.title:"Dashboard" port:8080
http.html:"admin login" country:US
hostname:example.com
net:10.0.0.0/8 product:MySQL

Combining Dorks for Precision

The real power of a shodan dorks list comes from combining operators using boolean logic:

  • AND (default, can be implicit): product:Apache port:80
  • OR: product:nginx OR product:apache
  • NOT: port:80 NOT country:RU
  • Parentheses (): For grouping complex queries.

Zondex Example Queries:

(product:nginx OR product:apache) port:80 country:JP
product:FTP port:21 NOT os:Windows

A Shodan Dorks List for Targeted Discovery

Here’s a practical shodan dorks list, applicable to both Shodan and Zondex, designed to help cybersecurity professionals quickly find common exposures and vulnerabilities.

Common Dorks for Security Assessments

Search Query (Zondex/Shodan) Description Potential Risk Example Zondex Query
port:3389 Finds exposed Remote Desktop Protocol (RDP) services. Remote code execution, brute-force attacks, ransomware entry points. port:3389 os:Windows
product:MongoDB port:27017 Locates unprotected MongoDB databases. Data breaches, data destruction, unauthorized access. product:MongoDB port:27017
product:Redis port:6379 Identifies exposed Redis instances. Data exposure, potential for remote code execution via Redis modules. product:Redis port:6379
product:"Apache Tomcat" port:8080 Finds default Apache Tomcat installations. Default credentials, known vulnerabilities (e.g., vuln:CVE-2017-12617). product:"Apache Tomcat" version:"9.0.0"
product:"nginx" http.title:"Welcome to nginx" Discover default Nginx web servers. Reveals basic internet presence, potential for misconfigurations. product:"nginx" country:US
product:"Elasticsearch" port:9200 Exposes Elasticsearch instances. Data breaches, denial of service, remote code execution. product:"Elasticsearch" country:DE
product:"Docker" port:2375 Finds unsecured Docker daemon APIs. Full system compromise, container escapes. product:"Docker" port:2375
http.html:"phpMyAdmin" Identifies phpMyAdmin installations, often with sensitive data. SQL injection, unauthorized database access. http.html:"phpMyAdmin" country:BR
http.title:"index of /" Discovers open directory listings. Information disclosure, sensitive file exposure. http.title:"index of /admin"
http.title:"WebcamXP" Locates exposed webcams and surveillance systems. Privacy invasion, security monitoring bypass. http.title:"WebcamXP 5"
product:"Jupyter Notebook" port:8888 Finds exposed Jupyter Notebook servers. Code execution, data exfiltration, system compromise. product:"Jupyter Notebook"
vuln:CVE-2021-44228 Specifically targets systems vulnerable to Log4j (Log4Shell). Severe