# Shodan（网站）

**Shodan** 是一个面向联网设备的搜索引擎。网页搜索引擎索引网页，而 Shodan 爬取互联网本身，直接查询直连设备以获取公开可用的信息，并索引由此得到的服务横幅——即服务器在交互开始前发送的元数据，例如服务器软件、支持的选项和欢迎消息。<sup>[1](https://help.shodan.io/the-basics/what-is-shodan)</sup> 被索引的设备范围从台式计算机到工业控制系统及其他基础设施。<sup>[1](https://help.shodan.io/the-basics/what-is-shodan)</sup>

| 关键事实 | 详情 |
|---|---|
| 索引内容 | 横幅：关于面向互联网的设备上所运行软件的元数据，通过直接查询设备收集<sup>[1](https://help.shodan.io/the-basics/what-is-shodan)</sup> |
| 创始人 | 约翰·马瑟利（John Matherly），他十几岁时于2003年构思该项目，并于2009年11月推出首个正式运行版本<sup>[2](https://www.washingtonpost.com/investigations/cyber-search-engine-exposes-vulnerabilities/2012/06/03/gJQAIK9KCV_story.html)</sup> |
| 名称来源 | 有感知的超优化数据访问网络（Sentient Hyper-Optimized Data Access Network，SHODAN），电子游戏《网络奇兵2》（System Shock 2）中的一个恶意人工智能<sup>[2](https://www.washingtonpost.com/investigations/cyber-search-engine-exposes-vulnerabilities/2012/06/03/gJQAIK9KCV_story.html)</sup> |
| 核心协议 | 对横幅进行文本搜索，主要涉及 FTP、SSH、Telnet 和 HTTP，可按 CIDR 范围和位置过滤<sup>[3](https://www.researchgate.net/publication/301419771_A_Search_Engine_Backed_by_Internet-Wide_Scanning)</sup> |
| 查询语法 | “filter:value”格式，例如“apache country:DE”用于查找德国的 Apache Web 服务器<sup>[4](https://developer.shodan.io/api)</sup> |
| 监控 | Shodan Monitor 至少每天重新扫描已注册资产；其 DNSDB 跟踪数十亿个主机名<sup>[5](https://book.shodan.io/websites/monitor/manage-assets/)</sup><sup> • </sup><sup>[6](https://help.shodan.io/shodan-monitor/domain-based-network-monitoring)</sup> |
| 扫描透明度 | 与 Censys 不同，Shodan 不公布其扫描所用的源 IP 地址<sup>[7](https://www.ndss-symposium.org/wp-content/uploads/madweb2021_23009_paper.pdf)</sup> |

## 工作原理

Shodan 通过查询直连互联网的设备以获取公开信息，从而收集关于这些设备的信息。大部分数据来自横幅，即关于设备上所运行软件的元数据：正在使用的服务器软件、服务支持的选项、欢迎消息，或客户端在与服务器交互前想了解的任何其他内容。<sup>[1](https://help.shodan.io/the-basics/what-is-shodan)</sup> 一项学术比较将该服务描述为对横幅的文本搜索，主要涉及 FTP、SSH、Telnet 和 HTTP，搜索可按 CIDR 范围和位置过滤。<sup>[3](https://www.researchgate.net/publication/301419771_A_Search_Engine_Backed_by_Internet-Wide_Scanning)</sup>

**搜索语法。** Shodan 要求用户理解其查询语法；输入“power plant”这样的普通短语不会产生有用的结果。查询将自由文本与“filter:value”格式的过滤器组合起来，例如“apache country:DE”用于查找德国的 Apache Web 服务器。API 提供端点，用于列出可用的过滤器和分面、将查询拆分为词元，以及在不消耗查询额度的情况下统计匹配结果。<sup>[1](https://help.shodan.io/the-basics/what-is-shodan)</sup><sup> • </sup><sup>[4](https://developer.shodan.io/api)</sup>

**按需扫描。** 除了持续爬取之外，Shodan 还通过其 API 提供对单个 IP 或网块的按需扫描，每扫描一个 IP 消耗一个扫描额度，并且需要付费方案。<sup>[4](https://developer.shodan.io/api)</sup>

## 历史

约翰·马瑟利（John Matherly）当时是一名在社区学院就读的加利福尼亚少年，他于2003年构思了 Shodan。他以电子游戏《[网络奇兵2](https://www.edgepedia.org/zh/system-shock-2)》（System Shock 2）中的反派人工智能 SHODAN 命名该项目。2009年，他解决了搜索问题，并于当年11月推出该程序的第一个正式运行版本，最初期望它能吸引那些想知道潜在客户运行什么系统的软件制造商。<sup>[2](https://www.washingtonpost.com/investigations/cyber-search-engine-exposes-vulnerabilities/2012/06/03/gJQAIK9KCV_story.html)</sup> 2012年《华盛顿邮报》（Washington Post）的一项调查描述了该服务如何使工业控制系统面临新的风险，从而引起了广泛关注。<sup>[2](https://www.washingtonpost.com/investigations/cyber-search-engine-exposes-vulnerabilities/2012/06/03/gJQAIK9KCV_story.html)</sup>

2014年，马瑟利利用该平台制作了一张显示所有联网设备的地图。对每个 IP 地址进行 ping 操作耗时约五小时，再将有响应的地址绘制到热力图上又花了十二小时；结果显示美国和[西欧](https://www.edgepedia.org/zh/western-europe)连接密集，而非洲大部分地区和中亚连接稀疏。<sup>[8](https://time.com/3221958/internet-map/)</sup>

## 产品与集成

Shodan 的产品线包括该搜索引擎、用于持续网络监控的 Shodan Monitor、开发者 API、Maps、Images（从设备收集的截图）以及企业批量数据。<sup>[1](https://help.shodan.io/the-basics/what-is-shodan)</sup><sup> • </sup><sup>[9](https://enterprise.shodan.io/)</sup> Monitor 允许用户按 IP 或网络范围、按域名或主机名、或按搜索查询来定义资产组，并至少每天自动重新扫描资产。对于基于域名的监控，Shodan 每隔几小时刷新一次 DNS 信息，并使用其精心维护的 DNSDB，该数据库跟踪数十亿个主机名。<sup>[5](https://book.shodan.io/websites/monitor/manage-assets/)</sup><sup> • </sup><sup>[6](https://help.shodan.io/shodan-monitor/domain-based-network-monitoring)</sup>

该平台与广泛的安全工具生态系统集成。Shodan Monitor 警报可以发送到 Graylog 或 Slack，作为 Jira 工单打开，并由 Shuffle 和 Rapid7 InsightConnect 等 SOAR 平台摄取。包括 Qualys、runZero、Axonius 和 JupiterOne 在内的资产管理供应商将 Shodan 数据同步到其资产清单中，而 Maltego、Recon-ng 和 IntelOwl 等 OSINT 框架则包含 Shodan 模块。<sup>[10](https://developer.shodan.io/apps)</sup>

## 与 Censys 的比较

Censys 是一个基于密歇根大学（University of Michigan）全互联网扫描研究构建的扫描引擎，是最接近的可比服务。<sup>[3](https://www.researchgate.net/publication/301419771_A_Search_Engine_Backed_by_Internet-Wide_Scanning)</sup> 两者在透明度上有所不同：Censys 从公开已知的 IP 范围进行扫描，而 Shodan 不公布其源地址，研究人员只能通过 DNS 历史记录间接识别这些地址。<sup>[7](https://www.ndss-symposium.org/wp-content/uploads/madweb2021_23009_paper.pdf)</sup> Shodan 主网站的搜索默认使用过去30天内收集的数据，保留带有最后出现时间戳的记录，而 Censys 仅呈现其最新一次扫描的记录。<sup>[3](https://www.researchgate.net/publication/301419771_A_Search_Engine_Backed_by_Internet-Wide_Scanning)</sup><sup> • </sup><sup>[19](https://help.shodan.io/the-basics/navigating-the-website)</sup>

比较性测量数据主要来自 Censys 自身，阅读时应考虑到这一赞助背景。2025年 Censys 的一项评估通过独立后续扫描验证所报告的服务，发现 Shodan 列出的服务中有68%处于活跃状态，而 Censys 为92%，并报告称 Shodan 检测新服务大约需要三天，而 Censys 不到24小时。<sup>[11](https://info.censys.com/censys-v-shodan-organic)</sup> 同一评估指出，Shodan 通过关键词匹配过度报告了某些工业控制系统类别；它将端口2455上包含“operating”或“system”等词的服务计为 CODESYS 设备，其中大多数其实是普通 HTTP 服务器。<sup>[12](https://censys.com/blog/evaluating-censys-performance)</sup> 独立学术研究则更为中立：[卡尔顿大学](https://www.edgepedia.org/zh/carleton-university)（Carleton University）的一项研究发现，两个引擎的结果都能反映24小时内的更新，并且扫描负载——大约每个端口每天一次完整的应用层连接——对常见互联网应用而言似乎微不足道。<sup>[13](https://www.ndss-symposium.org/ndss-paper/auto-draft-144/)</sup>

## 伦理与批评

在 NDSS 2025 研讨会上发表的一项研究追踪了设备搜索引擎的扫描基础设施，收集了1,407个扫描器 IP，并用28个蜜罐在一年内监控扫描活动。研究发现，用户几乎无法通过将扫描器 IP 列入黑名单或迁移服务端口来规避扫描，并提出了伦理关切，包括缺乏透明度、不允许用户选择退出扫描、发送畸形请求，以及在搜索结果中公布个人可识别信息和截图。<sup>[14](https://arxiv.org/abs/2412.15696)</sup> 更早的研究指出，Censys 和 Shodan 确实都为管理员提供了退出机制，这符合广泛认同的互联网公民实践。<sup>[7](https://www.ndss-symposium.org/wp-content/uploads/madweb2021_23009_paper.pdf)</sup>

该服务也是安全研究的常规工具。2025年，思科 Talos（Cisco Talos）的研究人员利用 Shodan 搜索识别出1,100多台暴露在公共互联网上、用于运行大语言模型的 Ollama 服务器，这一发现对模型提取、内容滥用和模型投毒具有影响。<sup>[15](https://www.techradar.com/pro/security/hundreds-of-llm-servers-left-exposed-online-heres-what-we-know)</sup> 研究人员还利用 Shodan 数据研究暴露在互联网上的物联网设备、SD-WAN 系统以及非洲各地的开放端口。<sup>[16](https://arxiv.org/abs/2602.15263)</sup><sup> • </sup><sup>[17](https://arxiv.org/abs/1808.09027)</sup><sup> • </sup><sup>[18](https://arxiv.org/abs/2301.03008)</sup>

## References

1. [What is Shodan? Shodan Help Center](https://help.shodan.io/the-basics/what-is-shodan)
2. [Cyber search engine Shodan exposes industrial control systems to new risks, The Washington Post (2012)](https://www.washingtonpost.com/investigations/cyber-search-engine-exposes-vulnerabilities/2012/06/03/gJQAIK9KCV_story.html)
3. [Durumeric, Z., Adrian, D., Mirian, A., Bailey, M., Halderman, J. A. (2015). A Search Engine Backed by Internet-Wide Scanning, ACM CCS](https://www.researchgate.net/publication/301419771_A_Search_Engine_Backed_by_Internet-Wide_Scanning)
4. [Shodan API Reference, Shodan Developer](https://developer.shodan.io/api)
5. [Manage Assets, Shodan Book](https://book.shodan.io/websites/monitor/manage-assets/)
6. [Domain-based Network Monitoring, Shodan Help Center](https://help.shodan.io/shodan-monitor/domain-based-network-monitoring)
7. [Empirical Scanning Analysis of Censys and Shodan, MADWeb Workshop at NDSS 2021](https://www.ndss-symposium.org/wp-content/uploads/madweb2021_23009_paper.pdf)
8. [See Every Single Device Connected to the Internet, TIME (2014)](https://time.com/3221958/internet-map/)
9. [Shodan Enterprise](https://enterprise.shodan.io/)
10. [Integrations, Shodan Developer](https://developer.shodan.io/apps)
11. [Censys vs. Shodan: See the Difference, Censys](https://info.censys.com/censys-v-shodan-organic)
12. [Censys, Ten Years Later: Evaluating Censys' Performance, Censys blog (2025)](https://censys.com/blog/evaluating-censys-performance)
13. [Empirical Scanning Analysis of Censys and Shodan, Bennett, Abdou, van Oorschot, Carleton University / NDSS MADWeb 2021](https://www.ndss-symposium.org/ndss-paper/auto-draft-144/)
14. [Revealing the Black Box of Device Search Engine: Scanning Assets, Strategies, and Ethical Consideration, NDSS 2025](https://arxiv.org/abs/2412.15696)
15. [Hundreds of LLM servers left exposed online, TechRadar (2025)](https://www.techradar.com/pro/security/hundreds-of-llm-servers-left-exposed-online-heres-what-we-know)
16. [A Scan-Based Analysis of Internet-Exposed IoT Devices Using Shodan Data, arXiv](https://arxiv.org/abs/2602.15263)
17. [SD-WAN Internet Census, arXiv](https://arxiv.org/abs/1808.09027)
18. [A Continent-Wide Assessment of Cyber Vulnerability Across Africa, arXiv](https://arxiv.org/abs/2301.03008)
19. [Navigating the Website - Shodan Help Center](https://help.shodan.io/the-basics/navigating-the-website)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 17, 2026; Oct 15, 2026 · Edited: Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 网络与安全 › 标题：Mo至Z

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/shodan-website

English original: https://www.edgepedia.org/shodan-website
