MalPurifier: Enhancing Android Malware Detection with Adversarial Purification against Evasion Attacks

Yuyang Zhou, Guang Cheng, Zongyao Chen, Shui Yu
12/11/2023
cs.CRcs.AIcs.LG

No official code found. Best implementation: SEU-ProactiveSecurity-Group/MalPurifier (32 stars, GPL-2.0, last commit 2025-04-15).

Abstract

Machine learning (ML) has gained significant adoption in Android malware detection to address the escalating threats posed by the rapid proliferation of malware attacks. However, recent studies have revealed the inherent vulnerabilities of ML-based detection systems to evasion attacks. While efforts have been made to address this critical issue, many of the existing defensive methods encounter challenges such as lower effectiveness or reduced generalization capabilities. In this paper, we introduce MalPurifier, a novel adversarial purification framework specifically engineered for Android malware detection. Specifically, MalPurifier integrates three key innovations: a diversified adversarial perturbation mechanism for robustness and generalizability, a protective noise injection strategy for benign data integrity, and a Denoising AutoEncoder (DAE) with a dual-objective loss for accurate purification and classification. Extensive experiments on two large-scale datasets demonstrate that MalPurifier significantly outperforms state-of-the-art defenses. It robustly defends against a comprehensive set of 37 perturbation-based evasion attacks, consistently achieving robust accuracies above 90.91%. As a lightweight, model-agnostic, and plug-and-play module, MalPurifier offers a practical and effective solution to bolster the security of ML-based Android malware detectors.

View on arXivView PDF

Code Implementations(1)

GPL-2.0

Official code for the paper entitled "Enhancing Android Malware Detection with Adversarial Purification against Evasion Attacks"

323PythonNov 27, 20231 years agoGPL-2.0

Similar Papers

Cite this paper

@article{zhou2023malpurifier,
  title  = {MalPurifier: Enhancing Android Malware Detection with Adversarial Purification against Evasion Attacks},
  author = {Yuyang Zhou and Guang Cheng and Zongyao Chen and Shui Yu},
  year   = {2023},
  eprint = {2312.06423},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.06423v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2312.06423.svg)](https://codeofpaper.com/paper/2312.06423)

Discussion