arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2411.03307cs.CLcs.CR
收藏

用于域名生成算法检测的大语言模型

LLMs for Domain Generation Algorithm Detection

National Scientific and Technical Research Council (CONICET)(国家科学技术研究委员会(CONICET));Facultad de Ingeniería, Universidad Nacional de Cuyo(库约国立大学工程学院)

Reynier Leyva La O, Carlos A. Catania, Tatiana Parlanti

AI总结:

本研究利用大语言模型(LLMs)检测域名生成算法(DGA),评估了上下文学习(ICL)和监督微调(SFT)两种技术,基于Llama3 8B模型在包含68个恶意软件家族的数据集上,SFT方法达到94%准确率和4%误报率,优于现有最先进模型。

摘要:

本研究分析了使用大语言模型(LLMs)检测域名生成算法(DGAs)的情况。我们对两种重要技术进行了详细评估:上下文学习(ICL)和监督微调(SFT),展示了它们如何提升检测性能。SFT通过使用特定领域数据来提高性能,而ICL帮助检测模型快速适应新威胁,无需大量重新训练。我们使用Meta的Llama3 8B模型,在一个包含68个恶意软件家族和正常域名的自定义数据集上进行实验,覆盖了多种难以检测的方案,包括近期基于单词的DGAs。结果表明,基于LLM的方法在DGA检测中能够取得有竞争力的结果。特别是,基于SFT的LLM DGA检测器优于使用注意力层的最先进模型,达到了94%的准确率和4%的误报率(FPR),并且在检测基于单词的DGA域名方面表现出色。

英文摘要:

This work analyzes the use of large language models (LLMs) for detecting domain generation algorithms (DGAs). We perform a detailed evaluation of two important techniques: In-Context Learning (ICL) and Supervised Fine-Tuning (SFT), showing how they can improve detection. SFT increases performance by using domain-specific data, whereas ICL helps the detection model to quickly adapt to new threats without requiring much retraining. We use Meta's Llama3 8B model, on a custom dataset with 68 malware families and normal domains, covering several hard-to-detect schemes, including recent word-based DGAs. Results proved that LLM-based methods can achieve competitive results in DGA detection. In particular, the SFT-based LLM DGA detector outperforms state-of-the-art models using attention layers, achieving 94% accuracy with a 4% false positive rate (FPR) and excelling at detecting word-based DGA domains.

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

↑