Skip to main content
QUICK REVIEW

[Paper Review] FGAM:Fast Adversarial Malware Generation Method Based on Gradient Sign

Kun Li, Fan Zhang|arXiv (Cornell University)|May 22, 2023
Adversarial Robustness in Machine LearningComputer Science3 citations
TL;DR

FGAM proposes a fast adversarial malware generation method that uses iterative gradient sign-based perturbations on function-preserving byte manipulations to minimize injection perturbation while maximizing evasion success. It improves attack success rate by ~84% over prior methods by detecting and terminating oscillatory loss decay early, ensuring high stealth and transferability in byte-to-image malware detection models.

ABSTRACT

Malware detection models based on deep learning have been widely used, but recent research shows that deep learning models are vulnerable to adversarial attacks. Adversarial attacks are to deceive the deep learning model by generating adversarial samples. When adversarial attacks are performed on the malware detection model, the attacker will generate adversarial malware with the same malicious functions as the malware, and make the detection model classify it as benign software. Studying adversarial malware generation can help model designers improve the robustness of malware detection models. At present, in the work on adversarial malware generation for byte-to-image malware detection models, there are mainly problems such as large amount of injection perturbation and low generation efficiency. Therefore, this paper proposes FGAM (Fast Generate Adversarial Malware), a method for fast generating adversarial malware, which iterates perturbed bytes according to the gradient sign to enhance adversarial capability of the perturbed bytes until the adversarial malware is successfully generated. It is experimentally verified that the success rate of the adversarial malware deception model generated by FGAM is increased by about 84\% compared with existing methods.

Motivation & Objective

  • To address the low efficiency and high perturbation cost in existing adversarial malware generation for byte-to-image malware detection models.
  • To develop a method that maintains malware functionality while maximizing evasion of deep learning-based detection models.
  • To reduce perturbation injection size and improve generation speed through iterative gradient sign optimization.
  • To enhance transferability of adversarial malware across different detection models like MalConv and DenseNet121.
  • To analyze the trade-off between perturbation ratio and adversarial malware concealment using entropy analysis.

Proposed method

  • FGAM uses reverse gradient sign to iteratively update byte perturbations, enhancing adversarial capability with each step.
  • Functionality-preserving manipulations (e.g., padding, section injection) ensure generated malware remains executable and semantically identical to original.
  • The method applies a least squares-based detection to identify oscillation in malicious score decline, allowing early termination of unproductive iterations.
  • Perturbation injection is strategically placed—either near the PE file header or in the middle—to maximize transfer attack potential.
  • Entropy distribution analysis is used to quantify the upper limit of perturbation injection ratio and its impact on concealment.
  • Transfer attack experiments are conducted across different injection ratios, locations, and adversarial strengths to evaluate generalization.

Experimental results

Research questions

  • RQ1How can adversarial malware be generated with minimal perturbation while preserving functionality?
  • RQ2What is the optimal injection location in PE files to maximize transferability of adversarial malware?
  • RQ3How does the perturbation injection ratio affect the concealment and detectability of adversarial malware?
  • RQ4Can oscillation in loss decay be detected early to accelerate adversarial malware generation?
  • RQ5How does FGAM’s performance compare to random and baseline methods in terms of evasion success and transferability?

Key findings

  • FGAM increases adversarial malware evasion success rate by approximately 84% compared to existing methods.
  • When perturbation is injected near the PE file header, adversarial malware achieves a 93.8% transfer attack success rate on MalConv, compared to near 0% when injected at the end.
  • The perturbation injection ratio is constrained by entropy limits, indicating a trade-off between injection size and stealth.
  • Padding-based functionality-preserving manipulation is more efficient than section injection in generating adversarial malware.
  • Malware detection models like MalConv and DenseNet121 rely on different regions of the PE file for classification, suggesting potential for ensemble model integration.
  • The method successfully reduces unnecessary iterations by detecting oscillation in malicious score decline, improving generation speed.

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.