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

对抗适应性恶意软件检测器能否变得稳健?在白盒和黑盒威胁下的攻击与防御

Can Drift-Adaptive Malware Detectors Be Made Robust? Attacks and Defenses Under White-Box and Black-Box Threats

Purdue University(普渡大学)

Adrian Shuai Li, Md Ajwad Akil, Elisa Bertino

AI总结:

本文研究了对抗适应性恶意软件检测器在白盒和黑盒威胁下的稳健性问题,提出了一种通用鲁棒化框架,通过微调预训练模型来提升检测器的鲁棒性,同时探讨了不同威胁模型下的最佳策略。

摘要:

概念漂移和对抗性逃避是部署基于机器学习的恶意软件检测器的两大主要挑战。尽管两者已被分别研究,但它们的结合——对抗鲁棒性——仍未被探索。我们通过AdvDA,一种最近的恶意软件检测器,利用对抗域适应来对齐带标签的源域和目标域,仅使用有限的标签。域间分布偏移带来了独特挑战:在源域上学习的鲁棒性可能无法转移到目标域,而现有防御假设分布固定。为了解决这一问题,我们提出了一种通用鲁棒化框架,通过在对抗性转换的输入上微调预训练的AdvDA模型,无论攻击类型和转换选择如何。我们将其实例化为五个防御变体,涵盖两种威胁模型:白盒PGD攻击在特征空间和黑盒MalGuise攻击,通过功能保持的控制流变异修改恶意软件二进制文件。在九种防御配置、五个月的Windows恶意软件适应窗口和三个误报率操作点上,我们发现未受保护的AdvDA对PGD(100%攻击成功)和Moderately对MalGuise(13%)完全脆弱。我们的框架将这些比率降低到最低3.2%和5.1%,但最佳策略不同:源对抗训练对PGD防御至关重要,而对MalGuise防御则反效果,其中目标单独训练足够。此外,鲁棒性不会在这些两种威胁模型之间转移。我们提供了平衡鲁棒性、检测准确性和计算成本的部署建议。

英文摘要:

Concept drift and adversarial evasion are two major challenges for deploying machine learning-based malware detectors. While both have been studied separately, their combination, the adversarial robustness of drift-adaptive detectors, remains unexplored. We address this problem with AdvDA, a recent malware detector that uses adversarial domain adaptation to align a labeled source domain with a target domain with limited labels. The distribution shift between domains poses a unique challenge: robustness learned on the source may not transfer to the target, and existing defenses assume a fixed distribution. To address this, we propose a universal robustification framework that fine-tunes a pretrained AdvDA model on adversarially transformed inputs, agnostic to the attack type and choice of transformations. We instantiate it with five defense variants spanning two threat models: white-box PGD attacks in the feature space and black-box MalGuise attacks that modify malware binaries via functionality-preserving control-flow mutations. Across nine defense configurations, five monthly adaptation windows on Windows malware, and three false-positive-rate operating points, we find the undefended AdvDA completely vulnerable to PGD (100% attack success) and moderately to MalGuise (13%). Our framework reduces these rates to as low as 3.2% and 5.1%, respectively, but the optimal strategy differs: source adversarial training is essential for PGD defenses yet counterproductive for MalGuise defenses, where target-only training suffices. Furthermore, robustness does not transfer across these two threat models. We provide deployment recommendations that balance robustness, detection accuracy, and computational cost.

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

↑