针对DGA和DNS外泄检测的大型语言模型微调
Fine-tuning Large Language Models for DGA and DNS Exfiltration Detection
AI总结:
本研究首次实证微调大型语言模型用于检测域名生成算法(DGA)和DNS外泄攻击,在59个真实恶意软件家族数据集上显著优于传统NLP方法,尤其擅长识别未知DGA。
摘要:
域名生成算法(DGAs)是恶意软件使用的一种恶意技术,用于动态生成看似随机的域名,以与命令与控制(C&C)服务器进行通信。由于DGA域名的生成快速且简单,检测方法必须高度高效和精确才能有效。大型语言模型(LLMs)已展示出在实时检测任务中的熟练能力,使其成为检测DGAs的理想候选。我们的工作验证了微调后的LLMs在检测DGAs和DNS外泄攻击方面的有效性。我们开发了LLM模型,并使用包含59个不同的真实世界DGA恶意软件家族和正常域名数据的多样化数据集进行了全面评估。我们的LLM模型显著优于传统自然语言处理技术,尤其是在检测未知DGAs方面。我们还评估了其在DNS外泄数据集上的性能,展示了其在增强网络安全措施方面的有效性。据我们所知,这是首个将LLMs实证应用于DGA和DNS外泄检测的工作。
英文摘要:
Domain Generation Algorithms (DGAs) are malicious techniques used by malware to dynamically generate seemingly random domain names for communication with Command & Control (C&C) servers. Due to the fast and simple generation of DGA domains, detection methods must be highly efficient and precise to be effective. Large Language Models (LLMs) have demonstrated their proficiency in real-time detection tasks, making them ideal candidates for detecting DGAs. Our work validates the effectiveness of fine-tuned LLMs for detecting DGAs and DNS exfiltration attacks. We developed LLM models and conducted comprehensive evaluation using a diverse dataset comprising 59 distinct real-world DGA malware families and normal domain data. Our LLM model significantly outperformed traditional natural language processing techniques, especially in detecting unknown DGAs. We also evaluated its performance on DNS exfiltration datasets, demonstrating its effectiveness in enhancing cybersecurity measures. To the best of our knowledge, this is the first work that empirically applies LLMs for DGA and DNS exfiltration detection.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。