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

利用生成式人工智能生成合成恶意软件样本

Generating Synthetic Malware Samples Using Generative AI

Department of Computer Science, Boston University(波士顿大学计算机科学系);Department of Computer Science, University of Wisconsin–La Crosse(威斯康星大学拉克罗斯分校计算机科学系);Department of Computer Science, San José State University(圣何塞州立大学计算机科学系);Silicon Valley Cybersecurity Institute(硅谷网络安全研究所);Department of Computer Engineering, San José State University(圣何塞州立大学计算机工程系)

Tiffany Bao, Kylie Trousil, Quang Duy Tran, Fabio Di Troia, Younghee Park

AI总结:

本文提出利用生成式人工智能生成合成恶意软件样本,以弥补不平衡数据集中的不足,通过分解恶意软件二进制样本为指令序列并利用自然语言处理提升生成对抗网络等模型的性能,实验结果显示分类性能提升显著。

摘要:

恶意软件攻击对各规模组织在网络安全领域造成重大负面影响。近期,恶意软件研究人员越来越多地使用机器学习技术来对抗恶意软件中复杂的混淆方法。然而,收集具有各种混淆技术的恶意软件样本集具有挑战性,尤其是对于新开发的恶意软件,往往需要数年时间。这个问题进一步受到机器学习模型的一个已知限制的影响:当训练数据稀缺时,其性能较差。本文提出了一种新的系统,用于生成合成恶意软件样本以补充不平衡的恶意软件数据集。我们的方法将恶意软件二进制样本分解为mnemonic opcode序列,利用自然语言处理提取恶意软件指令特征背后的上下文意义,以帮助本论文中使用的生成式人工智能(GenAI)学习,即生成对抗网络(GAN)、Wasserstein生成对抗网络带梯度惩罚(WGAN-GP)以及修改后的扩散模型。实验结果表明,通过扩散模型生成的合成数据增强训练数据,平均可使小类别的分类性能提升60%。这种改进最终使恶意软件分类性能达到96%,提高了8%。这些发现证明了合成数据的高质量和保真度,其稳健性以及在恶意软件分析中的潜在应用。具体而言,合成恶意软件数据在提高小恶意软件类别的分类和检测率方面证明了有效性,即使已知恶意软件数据的规模显著较小。

英文摘要:

Malware attacks have a significant negative impact on organizations of varied scales in the field of cybersecurity. Recently, malware researchers have increasingly turned to machine learning techniques to combat sophisticated obfuscation methods used in malware. However, collecting a diverse set of malware samples with various obfuscation techniques is challenging and often takes years, especially for newly developed malware. This issue is further compounded by a well-known limitation of machine learning models: their poor performance when training data is scarce. In this paper, we propose a new system for generating synthetic malware samples to augment imbalanced malware dataset. Our approach decomposes malware binary samples into mnemonic opcode sequences, leveraging natural language processing to extract contextual meaning behind malware opcode features to aid the learning of generative AI (GenAI) employed in this paper, Generative Adversarial Networks (GAN), Wasserstein Generative Adversarial Networks with Gradient Penalty (WGAN-GP), and a modified Diffusion model. The experiment results show that augmenting training data with Diffusion-based synthetic data significantly improves classification performance for minor classes by up to 60% on average. This enhancement ultimately leads to an overall malware classification performance of 96%, an 8% improvement. These findings demonstrate the high quality and fidelity of the synthetic data, its robustness, and its potential applications in malware analysis. Specifically, synthetic malware data proves effective in improving the classification of minor malware classes and detection rates, even though the size of known malware data is significantly small.

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

↑