arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.10561cs.CRcs.AI
收藏

DrLLM:基于大语言模型的提示增强型分布式拒绝服务防御方法

DrLLM: Prompt-Enhanced Distributed Denial-of-Service Resistance Method with Large Language Models

Shenyang Institute of Computing Technology, Chinese Academy of Sciences(中国科学院沈阳计算技术研究所);University of Chinese Academy of Sciences(中国科学院大学)

Zhenyu Yin, Shang Liu, Guangyuan Xu

AI总结:

针对现有DDoS防御方法训练复杂、通用性不足的问题,本文提出DrLLM方法,通过嵌入流量全局与局部信息、设计三类模块并结合提示工程,实现了零样本场景下的异常流量检测,验证了大语言模型在网络安全领域的应用潜力。

摘要:

分布式拒绝服务(Distributed Denial of Service, DDoS)攻击数量的不断增长对互联网构成了重大威胁,凸显了DDoS缓解工作的重要性。现有大多数方法需要复杂的训练流程来学习数据特征,这提升了应用的复杂度,也限制了通用性。本文提出DrLLM方法,旨在通过大语言模型(Large Language Models, LLMs)在零样本场景下挖掘异常流量信息。为缩小DrLLM与现有方法的性能差距,我们将流量数据的全局与局部信息嵌入推理范式中,设计了知识嵌入、令牌嵌入、渐进式角色推理三个模块用于数据表示与推理。此外,我们探索了提示工程在网络安全领域的泛化能力,以提升DrLLM的分类性能。消融实验验证了DrLLM在零样本场景下的适用性,进一步证明了LLMs在网络领域的应用潜力。DrLLM的实现代码已在https://github.com/liuup/DrLLM开源。

英文摘要:

The increasing number of Distributed Denial of Service (DDoS) attacks poses a major threat to the Internet, highlighting the importance of DDoS mitigation. Most existing approaches require complex training methods to learn data features, which increases the complexity and generality of the application. In this paper, we propose DrLLM, which aims to mine anomalous traffic information in zero-shot scenarios through Large Language Models (LLMs). To bridge the gap between DrLLM and existing approaches, we embed the global and local information of the traffic data into the reasoning paradigm and design three modules, namely Knowledge Embedding, Token Embedding, and Progressive Role Reasoning, for data representation and reasoning. In addition we explore the generalization of prompt engineering in the cybersecurity domain to improve the classification capability of DrLLM. Our ablation experiments demonstrate the applicability of DrLLM in zero-shot scenarios and further demonstrate the potential of LLMs in the network domains. DrLLM implementation code has been open-sourced at https://github.com/liuup/DrLLM.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