Skip to main content
QUICK REVIEW

[Paper Review] Intriguing Properties of Adversarial ML Attacks in the Problem Space [Extended Version]

Jacopo Cortellazzi, Feargus Pendlebury|arXiv (Cornell University)|Nov 5, 2019
Advanced Malware Detection TechniquesComputer Science5 citations
TL;DR

This paper introduces a formal framework for problem-space adversarial machine learning attacks, defining constraints for valid, robust, and semantically preserved perturbations in domains like Android malware. It proposes a novel, scalable attack using automated software transplantation that evades state-of-the-art malware classifiers in under two minutes per app, demonstrating the feasibility of 'adversarial malware as a service' at scale.

ABSTRACT

Recent research efforts on adversarial machine learning (ML) have investigated problem-space attacks, focusing on the generation of real evasive objects in domains where, unlike images, there is no clear inverse mapping to the feature space (e.g., software). However, the design, comparison, and real-world implications of problem-space attacks remain underexplored. This article makes three major contributions. Firstly, we propose a general formalization for adversarial ML evasion attacks in the problem-space, which includes the definition of a comprehensive set of constraints on available transformations, preserved semantics, absent artifacts, and plausibility. We shed light on the relationship between feature space and problem space, and we introduce the concept of side-effect features as the by-product of the inverse feature-mapping problem. This enables us to define and prove necessary and sufficient conditions for the existence of problem-space attacks. Secondly, building on our general formalization, we propose a novel problem-space attack on Android malware that overcomes past limitations in terms of semantics and artifacts. We have tested our approach on a dataset with 150K Android apps from 2016 and 2018 which show the practical feasibility of evading a state-of-the-art malware classifier along with its hardened version. Thirdly, we explore the effectiveness of adversarial training as a possible approach to enforce robustness against adversarial samples, evaluating its effectiveness on the considered machine learning models under different scenarios. Our results demonstrate that "adversarial-malware as a service" is a realistic threat, as we automatically generate thousands of realistic and inconspicuous adversarial applications at scale, where on average it takes only a few minutes to generate an adversarial instance.

Motivation & Objective

  • To formalize problem-space adversarial attacks with clear constraints on transformations, semantics, preprocessing robustness, and plausibility.
  • To identify and define necessary and sufficient conditions for the existence of such attacks using the concept of side-effect features.
  • To overcome limitations in prior malware attack methods—such as semantic violations, preprocessing fragility, and detectable artifacts—through a principled, scalable approach.
  • To demonstrate the practical feasibility of generating thousands of realistic, inconspicuous adversarial Android apps that evade hardened classifiers.
  • To responsibly release code and dataset to enable future research on defenses in the problem space.

Proposed method

  • Proposes a formalization of problem-space attacks with four key constraints: available transformations, preserved semantics, robustness to non-ML preprocessing, and plausibility of the output object.
  • Introduces the concept of side-effect features—unintended feature changes arising from problem-space transformations—to link feature space and problem space.
  • Defines necessary and sufficient conditions for the existence of problem-space attacks based on the interplay between feature perturbations and transformation feasibility.
  • Develops a novel attack on Android malware using automated software transplantation to generate semantically preserved, plausible, and robust adversarial variants.
  • Employs opaque predicates to preserve dynamic semantics and resists static program analysis, avoiding detectable artifacts like no-ops or IAT patching.
  • Validates the attack on a dataset of 170K Android apps (2017–2018), evaluating evasion against both standard and hardened versions of the DREBIN classifier.

Experimental results

Research questions

  • RQ1What formal constraints are necessary and sufficient to define a valid problem-space adversarial attack in real-world domains like malware?
  • RQ2How do side-effect features emerge from problem-space transformations, and what is their role in connecting feature space and problem space?
  • RQ3Why do existing problem-space attacks in malware—such as those relying on manifest modifications or IAT patching—fail to achieve robustness and scalability?
  • RQ4Can automated software transplantation be used to generate adversarial malware that preserves semantics, evades ML classifiers, and resists non-ML preprocessing?
  • RQ5To what extent can adversarial malware be generated at scale while remaining realistic and inconspicuous?

Key findings

  • The proposed formalization enables principled comparison of prior problem-space attacks and reveals their weaknesses in semantics preservation and preprocessing robustness.
  • Side-effect features are shown to be a critical by-product of inverse feature-mapping, and their analysis helps determine the feasibility of problem-space attacks.
  • The novel attack successfully evades both standard and hardened versions of the DREBIN malware classifier on a dataset of 170,000 Android apps.
  • On average, generating a single adversarial Android app takes less than two minutes, demonstrating high scalability and practical feasibility.
  • The attack is robust against static analysis and avoids detectable artifacts such as no-ops or IAT patching, unlike prior methods.
  • The authors responsibly release code and data to support future research on defenses in the problem space.

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.