Skip to main content
QUICK REVIEW

[Paper Review] Improving Robustness of ML Classifiers against Realizable Evasion Attacks Using Conserved Features

Liang Tong, Bo Li|arXiv (Cornell University)|Aug 28, 2017
Advanced Malware Detection TechniquesComputer Science40 references19 citations
TL;DR

This paper proposes enhancing machine learning classifier robustness against realizable evasion attacks in PDF malware detection by identifying and enforcing conserved features—features that cannot be altered without breaking malicious functionality. By integrating these features into adversarial training, the method achieves strong generalization across diverse realizable attacks, outperforming attack-specific defenses and proving effective even for structure-based detectors where prior feature-space methods failed.

ABSTRACT

Machine learning (ML) techniques are increasingly common in security applications, such as malware and intrusion detection. However, ML models are often susceptible to evasion attacks, in which an adversary makes changes to the input (such as malware) in order to avoid being detected. A conventional approach to evaluate ML robustness to such attacks, as well as to design robust ML, is by considering simplified feature-space models of attacks, where the attacker changes ML features directly to effect evasion, while minimizing or constraining the magnitude of this change. We investigate the effectiveness of this approach to designing robust ML in the face of attacks that can be realized in actual malware (realizable attacks). We demonstrate that in the context of structure-based PDF malware detection, such techniques appear to have limited effectiveness, but they are effective with content-based detectors. In either case, we show that augmenting the feature space models with conserved features (those that cannot be unilaterally modified without compromising malicious functionality) significantly improves performance. Finally, we show that feature space models enable generalized robustness when faced with a variety of realizable attacks, as compared to classifiers which are tuned to be robust to a specific realizable attack.

Motivation & Objective

  • To evaluate the effectiveness of feature-space adversarial training in defending against realizable evasion attacks in PDF malware detection.
  • To identify conserved features—features that cannot be modified without compromising malicious functionality—using a novel algorithmic approach.
  • To demonstrate that enforcing conserved features in adversarial training significantly improves robustness, especially for structure-based detectors where traditional methods fail.
  • To investigate whether robustness achieved via feature-space models generalizes across multiple distinct realizable attacks.
  • To show that conserved feature-based defenses remain effective even against attacks designed to subvert them.

Proposed method

  • Propose a Forward Elimination algorithm to compute a uniform conserved feature set across multiple malicious PDF seeds by evaluating feature consistency and dependency across files.
  • Identify conserved features by analyzing structural paths in PDFs: if removing a path breaks malicious functionality, it is deemed conserved.
  • Apply the conserved feature set to multiple classifiers (SL2013, Hidost, PDFRate-B) by transforming or mapping features accordingly.
  • Integrate conserved features into adversarial training by constraining them to remain unchanged during perturbation, preserving malicious intent.
  • Use a parameterized threshold β (set to 3) to balance feature selection, favoring features consistently conserved across seeds.
  • Leverage binary features to detect conserved features in content-based detectors like PDFRate-B by generating modified variants and observing feature value changes.

Experimental results

Research questions

  • RQ1Can feature-space adversarial training effectively defend against realizable evasion attacks in PDF malware detection?
  • RQ2Why do feature-space methods fail for structure-based detectors like SL2013 and Hidost, despite success in content-based detection?
  • RQ3How can conserved features—those essential to malicious functionality—be automatically identified and exploited to improve robustness?
  • RQ4Does robustness derived from feature-space models with conserved features generalize across multiple distinct realizable attacks?
  • RQ5Can conserved feature-based defenses remain robust even when faced with attacks specifically designed to bypass them?

Key findings

  • Adversarial retraining using feature-space models fails to provide adequate robustness for structure-based PDF malware detectors like SL2013 and Hidost, despite success in content-based detection.
  • In contrast, adversarial retraining with conserved features achieves strong robustness for structure-based detectors, demonstrating the method's effectiveness where standard approaches fail.
  • The proposed method of enforcing conserved features during adversarial training generalizes well: models hardened via feature-space attacks remain robust across multiple distinct realizable attacks.
  • Even when realizable attacks are designed to subvert conserved features, models trained with conserved features maintain high robustness, indicating resilience to sophisticated evasion strategies.
  • Sparse models using l1 regularization show minimal overlap with conserved features—only 3 of 12 conserved features in SL2013 and 1 in PDFRate-B were selected—highlighting the limitations of standard sparsity methods in identifying critical features.
  • The uniform conserved feature set was computed using β=3, balancing consistency across seeds and ensuring preservation of malicious functionality.

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.