Evaluating the robustness of adversarial defenses in malware detection systems

Mostafa Jafari, Alireza Shameli-Sendi
5/14/2025
cs.CRcs.AIcs.LG

No official code found. Best implementation: mostafa-ja/sigma-binary (3 stars, GPL-3.0, last commit 2025-12-14).

Abstract

Machine learning is a key tool for Android malware detection, effectively identifying malicious patterns in apps. However, ML-based detectors are vulnerable to evasion attacks, where small, crafted changes bypass detection. Despite progress in adversarial defenses, the lack of comprehensive evaluation frameworks in binary-constrained domains limits understanding of their robustness. We introduce two key contributions. First, Prioritized Binary Rounding, a technique to convert continuous perturbations into binary feature spaces while preserving high attack success and low perturbation size. Second, the sigma-binary attack, a novel adversarial method for binary domains, designed to achieve attack goals with minimal feature changes. Experiments on the Malscan dataset show that sigma-binary outperforms existing attacks and exposes key vulnerabilities in state-of-the-art defenses. Defenses equipped with adversary detectors, such as KDE, DLA, DNN+, and ICNN, exhibit significant brittleness, with attack success rates exceeding 90% using fewer than 10 feature modifications and reaching 100% with just 20. Adversarially trained defenses, including AT-rFGSM-k, AT-MaxMA, improves robustness under small budgets but remains vulnerable to unrestricted perturbations, with attack success rates of 99.45% and 96.62%, respectively. Although PAD-SMA demonstrates strong robustness against state-of-the-art gradient-based adversarial attacks by maintaining an attack success rate below 16.55%, the sigma-binary attack significantly outperforms these methods, achieving a 94.56% success rate under unrestricted perturbations. These findings highlight the critical need for precise method like sigma-binary to expose hidden vulnerabilities in existing defenses and support the development of more resilient malware detection systems.

View on arXivView PDF

Code Implementations(1)

GPL-3.0

Sigma-Binary: Evaluating the Robustness of Adversarial Defenses in Malware Detection

31Shell, PythonFeb 1, 202510 months agoGPL-3.0
adversarial-attacksandroidevaluationmalware-detectionrobustness

Similar Papers

Cite this paper

@article{jafari2025evaluating,
  title  = {Evaluating the robustness of adversarial defenses in malware detection systems},
  author = {Mostafa Jafari and Alireza Shameli-Sendi},
  year   = {2025},
  eprint = {2505.09342},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.09342v2}
}

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/2505.09342.svg)](https://codeofpaper.com/paper/2505.09342)

Discussion