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

Madvex:基于插桩的机器学习恶意软件检测对抗攻击

Madvex: Instrumentation-based Adversarial Attacks on Machine Learning Malware Detection

Nils Loose, Felix Mächtle, Claudius Pott, Volodymyr Bezsmertnyi, Thomas Eisenbarth

AI总结:

针对WebAssembly加密劫持的机器学习检测,提出Madvex方法,通过插桩在二进制代码段中注入对抗样本,以极小开销可靠绕过Minos等最先进分类器。

摘要:

WebAssembly(Wasm)是一种用于Web应用程序的低级二进制格式,因其性能提升以及与现有软件的兼容性而得到广泛采用。然而,Wasm的流行也导致其被滥用于恶意目的,例如加密劫持,恶意行为者未经受害者同意便利用其计算资源来挖掘加密货币。为了应对这一威胁,出现了旨在识别Wasm代码中加密劫持活动的基于机器学习的检测方法。众所周知,神经网络容易受到对抗攻击,在此类攻击中,分类器的输入被施加最小程度的扰动,从而导致严重的错误分类。尽管在图像分类中施加更改很容易,但以自动化方式操纵二进制文件以在不改变功能的情况下逃避恶意软件分类却并非易事。在这项工作中,我们提出了一种新方法,通过插桩技术在二进制文件的代码段中包含对抗样本。所引入的gadget允许包含任意字节,从而实现了能够可靠绕过最先进机器学习分类器(例如在NDSS 2021上最新提出的基于CNN的Minos)的高效对抗攻击。我们分析了基于插桩的对抗样本生成的成本与可靠性,并表明该方法在极小的体积和性能开销下能够可靠地工作。

英文摘要:

WebAssembly (Wasm) is a low-level binary format for web applications, which has found widespread adoption due to its improved performance and compatibility with existing software. However, the popularity of Wasm has also led to its exploitation for malicious purposes, such as cryptojacking, where malicious actors use a victim's computing resources to mine cryptocurrencies without their consent. To counteract this threat, machine learning-based detection methods aiming to identify cryptojacking activities within Wasm code have emerged. It is well-known that neural networks are susceptible to adversarial attacks, where inputs to a classifier are perturbed with minimal changes that result in a crass misclassification. While applying changes in image classification is easy, manipulating binaries in an automated fashion to evade malware classification without changing functionality is non-trivial. In this work, we propose a new approach to include adversarial examples in the code section of binaries via instrumentation. The introduced gadgets allow for the inclusion of arbitrary bytes, enabling efficient adversarial attacks that reliably bypass state-of-the-art machine learning classifiers such as the CNN-based Minos recently proposed at NDSS 2021. We analyze the cost and reliability of instrumentation-based adversarial example generation and show that the approach works reliably at minimal size and performance overheads.

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

↑