arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2512.09883cs.CR
收藏

ByteShield: 通过字节掩码实现对抗鲁棒的端到端恶意软件检测

ByteShield: Adversarially Robust End-to-End Malware Detection through Byte Masking

Daniel Gibert, Felip Manyà

AI总结:

ByteShield通过字节掩码策略提升端到端恶意软件检测器的对抗鲁棒性,有效抑制对抗性负载影响。

摘要:

研究已证明端到端恶意软件检测器对对抗攻击具有脆弱性。为此,研究社区提出了基于随机和(去)随机平滑的防御方法。然而,这些技术仍易受插入大对抗性负载的攻击。为了解决这些局限性,我们提出了一种新的防御机制,旨在通过在字节级别利用掩码来加固端到端恶意软件检测器。该机制通过生成输入文件的多个掩码版本,独立分类每个版本,并然后应用基于阈值的投票机制来产生最终分类。该防御的核心是一种确定性的掩码策略,系统性地在输入文件的整个范围内滑动掩码。与随机平滑防御不同,后者随机掩码或删除字节,这种结构化方法确保文件在连续的版本中得到覆盖。在最佳情况下,这种策略完全遮蔽了对抗性负载,有效地中和了其对模型决策的影响。在最坏情况下,它部分遮蔽了对抗性负载,减少了其对模型预测的影响。通过在其中一个或多个掩码版本中遮蔽对抗性负载,这种防御确保某些输入版本仍能代表文件的原始意图,使投票机制能够抑制对抗性负载的影响。在EMBER和BODMAS数据集上获得的结果证明了我们防御的有效性,优于随机和(去)随机平滑防御,对抗生成广泛功能保持操纵的对抗示例,同时在干净示例上保持高准确率。

英文摘要:

Research has proven that end-to-end malware detectors are vulnerable to adversarial attacks. In response, the research community has proposed defenses based on randomized and (de)randomized smoothing. However, these techniques remain susceptible to attacks that insert large adversarial payloads. To address these limitations, we propose a novel defense mechanism designed to harden end-to-end malware detectors by leveraging masking at the byte level. This mechanism operates by generating multiple masked versions of the input file, independently classifying each version, and then applying a threshold-based voting mechanism to produce the final classification. Key to this defense is a deterministic masking strategy that systematically strides a mask across the entire input file. Unlike randomized smoothing defenses, which randomly mask or delete bytes, this structured approach ensures coverage of the file over successive versions. In the best-case scenario, this strategy fully occludes the adversarial payload, effectively neutralizing its influence on the model's decision. In the worst-case scenario, it partially occludes the adversarial payload, reducing its impact on the model's predictions. By occluding the adversarial payload in one or more masked versions, this defense ensures that some input versions remain representative of the file's original intent, allowing the voting mechanism to suppress the influence of the adversarial payload. Results achieved on the EMBER and BODMAS datasets demonstrate the suitability of our defense, outperforming randomized and (de)randomized smoothing defenses against adversarial examples generated with a wide range of functionality-preserving manipulations while maintaining high accuracy on clean examples.

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

↑