# 蜜罐（计算）

蜜罐是一种计算机系统或系统资源，被刻意设置为对攻击者具有吸引力，以便对其探测、入侵或滥用行为进行检测、转移或研究。美国国家标准与技术研究院（NIST）术语表将其定义为“一种设计为对潜在破解者和入侵者具有吸引力的系统（例如Web服务器）或系统资源（例如服务器上的文件），就像蜂蜜对熊具有吸引力一样。”<sup>[1](https://csrc.nist.gov/glossary/term/honeypot)</sup> 由于与蜜罐的任何交互按定义都是可疑的，蜜罐产生的攻击遥测数据误报率极低，这使其在检测、威胁情报收集以及攻击者行为研究方面具有实用价值。<sup>[2](https://oulurepo.oulu.fi/handle/10024/48484)</sup>

| 关键事实 | 详情 |
|---|---|
| 定义 | 一种设计为对潜在破解者和入侵者具有吸引力的系统或资源（NIST CSRC，引自CNSSI 4009-2022和IETF RFC 4949）<sup>[1](https://csrc.nist.gov/glossary/term/honeypot)</sup> |
| 主要设计 | 低交互蜜罐模拟服务而不暴露完整操作系统；高交互蜜罐让攻击者访问真实系统<sup>[3](https://www.honeynet.org/2015/08/06/low-interaction-honeypots-revisited/)</sup><sup> • </sup><sup>[4](https://link.springer.com/article/10.1186/s13635-017-0057-4)</sup> |
| 用途 | 将对手从有价值的机器上引开、对新攻击趋势发出早期预警、在利用期间和利用之后对攻击者进行深入审查<sup>[5](https://www.usenix.org/conference/13th-usenix-security-symposium/virtual-honeypot-framework)</sup> |
| 实测有效性 | 在一项为期14天的现场实验中，高交互蜜罐捕获了76.12%的攻击数据包和70.61%的独立攻击者IP，而低交互蜜罐分别为23.88%和29.39%<sup>[6](https://kar.kent.ac.uk/102122/)</sup> |
| 蜜网要素 | 数据控制、数据捕获、数据收集和数据分析<sup>[4](https://link.springer.com/article/10.1186/s13635-017-0057-4)</sup> |
| 主要法律问题 | 隐私、责任和诱捕；根据欧盟法律，IP地址被视为个人数据<sup>[4](https://link.springer.com/article/10.1186/s13635-017-0057-4)</sup> |
| 政府认可 | CISA已发布指南，敦促各组织部署诱饵、诱饵系统和蜜罐以检测入侵并收集网络威胁情报<sup>[7](https://www.techradar.com/pro/security/cisa-urges-business-to-deploy-decoys-lures-and-honeypots-to-catch-hackers-in-the-act)</sup> |

## 目的及蜜罐的使用方式

蜜罐是部署在网络上的受到严密监视的诱饵，承担多重角色：它可以将攻击者从更重要的系统上引开，对新出现的攻击和利用模式发出预先警告，或者使攻击者在利用蜜罐期间和之后受到详细研究。<sup>[5](https://www.usenix.org/conference/13th-usenix-security-symposium/virtual-honeypot-framework)</sup> 由于合法用户没有理由接触蜜罐，本质上到达蜜罐的所有流量都被视为敌意流量，正是这一特性赋予了蜜罐低误报率。<sup>[2](https://oulurepo.oulu.fi/handle/10024/48484)</sup>

**生产型与研究型。** 蜜罐按目的和实现方式分类。生产型蜜罐用于组织环境内部，保护组织并帮助缓解风险；一个例子是捕获和分析恶意软件以供给反病毒系统和入侵检测特征库的蜜罐。研究型蜜罐旨在获取关于攻击者的信息，并不为部署组织增加直接防护价值；其目标是通过给攻击者渗透安全系统的空间来收集尽可能多的信息。<sup>[4](https://link.springer.com/article/10.1186/s13635-017-0057-4)</sup>

**蜜网。** 蜜网将单个蜜罐扩展为高度受控的蜜罐网络。蜜网由四个核心要素组成：数据控制，即遏制和约束攻击者活动；数据捕获，即监视并记录攻击者的一切行为；数据收集，即将捕获的数据存储在一个中心位置；以及数据分析，即分析所收集数据的能力。<sup>[4](https://link.springer.com/article/10.1186/s13635-017-0057-4)</sup> 蜜网被用于各种网络环境中的威胁情报收集，包括工业控制系统环境；卡内基梅隆大学软件工程研究所的一项研究分析了来自一个ICS蜜网约16GB的全数据包捕获数据，并建议与外部主机进行主动交互以生成更高质量的数据。<sup>[8](https://insights.sei.cmu.edu/library/using-honeynets-and-the-diamond-model-for-ics-threat-analysis/)</sup>

## 交互级别

主要的实现区别在于低交互蜜罐和高交互蜜罐，二者的差异在于允许攻击者做多少事情。<sup>[6](https://kar.kent.ac.uk/102122/)</sup>

**低交互**蜜罐模拟存在漏洞的服务，可以在不暴露完整操作系统功能的情况下检测攻击。<sup>[3](https://www.honeynet.org/2015/08/06/low-interaction-honeypots-revisited/)</sup> 它们易于部署、资源需求低、使用简单。<sup>[4](https://link.springer.com/article/10.1186/s13635-017-0057-4)</sup> 经典例子是Honeyd，由当时就职于谷歌的尼尔斯·普罗沃斯（Niels Provos）在2004年第13届USENIX安全研讨会上提出。Honeyd在未分配的网路地址上于网络层面模拟虚拟计算机系统，模拟多种操作系统的TCP/IP协议栈行为以欺骗指纹识别工具，并可为任意数量的虚拟系统提供任意路由拓扑和服务；其应用包括检测和禁用蠕虫、转移对手以及阻止垃圾邮件传播。<sup>[5](https://www.usenix.org/conference/13th-usenix-security-symposium/virtual-honeypot-framework)</sup>

**高交互**蜜罐让攻击者访问一个真实操作系统，其中没有任何模拟或限制；例子包括Sebek和HonSSH。<sup>[4](https://link.springer.com/article/10.1186/s13635-017-0057-4)</sup> Cowrie是一个广泛使用的开源SSH和Telnet蜜罐，由米歇尔·奥斯特霍夫（Michel Oosterhof）维护，覆盖了多个层次：在中交互模式下，它用Python模拟一个UNIX系统，带有类似Debian 5.0安装的虚假文件系统；在高交互模式下，它将SSH和Telnet代理到真实后端系统，攻击者可在其中执行任何Unix命令；在实验性LLM模式下，它使用大语言模型对攻击者命令生成动态响应。<sup>[9](https://docs.cowrie.org/en/stable/README.html)</sup>

一项比较性现场研究量化了这种权衡。[肯特大学](https://www.edgepedia.org/zh/university-of-kent)的研究人员部署了他们自己的一个闭源高交互蜜罐和三个针对[Elasticsearch](https://www.edgepedia.org/zh/elasticsearch)的开源低交互蜜罐（Elastichoney、Delilah和Elasticpot），运行了48个高交互实例和111个低交互实例，持续14天。高交互蜜罐捕获了总攻击数据包的76.12%，吸引了70.61%的独立攻击者IP；低交互蜜罐捕获了23.88%的数据包，吸引了29.39%的IP。作者得出结论，安全团队应要么集中使用高交互蜜罐，要么通过部署期间自动更改静态值并增强其模仿能力来改进低交互蜜罐。<sup>[6](https://kar.kent.ac.uk/102122/)</sup>

## 历史

这一概念通常被追溯到1989年，当时[克利福德·斯托尔](https://www.edgepedia.org/zh/clifford-stoll)（Clifford Stoll）在其著作《[杜鹃蛋](https://www.edgepedia.org/zh/the-cuckoos-egg-book)》（*The Cuckoo's Egg*）中描述了它，此前他追踪了一名未经授权访问[劳伦斯伯克利国家实验室](https://www.edgepedia.org/zh/lawrence-berkeley-national-laboratory)计算机的黑客；1990年，比尔·切斯维克（Bill Cheswick）撰文描述了如何通过在一个早期蜜罐版本中提供诱饵信息来监视和跟踪攻击者“berferd”的活动。<sup>[10](https://repositorio.ulisboa.pt/bitstream/10451/5164/1/ulfc095837_tm_Sergio_Nunes.pdf)</sup> 蜜网项目（The Honeynet Project）是一个非营利安全研究组织，成立于1999年，此后开发了蜜罐工具并协调了关于蜜罐检测与规避的研究。<sup>[3](https://www.honeynet.org/2015/08/06/low-interaction-honeypots-revisited/)</sup>

## 局限与检测

文献中反复出现三个部署问题：当蜜罐收集的有限数据导致错误结论时产生的不准确结果；发现与指纹识别，即攻击者检测到蜜罐；以及被接管的风险，即蜜罐被用来攻击真实的非蜜罐系统。<sup>[4](https://link.springer.com/article/10.1186/s13635-017-0057-4)</sup> 保真度是核心设计矛盾：蜜罐必须以合理的资源成本准确建模真实服务的状态空间，而在缺乏以对手为中心的保真度评估的情况下，诱饵容易被指纹识别，从而降低威胁情报质量并浪费计算、内存和地址空间资源。<sup>[11](https://pure.kfupm.edu.sa/en/publications/toward-realistic-and-efficient-cyber-deception/)</sup> 一篇关于欺骗技术的综述指出，一旦对手识别出欺骗机制，他们可能会改变战术，因此保持高水平的欺骗对于蜜罐保持不可检测至关重要。<sup>[2](https://oulurepo.oulu.fi/handle/10024/48484)</sup>

研究人员提出了提高参与度的方法。丹麦技术大学2025年的一项研究部署了10个Cowrie实例，为期两周，在测试仿生欺骗策略（伪装、虚张声势和装死）的同时，捕获了来自8,874个独立IP地址的470,302次SSH和40,867次Telnet登录尝试。对基线SSH蜜罐的修改鼓励了攻击者更长时间的参与，而对于Telnet，攻击者往往更快退出，这表明此类修改可以影响攻击者行为。<sup>[12](https://orbit.dtu.dk/en/publications/towards-bio-inspired-cyber-deception-a-case-study-of-ssh-and-teln/)</sup>

## 法律与伦理问题

关于蜜罐的法律文献集中在三个基本问题上：隐私、责任和诱捕。<sup>[4](https://link.springer.com/article/10.1186/s13635-017-0057-4)</sup> 其中，对隐私问题的研究最为充分。根据欧盟法律，[IP地址](https://www.edgepedia.org/zh/ip-address)被视为个人数据，这决定了蜜罐可以收集什么、处理的法律依据以及保留期限；施普林格（Springer）一篇综述的作者建议，生产型蜜罐数据应在较短期限后定期删除，例如一个月或安全事件解决后，而研究型蜜罐可在相称性原则下保留数据更长时间。<sup>[4](https://link.springer.com/article/10.1186/s13635-017-0057-4)</sup> 蜜罐运营者还可能负有共享网络安全事件信息的法律义务，例如根据《[NIS指令](https://www.edgepedia.org/zh/nis-directive)》。<sup>[4](https://link.springer.com/article/10.1186/s13635-017-0057-4)</sup> 在美国，实务指南将隐私权和诱捕列为部署者面临的两个主要法律问题。<sup>[13](https://www.sans.org/white-papers/1746)</sup> 运营风险会加剧法律风险：被入侵蜜罐的无限制出站流量可能让攻击者转向其他系统，因此网络分段、出站流量过滤和资源监控等遏制措施是标准缓解手段。<sup>[14](https://ieeexplore.ieee.org/document/10845226/)</sup>

## 当前实践

蜜罐已从一种新奇的研究对象转变为官方推荐的防御手段。在CISA的指南中，网络诱饵被定义为伪装成真实系统、账户或数据的资源，其目的是误导攻击者、揭示攻击者何时存在，或协助收集网络威胁情报；该机构还建议采用[零信任](https://www.edgepedia.org/zh/zero-trust)（Zero Trust）模型的组织假设恶意行为者可能获得一定程度的访问权限，并为这种可能性做好准备。<sup>[7](https://www.techradar.com/pro/security/cisa-urges-business-to-deploy-decoys-lures-and-honeypots-to-catch-hackers-in-the-act)</sup> 研究继续朝着动态和自适应系统方向发展：基于机器学习的配置策略，<sup>[15](https://arxiv.org/abs/2111.03884)</sup> 覆盖SSH、FTP、SMTP、HTTP和DNS的15个蜜罐的定量逼真度评分，<sup>[11](https://pure.kfupm.edu.sa/en/publications/toward-realistic-and-efficient-cyber-deception/)</sup> 以及具有策略门控遏制功能的LLM赋能云原生蜜罐架构。<sup>[16](https://www.researchgate.net/publication/401723076_LLM-Enabled_Cloud-Native_Dynamic_Honeypot_Systems_Architecture_Ethical_Governance_and_Empirical_Evaluation)</sup>

## References

1. [honeypot, NIST Computer Security Resource Center Glossary (from CNSSI 4009-2022 and IETF RFC 4949 Ver 2)](https://csrc.nist.gov/glossary/term/honeypot)
2. [Javadpour, Ja'fari, Taleb, Shojafar, Benzaïd (2024). A comprehensive survey on cyber deception techniques to improve honeypot performance. Computers & Security 140.](https://oulurepo.oulu.fi/handle/10024/48484)
3. [Watson, D. (2015). Low Interaction Honeypots Revisited. The Honeynet Project.](https://www.honeynet.org/2015/08/06/low-interaction-honeypots-revisited/)
4. [Sokol, P., Míšek, J., Husák, M. (2017). Honeypots and honeynets: issues of privacy. International Journal of Information Security.](https://link.springer.com/article/10.1186/s13635-017-0057-4)
5. [Provos, N. (2004). A Virtual Honeypot Framework. 13th USENIX Security Symposium.](https://www.usenix.org/conference/13th-usenix-security-symposium/virtual-honeypot-framework)
6. [Kocaogullar, Y., Cetin, O., Arief, B., Brierley, C., Pont, J., Hernandez-Castro, J. C. (2025). Hunting High or Low: Evaluating the Effectiveness of High-Interaction and Low-Interaction Honeypots. STAST 2022, Springer.](https://kar.kent.ac.uk/102122/)
7. [CISA urges business to deploy decoys, lures, and honeypots to catch hackers in the act. TechRadar.](https://www.techradar.com/pro/security/cisa-urges-business-to-deploy-decoys-lures-and-honeypots-to-catch-hackers-in-the-act)
8. [Kotheimer, J., O'Meara, K., Shick, D. (2016). Using Honeynets and the Diamond Model for ICS Threat Analysis. CMU/SEI-2016-TR-006.](https://insights.sei.cmu.edu/library/using-honeynets-and-the-diamond-model-for-ics-threat-analysis/)
9. [Cowrie documentation: What is Cowrie.](https://docs.cowrie.org/en/stable/README.html)
10. [Nunes, S. (2009). Honeypots, Chapter 2: History of honeypot. Universidade de Lisboa.](https://repositorio.ulisboa.pt/bitstream/10451/5164/1/ulfc095837_tm_Sergio_Nunes.pdf)
11. [Alrubaish, H., Aljoby, W., Aldeek, A., Alkubaish, M., Mashima, D. (2026). Toward Realistic and Efficient Cyber Deception. IEEE Open Journal of the Computer Society 7.](https://pure.kfupm.edu.sa/en/publications/toward-realistic-and-efficient-cyber-deception/)
12. [Safargalieva, A., Vasilomanolakis, E. (2025). Towards bio-inspired cyber-deception: a case study of SSH and Telnet honeypots. IEEE Euro S&PW AD&D Workshop.](https://orbit.dtu.dk/en/publications/towards-bio-inspired-cyber-deception-a-case-study-of-ssh-and-teln/)
13. [Radcliffe, J. (2007). CyberLaw 101: A primer on US laws related to honeypot deployments. SANS.](https://www.sans.org/white-papers/1746)
14. [Threat Modeling for Honeypot Deployment. IEEE.](https://ieeexplore.ieee.org/document/10845226/)
15. [An Adaptive Honeypot Configuration, Deployment and Maintenance Strategy. arXiv:2111.03884.](https://arxiv.org/abs/2111.03884)
16. [LLM-Enabled Cloud-Native Dynamic Honeypot Systems: Architecture, Ethical Governance, and Empirical Evaluation. ResearchGate.](https://www.researchgate.net/publication/401723076_LLM-Enabled_Cloud-Native_Dynamic_Honeypot_Systems_Architecture_Ethical_Governance_and_Empirical_Evaluation)

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

Topic: 技术与人造世界 › 计算技术与数字系统 › 网络与安全 › Network defense and threats › Firewalls and perimeter defense

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/honeypot-computing

English original: https://www.edgepedia.org/honeypot-computing
