Skip to main content
QUICK REVIEW

[Paper Review] Efficient Black-box Optimization of Adversarial Windows Malware with Constrained Manipulations.

Luca Demetrio, Battista Biggio|arXiv (Cornell University)|Mar 30, 2020
Advanced Malware Detection TechniquesComputer Science8 citations
TL;DR

This paper proposes a black-box adversarial attack on Windows malware detectors that uses constrained, semantics-preserving code manipulations to bypass detection without requiring sandbox execution at each optimization step. The method formulates the attack as a constrained minimization problem, achieving evasion with few iterations and demonstrating transferability to commercial AVs, significantly reducing computational overhead while maintaining payload functionality.

ABSTRACT

Windows malware detectors based on machine learning are vulnerable to adversarial examples, even if the attacker is only given black-box access to the model. The main drawback of these attacks is that they require executing the adversarial malware sample in a sandbox at each iteration of its optimization process, to ensure that its intrusive functionality is preserved. In this paper, we present a novel black-box attack that leverages a set of semantics-preserving, constrained malware manipulations to overcome this computationally-demanding validation step. Our attack is formalized as a constrained minimization problem which also enables optimizing the trade-off between the probability of evading detection and the size of the injected adversarial payload. We investigate this trade-off empirically, on two popular static Windows malware detectors, and show that our black-box attack is able to bypass them with only few iterations and changes. We also evaluate whether our attack transfers to other commercial antivirus solutions, and surprisingly find that it can increase the probability of evading some of them. We conclude by discussing the limitations of our approach, and its possible future extensions to target malware classifiers based on dynamic analysis.

Motivation & Objective

  • Address the high computational cost of existing black-box adversarial attacks on malware, which require repeated sandbox execution to validate functionality.
  • Develop a method that preserves malware semantics while enabling efficient optimization of adversarial payloads.
  • Formalize the attack as a constrained minimization problem to balance evasion success and payload size.
  • Evaluate transferability of the attack to commercial antivirus solutions beyond the target detectors.
  • Demonstrate that effective evasion can be achieved with minimal iterations and changes, reducing reliance on resource-intensive validation.

Proposed method

  • Formulate the adversarial attack as a constrained minimization problem to optimize the trade-off between evasion probability and payload size.
  • Define a set of semantics-preserving, constrained manipulations (e.g., code reordering, benign instruction insertion) that maintain malware functionality.
  • Use these constrained transformations as the search space for black-box optimization, avoiding the need for sandbox execution at each step.
  • Apply iterative optimization over the constrained manipulation space to generate adversarial malware samples.
  • Leverage the structural properties of Windows PE binaries to ensure that modifications do not alter the malware's core behavior.
  • Validate the approach empirically on two static malware detectors and assess transferability to commercial AVs.

Experimental results

Research questions

  • RQ1Can adversarial malware be generated efficiently in a black-box setting without repeated sandbox execution?
  • RQ2To what extent can constrained, semantics-preserving code manipulations maintain malware functionality while evading detection?
  • RQ3How effective is the proposed method in balancing evasion success and payload size?
  • RQ4Does the attack transfer to commercial antivirus solutions not used during training or optimization?
  • RQ5What is the minimal number of iterations required to achieve reliable evasion with the proposed method?

Key findings

  • The proposed attack achieves evasion of two popular static Windows malware detectors with only a few iterations and minimal code modifications.
  • The method eliminates the need for sandbox execution at each optimization step, significantly reducing computational cost.
  • The attack demonstrates surprising transferability, increasing the evasion rate against certain commercial antivirus solutions.
  • The constrained manipulation space successfully preserves malware functionality while enabling effective adversarial perturbations.
  • The trade-off between evasion probability and payload size is effectively optimized through the constrained minimization formulation.
  • The approach shows strong practical feasibility for real-world adversarial attacks on malware detection systems.

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.