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

针对Windows PE恶意软件文件的对抗性规避攻击的节内代码洞穴注入

Intra-Section Code Cave Injection for Adversarial Evasion Attacks on Windows PE Malware File

Kshitiz Aryal, Maanak Gupta, Mahmoud Abdelsalam, Moustafa Saleh

AI总结:

本研究提出节内代码洞穴注入的Windows PE恶意软件对抗规避方法,搭配代码加载器保留恶意软件功能,针对MalConv和MalConv2检测器实现了远高于追加式攻击的规避率。

摘要:

Windows恶意软件在网络空间中大量存在,是蓄意对抗性规避攻击的主要目标。尽管研究人员已对对抗性恶意软件攻击问题展开研究,但仍有诸多重要问题悬而未决,包括:(a) 现有向Windows可移植可执行(Portable Executable,PE)恶意软件文件注入对抗性扰动的技术是否足以实现规避目的?(b) 攻击过程是否能保留恶意软件的原始行为?(c) 是否存在尚未被探索的可用于对Windows PE恶意软件实施对抗性规避攻击的方法或位置?(d) 在不对PE文件造成显著结构改变的前提下,要规避基于机器学习的恶意软件检测器,所需对抗性扰动的最优位置和大小是什么?为解答其中部分问题,本研究提出一种新颖方法:在Windows PE恶意软件文件的节内(即节内部)注入代码洞穴,为对抗性扰动腾出空间。此外,还会在PE文件内部注入一个代码加载器,可在执行过程中将对抗性恶意软件恢复为原始形态,从而保留恶意软件的功能与可执行性。为验证该方法的有效性,我们针对两种主流的基于卷积神经网络(CNN)的恶意软件检测器MalConv和MalConv2,在.text、.data和.rdata节内注入由梯度下降法和快速梯度符号法(Fast Gradient Sign Method,FGSM)生成的对抗性扰动。实验取得了显著结果:针对MalConv,梯度下降法实现了92.31%的规避率,FGSM实现了96.26%的规避率,而追加式攻击的规避率仅为16.17%。同样,在针对MalConv2时,本方法的最高规避率表现出色:梯度下降法达97.93%,FGSM达94.34%,大幅超过追加式攻击观测到的4.01%的规避率。

英文摘要:

Windows malware is predominantly available in cyberspace and is a prime target for deliberate adversarial evasion attacks. Although researchers have investigated the adversarial malware attack problem, a multitude of important questions remain unanswered, including (a) Are the existing techniques to inject adversarial perturbations in Windows Portable Executable (PE) malware files effective enough for evasion purposes?; (b) Does the attack process preserve the original behavior of malware?; (c) Are there unexplored approaches/locations that can be used to carry out adversarial evasion attacks on Windows PE malware?; and (d) What are the optimal locations and sizes of adversarial perturbations required to evade an ML-based malware detector without significant structural change in the PE file? To answer some of these questions, this work proposes a novel approach that injects a code cave within the section (i.e., intra-section) of Windows PE malware files to make space for adversarial perturbations. In addition, a code loader is also injected inside the PE file, which reverts adversarial malware to its original form during the execution, preserving the malware's functionality and executability. To understand the effectiveness of our approach, we injected adversarial perturbations inside the .text, .data and .rdata sections, generated using the gradient descent and Fast Gradient Sign Method (FGSM), to target the two popular CNN-based malware detectors, MalConv and MalConv2. Our experiments yielded notable results, achieving a 92.31% evasion rate with gradient descent and 96.26% with FGSM against MalConv, compared to the 16.17% evasion rate for append attacks. Similarly, when targeting MalConv2, our approach achieved a remarkable maximum evasion rate of 97.93% with gradient descent and 94.34% with FGSM, significantly surpassing the 4.01% evasion rate observed with append attacks.

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

↑