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

面向新型恶意数据包识别:一种小样本学习方法

Towards Novel Malicious Packet Recognition: A Few-Shot Learning Approach

University of West Florida(西佛罗里达大学);Florida Institute For Human and Machine Cognition(佛罗里达人机认知研究所)

Kyle Stein, Andrew A. Mahyari, Guillermo Francia, Eman El-Sheikh

AI总结:

针对传统安全防御难以识别新型恶意软件的问题,提出结合预训练大语言模型提取数据包嵌入与小样本学习的新型恶意数据包识别方法,在两个数据集上取得86.35%的平均准确率与86.40%的F1值。

摘要:

随着网络复杂度与连接性的提升,研发新型恶意软件检测方法的需求变得十分迫切。传统安全防御手段在应对当下网络攻击的高级策略时,效果正不断下降。深度包检测(Deep Packet Inspection, DPI)已成为强化网络安全的关键技术,可提供超越简单元数据分析的网络流量深度分析能力。DPI不仅检查数据包头,还检测其中的有效载荷内容,能全面洞察网络中传输的数据。本研究提出一种新方法,借助大语言模型(large language model, LLM)与小样本学习,仅用少量标注样本即可准确识别新型、未见过的恶意软件类型。我们提出的方法使用在已知恶意软件类型上预训练的LLM,从数据包中提取嵌入向量。随后将这些嵌入向量与未见过的恶意软件类型的少量标注样本结合使用。该技术旨在让模型适应不同的恶意软件表征,进一步使其能够为每个已训练类别和未见过的类别生成鲁棒的嵌入向量。在从LLM中提取嵌入向量后,我们利用小样本学习在标注数据极少的情况下提升性能。我们使用两个知名数据集开展评估,重点识别网络流量与物联网(Internet of Things, IoT)环境中的恶意软件类型。实验结果显示该方法前景良好,在两个数据集的不同恶意软件类型上,平均准确率达86.35%,F1值为86.40%。

英文摘要:

As the complexity and connectivity of networks increase, the need for novel malware detection approaches becomes imperative. Traditional security defenses are becoming less effective against the advanced tactics of today's cyberattacks. Deep Packet Inspection (DPI) has emerged as a key technology in strengthening network security, offering detailed analysis of network traffic that goes beyond simple metadata analysis. DPI examines not only the packet headers but also the payload content within, offering a thorough insight into the data traversing the network. This study proposes a novel approach that leverages a large language model (LLM) and few-shot learning to accurately recognizes novel, unseen malware types with few labels samples. Our proposed approach uses a pretrained LLM on known malware types to extract the embeddings from packets. The embeddings are then used alongside few labeled samples of an unseen malware type. This technique is designed to acclimate the model to different malware representations, further enabling it to generate robust embeddings for each trained and unseen classes. Following the extraction of embeddings from the LLM, few-shot learning is utilized to enhance performance with minimal labeled data. Our evaluation, which utilized two renowned datasets, focused on identifying malware types within network traffic and Internet of Things (IoT) environments. Our approach shows promising results with an average accuracy of 86.35% and F1-Score of 86.40% on different malware types across the two datasets.

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

↑