Skip to main content
QUICK REVIEW

[Paper Review] Realizable Universal Adversarial Perturbations for Malware

Raphael Labaca-Castro, Luis Muñoz-González|arXiv (Cornell University)|Feb 12, 2021
Advanced Malware Detection TechniquesComputer Science6 citations
TL;DR

This paper proposes a novel method to generate realizable universal adversarial perturbations (UAPs) for malware by applying problem-space transformations that preserve malicious functionality while evading ML-based malware detectors. It demonstrates that UAPs are highly effective across Android and Windows malware, achieving ~20% evasion in white-box attacks with minimal impact on clean malware detection, and introduces a problem-space-aware adversarial training defense that significantly reduces the cost of hardening models against such attacks.

ABSTRACT

Machine learning classifiers are vulnerable to adversarial examples -- input-specific perturbations that manipulate models' output. Universal Adversarial Perturbations (UAPs), which identify noisy patterns that generalize across the input space, allow the attacker to greatly scale up the generation of such examples. Although UAPs have been explored in application domains beyond computer vision, little is known about their properties and implications in the specific context of realizable attacks, such as malware, where attackers must satisfy challenging problem-space constraints. In this paper we explore the challenges and strengths of UAPs in the context of malware classification. We generate sequences of problem-space transformations that induce UAPs in the corresponding feature-space embedding and evaluate their effectiveness across different malware domains. Additionally, we propose adversarial training-based mitigations using knowledge derived from the problem-space transformations, and compare against alternative feature-space defenses. Our experiments limit the effectiveness of a white box Android evasion attack to ~20% at the cost of ~3% TPR at 1% FPR. We additionally show how our method can be adapted to more restrictive domains such as Windows malware. We observe that while adversarial training in the feature space must deal with large and often unconstrained regions, UAPs in the problem space identify specific vulnerabilities that allow us to harden a classifier more effectively, shifting the challenges and associated cost of identifying new universal adversarial transformations back to the attacker.

Motivation & Objective

  • To investigate the feasibility and effectiveness of universal adversarial perturbations (UAPs) in the problem space of real malware, where perturbations must preserve functionality and plausibility.
  • To develop a greedy algorithm that generates short sequences of problem-space transformations to induce UAPs in feature space, enabling scalable evasion of ML-based malware detectors.
  • To evaluate the robustness of linear and nonlinear classifiers (e.g., LR, SVM, DNN, LightGBM) to UAP attacks across Android and Windows malware datasets.
  • To propose and validate a novel adversarial training defense using problem-space-induced UAPs, reducing the need for extensive adversarial example generation.
  • To shift the attack cost back to adversaries by hardening models against known transformation toolkits, making large-scale evasion less feasible.

Proposed method

  • A greedy algorithm is used to identify short sequences of problem-space transformations (e.g., code obfuscation, API reordering) that induce UAPs in the feature-space embedding of malware.
  • The method maps these transformations to feature-space perturbations that generalize across multiple malware samples, enabling universal evasion.
  • Adversarial training is performed using perturbed malware samples generated via the problem-space transformation pipeline, rather than feature-space noise.
  • The defense is evaluated by measuring the drop in true positive rate (TPR) at 1% false positive rate (FPR), ensuring minimal impact on clean malware detection.
  • The approach is validated on both Android (e.g., DREBIN, MaMaDroid) and Windows malware datasets using diverse classifiers, including DNNs and LightGBM.
  • Transferability of UAPs is analyzed across models, with results indicating similar susceptibility across different architectures.

Experimental results

Research questions

  • RQ1Can universal adversarial perturbations be effectively generated and applied in the problem space of real malware while preserving malicious functionality?
  • RQ2How does the effectiveness of UAPs compare to input-specific attacks in the feature space for malware classification models?
  • RQ3To what extent can adversarial training based on problem-space UAPs improve model robustness compared to feature-space adversarial training?
  • RQ4How does the proposed defense reduce the number of evasive samples required for adversarial training, and what is its impact on clean malware detection?
  • RQ5Can the proposed methodology be generalized to different malware families and operating systems, such as Android and Windows?

Key findings

  • UAPs in the feature space achieve evasion rates comparable to input-specific attacks, demonstrating systemic vulnerabilities in ML-based malware detectors.
  • The proposed greedy transformation pipeline successfully generates functional adversarial malware that evades detection with high probability across diverse malware families.
  • White-box evasion attacks achieve ~20% evasion rate at the cost of only ~3% TPR drop at 1% FPR, indicating strong attack efficacy with minimal detection cost.
  • Adversarial training using problem-space-induced UAPs is more effective than feature-space adversarial training in defending against realizable UAP attacks.
  • Nonlinear models like DNNs and LightGBM show greater robustness to problem-space UAPs compared to linear models such as Logistic Regression and SVM.
  • The defense shifts the burden back to attackers by hardening models against known transformation toolkits, increasing the cost of crafting new evasion techniques.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.