蜜罐设计
Honeypot Design

原始链接: https://bruceediger.com/posts/honeypot-design/

作者提倡广泛使用蜜罐作为抵御互联网滥用的主动防御手段,防御对象涵盖从恶意扫描器到激进的网络爬虫。通过消耗攻击者的时间和资源,蜜罐制造了一场“军备竞赛”,既能遏制低水平的网络犯罪,也能为大规模数据采集设置难以逾越的障碍。 作者结合多年运营 WordPress、SSH 和 Telnet 等各类蜜罐服务的经验建议,具备相关能力的人员应设计自己的定制化方案。有效的设计需要在各项相互竞争的优先级之间取得平衡,例如在尽量降低自身资源占用的同时,最大化攻击者的投入,并保持真实的伪装以及确保稳健的日志记录。 归根结底,蜜罐设计是一个迭代过程,实践经验往往胜过初步规划。由于目前相关文献匮乏且偶有失真,作者鼓励通过动手实验来应对系统安全中固有的矛盾。通过集体部署独特且耗时的服务,社区能够有效惩戒“互联网底层掠夺者”,并震慑恶意自动化行为。

```Hacker News 最新 | 过往 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 Honeypot Design (bruceediger.com) 6 分,NaOH 发布于 1 小时前 | 隐藏 | 过往 | 收藏 | 2 条评论 jruohonen 1 小时前 [–] 我觉得可能还有 7,甚至 8。 回复 bediger4000 15 分钟前 | 父评论 [–] 洗耳恭听。 回复 准则 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系 搜索: ```
相关文章

原文

I’ve run various honeypots for a long time. I ran a WordPress honeypot off and on from 2013 to 2018. I’ve run endlessh on my home server for years. Before that, I ran the cowrie ssh/telnet honey pot for a while.

Currently, this website runs a fake WordPress login that tells you that you’ve used the wrong password after a 5 second delay. Feel free to try it. This website’s contact page does nothing but wastes spammers time and effort.

I believe that everyone who has the ability and resources to run honey pots should run one or more. I believe that if a significant fraction of all attempts to scan or otherwise abuse internet services were met with a time wasting, or otherwise abusive or irritating honey pot, scanners and internet bottom feeders would be discouraged, and abandon their low level criminal behavior. High-level grey area behavior, like AI companies scraping the entire web every 10 or 12 hours whether it’s changed or not, would also be inhibited. There’s also the vigilante thrill of punishing bad internet behavior yourself. Beyond the slight moral obligation to deter low lifes by running honey pots, I believe those with the ability should write their own. An overwhelming number of idiosyncratically behaving false services is an insurmountable barrier even to “hyperscaler” corporations.

What should someone designing a honeypot think about? Are there any considerations such a person should take into account? Based on the above experience with various honey pots, I wrote the following design considerations. I’m only numbering these to be able to refer back to them later. My numbering is not meant to be a prioritization.

  1. Minimize your own resource consumption, eliminate resource exhaustion, of your own systems.
  2. Maximize attacker’s resource consumption
    1. Reserve attacker resources if protocol allows
    2. Send malformed or inappropriate responses
  3. Mimic an existing (real, functional) server as closely as possible
  4. Log as much as possible, even malformed data, or data outside the protocol in question.
  5. Avoid collateral damage
    1. Packet-level attribution is sometimes impossible (i.e. UDP services)
    2. Avoid mirror amplification attacks
  6. Be attractive to attackers

Maximize attacker’s resource consumption might be in direct opposition to minimizing your own resource consumption, or mimicking existing software. If you want to jerk attackers around, you may not be able to mimic existing software very well. The choices made depend on what goals you’ve got. Tension between considerations exists, and I think tensions can only be resolved in practice, by experience, not in up-front design.

Resolving the tensions in requirements and desires lies at the heart of designing and writing any complicated software system, but honey pots go beyond that. What your software initially does can teach you more about attacker’s behavior, motivating you to rewrite. Running honey pot software requires ongoing updates, and has similarities to an arms race.

Bibliography

Weirdly, the internet is somewhat short on this topic. All I could find was a couple of out-of-print books, and some maybe “predatory journal” papers.

  • Lance Spitzner, Addison-Wesley, 2002, Honeypots: tracking hackers
  • Mohammed Mohssen, CRC Press, 2016, Honeypots and routers : collecting internet attacks
  • Enrico Cambiaso and Luca Caviglione, Scamming the Scammers: Using ChatGPT to Reply Mails for Wasting Time and Resources, PDF
  • Neha Titarmare, Nayankumar Hargule, Anand Gupta, An Overview of Honeypot Systems, PDF
  • Zeenat Nisa, Honeypots: Concepts, Types and Challenges, PDF
  • Abe Hayat Khan, Waseem Ullah Khan, Ilham Hamid, Arbab Waseem Abbas, Muhammad Hassaan Chaudhry, and Noor Ul Arfeen, Analysis and Implementation of Honeypot Framework for Enhancing Network Security, PDF
  • Tian Bin, Changhong Yu, Study on Application and Design of Honeypot Technology, PDF
  • Dr Balaji k, Yashaswini G T, Rakshita Itagi, Sahana L, Shreya Ravi Shastri, HONEYPOT IN NETWORK SECURITY PDF This one is from the International Journal of Creative Research Thoughts, which is definitely predatory.
联系我们 contact @ memedata.com