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

通过深度强化学习增强NOP指令的插入以混淆恶意软件

Enhancing the Insertion of NOP Instructions to Obfuscate Malware via Deep Reinforcement Learning

Daniel Gibert, Matt Fredrikson, Carles Mateu, Jordi Planes, Quan Le

摘要:

当前用于解决恶意软件检测和分类问题的最新研究集中在由机器学习驱动的系统的设计、实现和部署上,因为其能够推广到从未见过的恶意软件家族和多态突变。然而,已经表明,机器学习模型,特别是深度神经网络,缺乏对精心制作的输入(对抗性示例)的鲁棒性。在这项工作中,我们已经调查了一个国家的最先进的浅卷积神经网络恶意软件分类对死代码插入技术的脆弱性。我们提出了一个通用的框架,由双Q网络诱导错误分类的恶意软件家族。该框架通过卷积神经网络来训练代理,以选择代码序列中的最佳位置来插入死代码指令,使得机器学习分类器错误标记所得到的可执行文件。实验结果表明,该方法对Kelihos_ver3、Simda和Kelihos_ver1家族的样本的回避率均为100%,而分类器的分类准确率显著下降至56.53%.此外,与随机代理相比,错误标记恶意软件所需的平均指令数减少了33%。

英文摘要:

Current state-of-the-art research for tackling the problem of malware detection and classification is centered on the design, implementation and deployment of systems powered by machine learning because of its ability to generalize to never-before-seen malware families and polymorphic mutations. However, it has been shown that machine learning models, in particular deep neural networks, lack robustness against crafted inputs (adversarial examples). In this work, we have investigated the vulnerability of a state-of-the-art shallow convolutional neural network malware classifier against the dead code insertion technique. We propose a general framework powered by a Double Q-network to induce misclassification over malware families. The framework trains an agent through a convolutional neural network to select the optimal positions in a code sequence to insert dead code instructions so that the machine learning classifier mislabels the resulting executable. The experiments show that the proposed method significantly drops the classification accuracy of the classifier to 56.53% while having an evasion rate of 100% for the samples belonging to the Kelihos_ver3, Simda, and Kelihos_ver1 families. In addition, the average number of instructions needed to mislabel malware in comparison to a random agent decreased by 33%.

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

↑