LLMHoney:一种由大语言模型驱动动态响应生成的实时SSH蜜罐
LLMHoney: A Real-Time SSH Honeypot with Large Language Model-Driven Dynamic Response Generation
AI总结:
针对传统SSH蜜罐静态交互易被识别的问题,提出集成字典虚拟文件系统与大语言模型的LLMHoney蜜罐,经多模型测试验证其能平衡性能与真实性,可有效提升攻击者诱捕效果与威胁情报收集能力。
摘要:
网络安全蜜罐是用于诱骗攻击者并收集情报的欺骗工具,但传统的低交互或中交互蜜罐通常依赖静态的预设脚本交互,很容易被老练的攻击者识别。本报告提出了LLMHoney——一款SSH蜜罐,它利用大语言模型(LLM)实时生成逼真的动态命令输出。LLMHoney集成了一个基于字典的虚拟文件系统,以低延迟处理常见命令,同时针对陌生输入调用LLM生成响应,在真实性与性能之间取得平衡。我们使用开源LLM实现了LLMHoney,并在包含138条代表性Linux命令的测试平台上对其进行了评估。我们报告了综合指标,包括准确率(精确匹配率、余弦相似度、Jaro-Winkler相似度、Levenshtein相似度和BLEU分数)、响应延迟和内存开销。我们使用参数规模从0.36B到3.8B的多种LLM后端(包括开源模型和专有模型Gemini)对LLMHoney进行了评估。实验对比了13种不同的LLM变体;结果显示,Gemini-2.0以及中等规模模型Qwen2.5:1.5B和Phi3:3.8B能提供最可靠、最准确的响应,平均延迟约为3秒,而更小的模型往往会生成错误或不符合角色设定的输出。我们还讨论了与传统蜜罐相比,LLM集成如何提升蜜罐的真实性和适应性,以及存在的挑战,例如偶尔出现的幻觉输出和资源占用增加的问题。我们的研究结果表明,LLM驱动的蜜罐是增强攻击者参与度、收集更丰富威胁情报的一种很有前景的方法。
英文摘要:
Cybersecurity honeypots are deception tools for engaging attackers and gather intelligence, but traditional low or medium-interaction honeypots often rely on static, pre-scripted interactions that can be easily identified by skilled adversaries. This Report presents LLMHoney, an SSH honeypot that leverages Large Language Models (LLMs) to generate realistic, dynamic command outputs in real time. LLMHoney integrates a dictionary-based virtual file system to handle common commands with low latency while using LLMs for novel inputs, achieving a balance between authenticity and performance. We implemented LLMHoney using open-source LLMs and evaluated it on a testbed with 138 representative Linux commands. We report comprehensive metrics including accuracy (exact-match, Cosine Similarity, Jaro-Winkler Similarity, Levenshtein Similarity and BLEU score), response latency and memory overhead. We evaluate LLMHoney using multiple LLM backends ranging from 0.36B to 3.8B parameters, including both open-source models and a proprietary model(Gemini). Our experiments compare 13 different LLM variants; results show that Gemini-2.0 and moderately-sized models Qwen2.5:1.5B and Phi3:3.8B provide the most reliable and accurate responses, with mean latencies around 3 seconds, whereas smaller models often produce incorrect or out-of-character outputs. We also discuss how LLM integration improves honeypot realism and adaptability compared to traditional honeypots, as well as challenges such as occasional hallucinated outputs and increased resource usage. Our findings demonstrate that LLM-driven honeypots are a promising approach to enhance attacker engagement and collect richer threat intelligence.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。