Packet Inspection Transformer:通过自监督路径实现少样本未知恶意软件检测
Packet Inspection Transformer: A Self-Supervised Journey to Unseen Malware Detection with Few Samples
AI总结:
本文提出Packet Inspection Transformer,通过自监督掩码学习数据包表示并结合少样本学习,使检测器能在少量样本下识别未知恶意软件。
摘要:
随着网络持续扩展并变得更加互联,对新型恶意软件检测方法的需求也愈发突出。面对复杂的现代网络攻击,传统安全措施日益显得不足。深度包检测(Deep Packet Inspection,DPI)在增强网络安全方面一直发挥着关键作用,它能够对网络流量进行深入分析,超越传统监控技术。DPI不仅检查网络数据包的元数据,还深入探究数据包有效载荷中承载的实际内容,从而全面呈现流经网络的数据。尽管先进深度学习技术与DPI的结合已为恶意软件检测和网络流量分类引入了现代方法,但最先进的监督学习方法仍受限于对大量标注数据的依赖,并且无法泛化到新型、未见过的恶意软件威胁。为解决这些局限,本文利用自监督学习(SSL)和少样本学习(FSL)的最新进展。我们提出的自监督方法通过SSL训练一个transformer,利用遮蔽数据包部分内容的方式,从大量未标注数据中学习包括有效载荷在内的数据包内容嵌入,从而获得可泛化到多种下游任务的表示。从数据包中提取表示后,这些表示被用于训练一种恶意软件检测算法。随后,利用从transformer获得的表示,通过少样本学习方法使恶意软件检测器适应新型攻击。实验结果表明,我们的方法在UNSW-NB15数据集上达到最高94.76%的分类准确率,在CIC-IoT23数据集上达到83.25%的分类准确率。
英文摘要:
As networks continue to expand and become more interconnected, the need for novel malware detection methods becomes more pronounced. Traditional security measures are increasingly inadequate against the sophistication of modern cyber attacks. Deep Packet Inspection (DPI) has been pivotal in enhancing network security, offering an in-depth analysis of network traffic that surpasses conventional monitoring techniques. DPI not only examines the metadata of network packets, but also dives into the actual content being carried within the packet payloads, providing a comprehensive view of the data flowing through networks. While the integration of advanced deep learning techniques with DPI has introduced modern methodologies into malware detection and network traffic classification, state-of-the-art supervised learning approaches are limited by their reliance on large amounts of annotated data and their inability to generalize to novel, unseen malware threats. To address these limitations, this paper leverages the recent advancements in self-supervised learning (SSL) and few-shot learning (FSL). Our proposed self-supervised approach trains a transformer via SSL to learn the embedding of packet content, including payload, from vast amounts of unlabeled data by masking portions of packets, leading to a learned representation that generalizes to various downstream tasks. Once the representation is extracted from the packets, they are used to train a malware detection algorithm. The representation obtained from the transformer is then used to adapt the malware detector to novel types of attacks using few-shot learning approaches. Our experimental results demonstrate that our method achieves classification accuracies of up to 94.76% on the UNSW-NB15 dataset and 83.25% on the CIC-IoT23 dataset.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。