Skip to main content
QUICK REVIEW

[Paper Review] Adversarial Perturbations Against Deep Neural Networks for Malware Classification

Kathrin Grosse, Nicolas Papernot|arXiv (Cornell University)|Jun 14, 2016
Advanced Malware Detection TechniquesComputer Science15 references320 citations
TL;DR

The paper demonstrates adversarial crafting against neural networks for Android malware detection using static features, showing high misclassification rates even with discrete, function-preserving modifications, and evaluates defenses like distillation and adversarial retraining.

ABSTRACT

Deep neural networks, like many other machine learning models, have recently been shown to lack robustness against adversarially crafted inputs. These inputs are derived from regular inputs by minor yet carefully selected perturbations that deceive machine learning models into desired misclassifications. Existing work in this emerging field was largely specific to the domain of image classification, since the high-entropy of images can be conveniently manipulated without changing the images' overall visual appearance. Yet, it remains unclear how such attacks translate to more security-sensitive applications such as malware detection - which may pose significant challenges in sample generation and arguably grave consequences for failure. In this paper, we show how to construct highly-effective adversarial sample crafting attacks for neural networks used as malware classifiers. The application domain of malware classification introduces additional constraints in the adversarial sample crafting problem when compared to the computer vision domain: (i) continuous, differentiable input domains are replaced by discrete, often binary inputs; and (ii) the loose condition of leaving visual appearance unchanged is replaced by requiring equivalent functional behavior. We demonstrate the feasibility of these attacks on many different instances of malware classifiers that we trained using the DREBIN Android malware data set. We furthermore evaluate to which extent potential defensive mechanisms against adversarial crafting can be leveraged to the setting of malware classification. While feature reduction did not prove to have a positive impact, distillation and re-training on adversarially crafted samples show promising results.

Motivation & Objective

  • Motivate and study the robustness of neural networks used for malware classification under adversarial perturbations.
  • Adapt adversarial crafting techniques from images to discrete, binary malware features.
  • Evaluate how constraints specific to malware (discrete features, functionality preservation) affect attack feasibility.
  • Assess defense strategies (feature reduction, distillation, adversarial retraining) for malware classifiers.

Proposed method

  • Train multiple feed-forward neural networks on static, binary feature vectors extracted from Android apps using the DREBIN dataset.
  • Represent applications as high-dimensional binary indicator vectors X in {0,1}^M and use a softmax output for binary classification (benign vs. malware).
  • Craft adversarial samples by iteratively computing the forward derivative (Jacobian) to identify the feature addition that most increases the target class probability, while only adding features that do not affect functionality.
  • Constrain perturbations with an L1 norm bound corresponding to adding at most k features (k = 20) and only allow feature additions that do not interfere with existing features.
  • Limit perturbations to manifest-based modifications by adding features only via AndroidManifest.xml to preserve program behavior.
  • Evaluate misclassification rates of adversarial samples across network architectures and malware ratios in training batches.

Experimental results

Research questions

  • RQ1Can neural networks trained on static, binary Android app features achieve state-of-the-art malware detection performance on the DREBIN dataset?
  • RQ2Are neural networks robust to adversarial crafting when constrained to discrete, function-preserving feature additions in malware detection?
  • RQ3What is the effectiveness of defensive strategies (distillation, retraining on adversarial samples) in reducing adversarial susceptibility for malware classifiers?

Key findings

  • Neural networks achieve up to about 97–98% accuracy on DREBIN with low false negatives (≈7%) and false positives (≈3–4%).
  • Adversarial crafting can misclassify a substantial portion of malware samples, with misclassification rates ranging from around 50% to 84% depending on architecture and settings, under a 20-feature modification limit.
  • Feature reduction does not protect and may aid adversarial crafting in this discrete domain.
  • Distillation reduces misclassification rates but with only modest gains.
  • Retraining on adversarial samples improves resistance, though effectiveness depends on hyperparameter choices.

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.