National Cyber Warfare Foundation (NCWF)login

shodan-dorks for curated internet-exposure discovery queries


0 user ratings
2026-11-02 01:32:20
milo
Red Team (CNA)
"shodan-dorks

shodan-dorks is an auto-updating, categorized repository of Shodan search queries for identifying exposed cameras, ICS devices, databases and network infrastructure during authorized reconnaissance.








Tooldootss/shodan-dorks — an auto-updating categorized list of Shodan dorks with live result counts
CategoryOSINT query collection / internet exposure reconnaissance
Primary UseFinding exposed devices and services visible in Shodan during authorized asset discovery, attack surface reviews and exposure audits
Safe UseFor authorized security assessments, external asset inventories, lab research and defensive exposure monitoring of one's own organization
Telemetry NoteThe list itself generates no traffic; querying through shodan.io leaves account-attributed search history in the analyst's own Shodan account, and defenders observe correlated scans only if they run follow-up probes

dootss/shodan-dorks is not a scanner, exploit or framework — it is a curated, heavily annotated collection of Shodan search queries, commonly called dorks, maintained under the MIT license with roughly 441 stars on GitHub. What distinguishes it from the many copy-pasted dork dumps circulating in the infosec community is its maintenance model: the author states that every six hours an automated process re-runs every query in the repository and refreshes the result count shown next to each dork. Queries that return zero results are pruned entirely. That single design decision turns what is normally a stale static gist into a living signal dataset that doubles as a longitudinal view of internet-exposure trends.


The repository's README acknowledges its differentiator explicitly, positioning itself against other mass lists by offering titles, contextual notes and categorization rather than a raw wall of query strings. The content is organized into six thematic sections — Cameras, Industrial Control Systems, Network Infrastructure (with the author's typo intact), Printers, Files and Directories, and Compromised devices and websites, plus Miscellaneous. Each entry follows a consistent pattern: a human-readable title, the query itself in inline code, a hyperlink to the live shodan.io search, and the current result count. Screenshots are embedded for particularly illustrative findings, such as exposed webcamXP instances and GaugeTech electricity meters.


The Cameras section is the densest, reflecting how much of the public internet's exposed perimeter is video equipment. Simple product-fingerprint queries like product:"Hikvision IP Camera" reportedly match well over a million hosts, while narrower HTTP-header fingerprints such as server: VVTK-HTTP-Server for Vivotek, server: GeoHttpServer for older GeoVision units, and title:"IPCam Client" each carve out distinct device populations. The author also annotates risk context where relevant — the Hikvision entry links out to public reporting on a backdoor issue — and demonstrates screenshot-based filtering with has_screenshot:true, which narrows results to hosts where Shodan has captured visual evidence.


The Industrial Control Systems section is where the list becomes genuinely valuable to OT security practitioners. The classic protocol-port pairs are all present: port:44818 for EtherNet/IP, port:102 for Siemens S7, port:502 for Modbus, port:47808 for BACnet, port:2404 for IEC 60870-5-104, and port:20000 for DNP3. Beyond ports, the queries layer in banner-content fingerprints such as "Siemens, SIMATIC" port:161, port:1911,4911 product:Niagara for Niagara Fox, and port:9600 response code for Omron FINS, showing how Shodan's protocol parsers surface structured data that a plain port scan would not. The result counts here are sobering: hundreds of thousands of hosts speak industrial protocols directly to the internet.


Some ICS entries read like a catalogue of critical-infrastructure exposure. "in-tank inventory" port:10001 surfaces gas station pump controllers leaking fuel inventory data, "DICOM Server Response" port:104 exposes medical imaging systems, and "Server: EIG Embedded Web Server" "200 Document follows" matches nearly 190,000 GaugeTech electricity meters. More niche fingerprints include title:"xzeres wind" for wind turbines, "HID VertX" port:4070 for door and lock access controllers, NCR Port:"161" for exposed ATMs, and even "voter system serial" country:US for voting equipment — the latter a good example of a query whose value is documentary and policy-relevant rather than operational.


