[论文解读] Explaining Vulnerabilities of Deep Learning to Adversarial Malware Binaries
本论文使用集成梯度来解释 MalConv 对 PE 二进制文件的决策,并显示它依赖于头部字节而非数据/文本区域;随后演示一种高效的基于头部的对抗攻击,仅通过修改少量头部字节即可规避 MalConv。
Recent work has shown that deep-learning algorithms for malware detection are also susceptible to adversarial examples, i.e., carefully-crafted perturbations to input malware that enable misleading classification. Although this has questioned their suitability for this task, it is not yet clear why such algorithms are easily fooled also in this particular application domain. In this work, we take a first step to tackle this issue by leveraging explainable machine-learning algorithms developed to interpret the black-box decisions of deep neural networks. In particular, we use an explainable technique known as feature attribution to identify the most influential input features contributing to each decision, and adapt it to provide meaningful explanations to the classification of malware binaries. In this case, we find that a recently-proposed convolutional neural network does not learn any meaningful characteristic for malware detection from the data and text sections of executable files, but rather tends to learn to discriminate between benign and malware samples based on the characteristics found in the file header. Based on this finding, we propose a novel attack algorithm that generates adversarial malware binaries by only changing few tens of bytes in the file header. With respect to the other state-of-the-art attack algorithms, our attack does not require injecting any padding bytes at the end of the file, and it is much more efficient, as it requires manipulating much fewer bytes.
研究动机与目标
- 理解基于深度学习的恶意软件检测器为何易受对抗样本影响。
- 应用可解释的机器学习技术来解释基于原始字节训练的恶意软件检测器。
- 识别 PE 文件哪些部分驱动 MalConv 的决策。
- 展示针对 MalConv 的实际、高效的基于头部的对抗攻击。
提出的方法
- 对 MalConv 应用集成梯度归因方法以识别影响输入特征。
- 将集成梯度适应为在更高语义层次聚合特征归因(PE 文件的分区)。
- 使用在 1 MB 输入上训练的简化 MalConv 模型来分析字节级决策。
- 可视化 PE 文件组件(DOS 头、COFF 头、可选头、.text 等)的归因。
- 开发一种只扰动头部字节以规避 MalConv 且不注入填充的攻击算法。
- 在一组恶意软件样本上评估攻击效果以显示规避能力。
实验结果
研究问题
- RQ1MalConv 在将 PE 二进制文件分类为恶意与良性时依赖哪些输入特征?
- RQ2特征归因是否能够揭示 MalConv 学到的虚假相关性,例如头部为中心的决策?
- RQ3是否有可能通过仅扰动头部的一小部分来构造对抗性恶意软件,同时保持恶意功能?
- RQ4头部聚焦的操作在效率上与现有的文件末尾填充攻击相比如何?
主要发现
- MalConv 主要使用文件头部特征来区分恶意样本和良性样本,通常忽略数据/文本区域的恶意内容所在。
- 集成梯度揭示重要归因集中在 DOS 和 COFF 头部区域,而不是 .text 或数据区域。
- 一个仅修改若干头部字节的对抗攻击就能以高概率规避 MalConv(在测试的 60 个样本中有 52 个命中)。
- 基于头部的攻击比末尾填充攻击更高效,因为它修改的字节要少得多,而且不需要在末尾添加填充。
- 研究结果表明 MalConv 学习到与头部结构相关的潜在无意义的相关性,凸显对定向扰动的脆弱性。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。