无需查询即可让恶意代码伪装成正常函数,突破二进制分类器防御
Attacking the First-Principle: A Black-Box, Query-Free Targeted Mimicry Attack on Binary Function Classifiers

- 利用代码变换保持恶意功能,实现零交互伪装
- 成功攻击六种主流二进制分类器,无须与目标交互
- 适合研究模型安全与对抗攻击的学者与安全工程师
二进制函数分类器在保障软件系统安全与完整性方面至关重要,用于检测恶意代码和未经授权的修改。然而,基于机器学习的分类器易受对抗攻击影响,可能被规避检测。本文提出Kelpie框架,可在黑盒、零查询环境下对二进制函数分类器实施更强的模仿攻击(mimicry attack),一种针对性的逃避攻击。不同于以往依赖查询目标分类器来优化非针对性攻击的方法,Kelpie通过保持恶意载荷功能的前提下进行代码变换,使其被错误分类为期望类别。实验表明,Kelpie可成功攻击六种代表不同模型架构的先进二进制函数分类器,且无需直接交互。进一步实践验证中,我们演示了将键盘记录器和擦除程序隐藏于看似正常的函数内,嵌入应用程序中。据我们所知,这是首个在黑盒、零查询条件下实现此类模仿攻击的工作,引发了对现有基于机器学习的二进制函数分类器可靠性和安全性的深刻质疑。
原文摘要 · Abstract (English)
Binary function classifiers play a crucial role in maintaining the security and integrity of software systems by detecting malicious code and unauthorized modifications. However, machine learning-based classifiers are vulnerable to adversarial attacks that can evade detection. In this study, we present Kelpie, a novel framework for executing mimicry attacks, a stronger type of targeted evasion attacks, on binary function classifiers in a black-box, zero-query setting. Unlike previous approaches that rely on querying the target classifier to refine untargeted evasion attacks, Kelpie leverages code transformations that preserve the functionality of malicious payloads while causing them to be misclassified as we want. Through extensive experimentation, we demonstrate that Kelpie can successfully execute mimicry attacks against six state-of-the-art binary function classifiers representing different model architectures without requiring direct interaction with them. We further validate our approach with a practical demonstration, involving a keylogger and a wiper concealed within benign-looking functions embedded in an application. This work, to our best knowledge, is the first to demonstrate such a mimicry attack in a black-box, zero-query context, raising important questions about the reliability and security of existing machine learning-based binary function classifiers.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。