跳到正文
arXiv (AI + Vision + Imaging)· Alexander Herzog, Shae McFadden, Lorenzo Cavallaro·· 1 天前AI 评分12

MalSets:用单调多示例学习实现低成本抗加性攻击的恶意软件检测

More Is Never Less: Affordable Robustness to Additive Attacks via Monotone Multiple-Instance Learning

AI 导读

MalSets 将基于权限、API 调用等集合型静态特征的恶意软件检测建模为多示例学习问题,采用 max-pooled Deep Sets 模型加单调头,使新增良性特征无法稀释恶意证据。该方法用通用文本编码器把任意特征字符串映射为嵌入,消除了测试时的词表外问题,并在保持单调分类器鲁棒性的同时达到当前最优的干净性能。

正文 · 原文

arXiv:2611.28825v1 Announce Type: cross Abstract: Static malware detectors that represent each sample as a bag of extracted features, such as permissions, API calls, or imported functions, are cheap to deploy and remain state-of-the-art under temporal drift and in selective classification. Yet, attackers can evade them by adding benign-looking content that outweighs malicious evidence. Canonically, detectors encode the presence of a few thousand features, selected during training, as sparse multi-hot vectors over a fixed vocabulary. Features that emerge after training remain invisible. We show that linear models and multi-layer perceptrons (MLPs) over this input are sum-pooled set models in disguise. Sum-pooling lets added benign features cancel malicious evidence. Instead, we cast malware detection with set-shaped static features as a multiple-instance learning (MIL) problem. To this end, we propose MalSets, which uses max-pooled Deep Sets models with a monotone head to ensure that any malicious evidence remains undiluted; thus, more is never less. Under MIL, a general text encoder maps any feature string to an embedding, thus eliminating the long-standing out-of-vocabulary problem at test time. Max-pooling retains the malicious evidence regardless of how many benign features an attacker adds. Since max-pooling can only grow when features are added, constraining the head alone makes the malware score monotone under additions, even against a white-box attacker adapted to this architecture. While monotone detectors are never evaded by state-of-the-art black-box or white-box attacks, they often significantly pay for this robustness in clean performance since benign features cannot count as evidence. However, by combining a non-monotone set encoder with max-pooling and a monotone head, MalSets maintains the robustness of prior monotone classifiers while achieving state-of-the-art performance.

来源:arXiv (AI + Vision + Imaging) · arxiv.org