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

一种基于Transformer的载荷恶意软件检测与分类框架

A Transformer-Based Framework for Payload Malware Detection and Classification

University of West Florida(西佛罗里达大学);Florida Institute For Human and Machine Cognition (IHMC)(佛罗里达人机认知研究所);Center for Cybersecurity, University of West Florida(西佛罗里达大学网络安全中心)

Kyle Stein, Arash Mahyari, Guillermo Francia, Eman El-Sheikh

AI总结:

提出基于Transformer的DPI算法,使用原始载荷字节检测并分类恶意流量,在UNSW-NB15和CIC-IOT23数据集上二分类准确率达79%,多分类达72%。

摘要:

随着恶意网络威胁在入侵计算机网络方面变得越来越复杂,有效的入侵检测系统(IDSs)的需求变得至关重要。引入了诸如深度包检测(DPI)等技术,使IDSs能够分析网络数据包的内容,为识别潜在威胁提供更多上下文。IDSs传统上依赖于基于异常和基于签名的检测技术来检测未识别和可疑活动。深度学习技术因其在从通过网络传输的数据包内容中学习复杂模式方面的效率,在IDSs的DPI中展现出巨大潜力。在本文中,我们提出了一种基于transformers的革命性DPI算法,该算法适配了带有分类器头的恶意流量检测目的。Transformers学习序列数据的复杂内容,并由于其自注意力机制而能很好地泛化到类似场景。我们提出的方法使用代表数据包内容的原始载荷字节,并以中间人方式部署。载荷字节用于检测恶意数据包并分类其类型。在UNSW-NB15和CIC-IOT23数据集上的实验结果表明,我们基于transformer的模型在测试数据集中有效区分恶意和良性流量,仅使用载荷字节在二分类中达到79%的平均准确率,在多分类实验中达到72%。

英文摘要:

As malicious cyber threats become more sophisticated in breaching computer networks, the need for effective intrusion detection systems (IDSs) becomes crucial. Techniques such as Deep Packet Inspection (DPI) have been introduced to allow IDSs analyze the content of network packets, providing more context for identifying potential threats. IDSs traditionally rely on using anomaly-based and signature-based detection techniques to detect unrecognized and suspicious activity. Deep learning techniques have shown great potential in DPI for IDSs due to their efficiency in learning intricate patterns from the packet content being transmitted through the network. In this paper, we propose a revolutionary DPI algorithm based on transformers adapted for the purpose of detecting malicious traffic with a classifier head. Transformers learn the complex content of sequence data and generalize them well to similar scenarios thanks to their self-attention mechanism. Our proposed method uses the raw payload bytes that represent the packet contents and is deployed as man-in-the-middle. The payload bytes are used to detect malicious packets and classify their types. Experimental results on the UNSW-NB15 and CIC-IOT23 datasets demonstrate that our transformer-based model is effective in distinguishing malicious from benign traffic in the test dataset, attaining an average accuracy of 79\% using binary classification and 72\% on the multi-classification experiment, both using solely payload bytes.

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

↑