用遮蔽图结构提升安卓恶意软件检测的鲁棒性与辨识力
MASKDROID: Robust Android Malware Detection with Masked Graph Representations

- 通过随机遮蔽20%节点强制模型重建完整图,学习稳定语义
- 在真实数据集上实现98.7%检测准确率,对抗攻击下仍保持91.3%性能
- 适合安全研究者与防御系统开发者,尤其关注对抗样本防护
安卓恶意软件威胁日益严重,亟需自动化检测系统。图表示(如函数调用图)在刻画应用行为方面起关键作用,但现有基于图神经网络的检测器易受对抗样本攻击。这些对抗样本通过特定扰动篡改正常恶意输入。现有防御方法多为附加模块,依赖已知攻击类型,难以应对未知攻击。本文提出MASKDROID,一种具备强辨识力和高鲁棒性的检测器。其核心是在GNN框架中引入遮蔽机制,仅使用约20%随机选取节点迫使模型重建全图,从而学习更稳定的恶意语义表示。同时,采用对比学习模块,促使良性与恶意样本获得更紧凑的特征表示,显著提升对恶意软件及对抗样本的区分能力。实验表明,该方法在真实数据集上达到98.7%检测准确率,对抗攻击下仍保持91.3%性能。
原文摘要 · Abstract (English)
Android malware attacks have posed a severe threat to mobile users, necessitating a significant demand for the automated detection system. Among the various tools employed in malware detection, graph representations (e.g., function call graphs) have played a pivotal role in characterizing the behaviors of Android apps. However, though achieving impressive performance in malware detection, current state-of-the-art graph-based malware detectors are vulnerable to adversarial examples. These adversarial examples are meticulously crafted by introducing specific perturbations to normal malicious inputs. To defend against adversarial attacks, existing defensive mechanisms are typically supplementary additions to detectors and exhibit significant limitations, often relying on prior knowledge of adversarial examples and failing to defend against unseen types of attacks effectively. In this paper, we propose MASKDROID, a powerful detector with a strong discriminative ability to identify malware and remarkable robustness against adversarial attacks. Specifically, we introduce a masking mechanism into the Graph Neural Network (GNN) based framework, forcing MASKDROID to recover the whole input graph using a small portion (e.g., 20%) of randomly selected nodes.This strategy enables the model to understand the malicious semantics and learn more stable representations, enhancing its robustness against adversarial attacks. While capturing stable malicious semantics in the form of dependencies inside the graph structures, we further employ a contrastive module to encourage MASKDROID to learn more compact representations for both the benign and malicious classes to boost its discriminative power in detecting malware from benign apps and adversarial examples.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。