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

整合可解释人工智能以实现加密网络流量中的有效恶意软件检测

Integrating Explainable AI for Effective Malware Detection in Encrypted Network Traffic

University of Bari(巴里大学)

Sileshi Nibret Zeleke, Amsalu Fentie Jember, Mario Bochicchio

AI总结:

本文整合XAI与集成学习,基于多视图特征检测加密恶意流量,构建涵盖54个恶意软件家族的1,127条连接数据集,并利用SHAP解释关键特征,模型性能超过99%。

摘要:

加密网络通信确保了端点之间的机密性、完整性和隐私性。然而,攻击者正越来越多地利用加密来隐藏恶意行为。在不解密有效载荷的情况下检测未知的加密恶意流量仍然是一项重大挑战。在本研究中,我们研究了整合可解释人工智能(XAI)技术以检测恶意网络流量。我们采用集成学习模型,利用从加密通信各个方面提取的多视图特征来识别恶意活动。为了有效表征恶意通信,我们编制了一个包含1,127个唯一连接的稳健数据集,数量超过任何其他可用的开源数据集,并涵盖54个恶意软件家族。我们的模型在CTU-13数据集上进行了基准测试,准确率、精确率和F1分数均达到99%以上。此外,eXtreme Gradient Boosting(XGB)模型在我们的自定义数据集上表现出99.32%的准确率、99.53%的精确率和99.43%的F1分数。通过利用Shapley Additive Explanations(SHAP),我们确定最大数据包大小、数据包平均到达间隔时间以及所使用的传输层安全版本是全局模型解释中最关键的特征。此外,在两个数据集中,关键特征被确定为对单个流量样本的局部解释非常重要。这些洞察提供了对模型决策过程的更深入理解,增强了检测恶意加密流量的透明度和可靠性。

英文摘要:

Encrypted network communication ensures confidentiality, integrity, and privacy between endpoints. However, attackers are increasingly exploiting encryption to conceal malicious behavior. Detecting unknown encrypted malicious traffic without decrypting the payloads remains a significant challenge. In this study, we investigate the integration of explainable artificial intelligence (XAI) techniques to detect malicious network traffic. We employ ensemble learning models to identify malicious activity using multi-view features extracted from various aspects of encrypted communication. To effectively represent malicious communication, we compiled a robust dataset with 1,127 unique connections, more than any other available open-source dataset, and spanning 54 malware families. Our models were benchmarked against the CTU-13 dataset, achieving performance of over 99% accuracy, precision, and F1-score. Additionally, the eXtreme Gradient Boosting (XGB) model demonstrated 99.32% accuracy, 99.53% precision, and 99.43% F1-score on our custom dataset. By leveraging Shapley Additive Explanations (SHAP), we identified that the maximum packet size, mean inter-arrival time of packets, and transport layer security version used are the most critical features for the global model explanation. Furthermore, key features were identified as important for local explanations across both datasets for individual traffic samples. These insights provide a deeper understanding of the model decision-making process, enhancing the transparency and reliability of detecting malicious encrypted traffic.

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

↑