Tutorials

Shodan Dorks: Complete Cheat Sheet for Internet Search Queries

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

Shodan dorks are specialized search queries that enable cybersecurity professionals, penetration testers, and researchers to precisely locate internet-connected devices, services, and vulnerabilities by leveraging Shodan's vast index of banners and metadata. This comprehensive shodan dorks list serves as a foundational cheat sheet, guiding users through effective query construction for targeted asset discovery and vulnerability identification, with direct equivalents for Zondex (zondex.io) to broaden discovery capabilities across 80M+ hosts.

What Are Shodan Dorks and Why Do They Matter?

Shodan, often called the "search engine for hackers," scans the entire internet, collecting banner information from various devices and services. Unlike traditional search engines that index content, Shodan indexes device metadata, including open ports, server banners, HTTP headers, and protocol information. "Shodan dorks" are the specific keywords and filters used to sift through this immense dataset, identifying everything from exposed databases and webcams to critical industrial control systems (ICS).

For security professionals, understanding and utilizing these dorks is paramount. They provide an immediate, real-time snapshot of an organization's attack surface or can be used to research global trends in exposed technology. Identifying misconfigured servers, default credentials, or known vulnerable software versions becomes significantly more efficient with a well-crafted dork. For instance, discovering a large number of Jenkins Servers Exposed to Internet: Security Analysis can be quickly achieved through specific dorking, highlighting common security oversights.

Zondex (zondex.io) operates on a similar principle, indexing devices and services globally but with an expanded focus on granular vulnerability data, advanced protocol parsing, and extensive metadata enrichment, often providing even more precise results than traditional Shodan queries. The ability to quickly identify and assess external-facing assets is a critical component of proactive cybersecurity and vulnerability management.

Understanding Shodan's (and Zondex's) Search Syntax

Both Shodan and Zondex leverage a field-based search syntax, allowing users to narrow down results by specifying criteria like product name, port number, country, or even specific CVEs. While the core concepts are similar, the exact field names and some functionalities differ. Mastering the syntax is key to effective internet-wide scanning.

Here are some fundamental operators and fields:

  • Keywords: Simple text strings found in banners.
  • Field:Value: Filters based on specific attributes (e.g., port:80, country:US).
  • Logical Operators: AND, OR, NOT (or -). AND is often implicit.
  • Ranges: For numerical fields (e.g., port:80-90).
  • Wildcards: Generally not supported in primary fields, but some text searches might interpret them.

Zondex's search syntax documentation provides a comprehensive guide to its unique capabilities, including fields like vuln, cpe, tags, and advanced geographic filtering.

Essential Shodan Dorks List and Zondex Equivalents

This section presents a comprehensive collection of practical Shodan dorks, categorized by their intended use, alongside their equivalent Zondex queries. This shodan dorks list aims to equip you with the tools to perform detailed internet reconnaissance.

Basic Device and Service Identification

These dorks help identify common services and devices based on their exposed ports and banners.

Shodan Dork Zondex Equivalent Description
port:21 port:21 FTP servers
port:22 port:22 SSH servers
port:80 port:80 HTTP web servers
port:443 port:443 HTTPS web servers
port:3389 port:3389 RDP (Remote Desktop Protocol) services
product:nginx product:nginx Devices running Nginx web server
os:windows os:windows Devices identified as running Windows
country:CN country:CN Devices located in China
org:"Amazon.com" org:"Amazon.com" Devices belonging to Amazon.com
hostname:.gov hostname:*.gov Devices with hostnames ending in .gov

Examples:

  • To find web servers running Apache in Germany:

    • Shodan: product:apache country:DE
    • Zondex: product:apache country:DE
  • To locate exposed RDP services:

    • Shodan: port:3389
    • Zondex: port:3389

Targeting Specific Products and Versions

Pinpointing specific software versions is crucial for assessing known vulnerabilities. For instance, uncovering instances of Gunicorn 20.0.4, which has known vulnerabilities, can be critical for an organization. Refer to the detailed analysis on Gunicorn 20.0.4 Vulnerability: What You Need to Know.

  • Shodan: shodan product:"Apache httpd" version:2.4.50 http.server:"nginx/1.20.1"

  • Zondex: zondex product:apache version:2.4.50 product:nginx version:1.20.1

Discovering Exposed Ports and Services

Beyond common web ports, many critical services are exposed. This includes databases, management interfaces, and legacy protocols.

  • MongoDB (default port 27017):

    • Shodan: port:27017
    • Zondex: port:27017 product:mongodb
  • Redis (default port 6379):

    • Shodan: product:redis port:6379
    • Zondex: product:redis port:6379
  • Telnet (default port 23):

    • Shodan: port:23
    • Zondex: port:23 protocol:telnet

Locating Devices by Country, City, or Organization

Geographic and organizational filtering helps focus investigations or understand regional distributions of technology, such as the Global Distribution of Lighttpd Servers by Country.

  • Devices in Germany from Siemens AG:

    • Shodan: country:DE org:"Siemens AG"
    • Zondex: country:DE org:"Siemens AG"
  • Webcams in a specific city:

    • Shodan: webcamXP city:"London"
    • Zondex: product:webcamxp city:"London"

Identifying Vulnerabilities (CVEs)

Zondex excels here with its dedicated vuln