Tutorials

Shodan Dorks: Complete Cheat Sheet for Internet Search Queries

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

Mastering Shodan dorks involves understanding a powerful syntax for internet search queries that reveal exposed devices, services, and potential vulnerabilities across the global network. These specialized commands, identical in principle to those used on Zondex, allow cybersecurity professionals, pentesters, and IT administrators to rapidly pinpoint specific assets, misconfigurations, and threats lurking online. This guide provides a comprehensive shodan dorks list, detailing the filters and operators essential for effective reconnaissance and proactive security, empowering you to navigate Zondex's index of 80M+ hosts with precision.

Understanding Shodan Dorks and Zondex's Power

Shodan, and Zondex in parallel, function as specialized search engines that index the internet of things (IoT), industrial control systems (ICS), network devices, and traditional servers. Unlike general web search engines, they gather information from service banners, open ports, and system configurations, providing a deep insight into how these devices are exposed to the internet. A "dork" in this context is a specific search query designed to exploit these indexing capabilities to find particular types of information or systems.

For instance, a simple query like port:22 on Zondex immediately surfaces all devices with SSH port 22 open. Extending this with port:22 product:OpenSSH version:8.2p1 narrows the results to specific versions, crucial for identifying systems vulnerable to known exploits. Zondex's robust indexing capabilities extend to over 80 million hosts, providing an invaluable resource for asset discovery, threat intelligence, and vulnerability assessment, mirroring the functionality that makes a well-crafted shodan dorks list so indispensable.

How Zondex Indexes the Internet

Zondex actively scans the internet, performing banner grabbing, identifying open ports, and parsing service responses. This collected metadata forms a rich database that can be queried with sophisticated filters. When a service responds, Zondex extracts information such as product names, versions, geographical location, organization details, and even HTTP headers or HTML content. This detailed data allows for highly granular searches, enabling security teams to discover assets that might otherwise remain hidden or forgotten, forming part of a critical attack surface managed by an EASM platform.

Essential Zondex/Shodan Filters and Operators (Shodan Dorks List)

Effective dorking relies on understanding the core filters and how to combine them. Here’s a breakdown of fundamental Zondex search filters and their practical applications. For a complete overview of all available commands and their usage, refer to our search syntax documentation.

Filter Description Zondex Example
product Searches for specific software products. product:nginx
port Finds devices with a specific port open. port:8080
country Narrows results by country code (e.g., US, DE, CN). country:US
org Filters by organization name. org:"Amazon.com"
os Identifies devices running a specific operating system. os:linux
hostname Searches for specific hostnames. hostname:.gov
http.title Looks for text within the HTTP title tag. http.title:"Dashboard"
http.component Finds web technologies/frameworks (e.g., Apache, Express). http.component:Wordpress
http.status Filters by HTTP status codes (e.g., 200, 403, 500). http.status:401
vuln Discovers devices associated with a specific CVE ID. vuln:CVE-2021-44228
has_screenshot Shows results that include a screenshot. has_screenshot:true
ip Searches for specific IP addresses or CIDR ranges. ip:192.168.1.0/24
before, after Filters by the date the information was last updated. after:2023-01-01
net Searches within a specific IP network range. net:10.0.0.0/8
html Searches for text within the raw HTML content. html:"admin login"

Boolean Operators

  • AND (default): Combines filters, showing results that match ALL criteria.
    • Example: product:nginx port:80
  • OR: Shows results that match ANY of the criteria.
    • Example: port:21 OR port:23
  • NOT (-): Excludes results that match the specified criteria.
    • Example: port:22 -os:windows

Basic Dorking for Common Services

Discovering widely used services with known configurations is often the first step in reconnaissance.

Web Servers

Web servers like Nginx, Apache, and IIS are ubiquitous. Identifying specific versions or configurations can reveal vulnerabilities.

http.component:nginx version:1.20 country:US

This query identifies Nginx servers running version 1.20 in the United States. You might further narrow this down to identify specific HTTP status codes indicating misconfigurations or exposed directories:

http.component:apache http.status:403 http.html:"Forbidden"

This would show Apache servers returning a 403 Forbidden status, potentially indicating restricted but accessible directories that could be further investigated.

Databases

Exposed databases are critical targets. Finding unsecured instances of Redis, MongoDB, or MySQL is a high-priority task for attackers and defenders alike.

product:redis port:6379 authentication:disabled

This query looks for Redis servers on its default port 6379 that explicitly report disabled authentication, a severe security oversight. Similarly, for MongoDB:

product:MongoDB port:27017 -authentication:true

Remote Access Services

RDP, SSH, and Telnet are frequently targeted for initial access.

port:3389 has_screenshot:true country:BR

This que