The Network Infrastructure section shifts toward IT-side exposure. Database services dominate: product:MySQL with nearly two million results, port:5432 PostgreSQL for remote-accessible Postgres instances, mongodb port:27017 for default-configured MongoDB, port:"9200" all:elastic for open Elasticsearch clusters, and product:"CouchDB". These queries are precisely the ones defenders should be running against their own address space, because each maps to a well-documented history of data-leak incidents from misconfigured datastore defaults. Application-layer entries like a Jenkins dashboard fingerprint combining "X-Jenkins" and JSESSIONID markers show the same fingerprinting discipline applied to CI infrastructure.


Several entries deliberately highlight misconfiguration classes rather than product names. "authentication disabled" "RFB 003.008" and its variant "authentication disabled" port:5900,5901 enumerate VNC servers with authentication explicitly turned off, which the README carefully caveats — the author notes these hits are not always embedded systems and can include personal machines. Similarly, "Android Debug Bridge" "Device" port:5555 surfaces ADB listeners reachable over the network, and "root@" port:23 -login -password -name -Session matches hosts where a Telnet banner suggests an already-rooted prompt. The Lantronix entry, Lantronix password port:30718 -secured, is annotated as leaking Telnet passwords from serial-to-Ethernet adapters — a reminder that legacy gateway firmware remains a persistent exposure class.


For an authorized operator, the practical value of shodan-dorks is as a query library to fold into external attack-surface workflows. Because every dork links directly to shodan.io, the natural integration is per-organization filtering: append org: or net: facets to any query in the list to scope results to assets you are contractually permitted to assess. The README notes that most search filters require a registered Shodan account, and membership-tier filtering is the practical gate on how much of this library is usable at scale. The repository's topics — osint, pentest, iot, opsec, security-scanner — signal the intended audience of reconnaissance-focused professionals.


There is an equally strong defensive reading of this dataset. Because counts refresh on a six-hour cycle, security teams can treat specific queries as exposure canaries: a rising count on a fingerprint matching your estate indicates new devices reaching the internet, and blue teams can register saved searches or use the Shodan API to monitor the equivalent queries continuously. The Pi-hole entry, "dnsmasq-pi-hole" "Recursion: enabled", is a good example of a defender-relevant dork — open recursive resolvers are an abuse vector regardless of intent. CSIRT and shadow-IT programs get similar mileage from the database and Jenkins queries when inventorying what the organization accidentally published.


The tool also functions as teaching material. Reading why each fingerprint works — matching on Server: headers, http.title: values, protocol-specific banner content, Content-Length constants like the Netwave IP Camera Content-Length: 2574 trick — is a compact education in how internet-wide scanning platforms fingerprint devices from passive banner collection. The structure of the list itself, categories plus counts plus annotations, models how a mature internal threat-intel artifact should look. Analysts building Shodan Monitor groups for their own CIDR blocks can lift fingerprints wholesale and alert on new matches.


It is worth stating clearly what this repository does not do. It contains no exploit code, no payloads and no tooling — the queries themselves are read-only search expressions against a third-party index, and everything the list surfaces is data Shodan already collected and republishes publicly. The ethical weight sits entirely with the user: querying "voter system serial" or submarine mission-control dashboards out of curiosity is a different act from scoped assessment, and the small result counts on the most sensitive entries (down to a single host for title:"Slocum Fleet Mission Control") underline how identifiable individual victims would be. Responsible use means reporting exposures to owners or CERTs rather than browsing them.


In short, dootss/shodan-dorks earns its place in a reconnaissance bookshelf through hygiene and maintenance rather than novelty. The auto-pruning of dead queries, the disciplined categorization, and the result-count transparency make it more trustworthy than the average dork dump, and its dual utility — offensive scoping on the red side, exposure monitoring on the blue side — makes it a rare resource both halves of a security team will bookmark. Clone it with git clone https://github.com/dootss/shodan-dorks if you want the annotated list locally, or simply watch the repository and treat its commit history as a slow-moving feed of what the internet keeps accidentally exposing.



Official project repository for dootss/shodan-dorks.

Download Tool

Educational analysis for authorized security professionals. Use only in controlled, authorized environments.






Source: OffensiveSec
Source Link: https://www.offsecblog.com/2026/11/shodan-dorks-for-curated-internet.html


Comments
new comment
Nobody has commented yet. Will you be the first?
 
Forum
Red Team (CNA)



Copyright 2012 through 2026 - National Cyber Warfare Foundation - All rights reserved worldwide.