[Paper Review] MalFox: Camouflaged Adversarial Malware Example Generation Based on Conv-GANs Against Black-Box Detectors
MalFox proposes a Conv-GAN-based framework that generates functionally indistinguishable adversarial malware examples to evade black-box malware detectors like VirusTotal. By applying customizable perturbation paths (Obfusmal, Stealmal, Hollowmal), it achieves 99.0% accuracy, reduces detection rates by 56.8% on average, and increases evasion rates by up to 56.2%.
Deep learning is a thriving field currently stuffed with many practical applications and active research topics. It allows computers to learn from experience and to understand the world in terms of a hierarchy of concepts, with each being defined through its relations to simpler concepts. Relying on the strong capabilities of deep learning, we propose a convolutional generative adversarial network-based (Conv-GAN) framework titled MalFox, targeting adversarial malware example generation against third-party black-box malware detectors. Motivated by the rival game between malware authors and malware detectors, MalFox adopts a confrontational approach to produce perturbation paths, with each formed by up to three methods (namely Obfusmal, Stealmal, and Hollowmal) to generate adversarial malware examples. To demonstrate the effectiveness of MalFox, we collect a large dataset consisting of both malware and benignware programs, and investigate the performance of MalFox in terms of accuracy, detection rate, and evasive rate of the generated adversarial malware examples. Our evaluation indicates that the accuracy can be as high as 99.0% which significantly outperforms the other 12 well-known learning models. Furthermore, the detection rate is dramatically decreased by 56.8% on average, and the average evasive rate is noticeably improved by up to 56.2%.
Motivation & Objective
- To develop a practical, black-box adversarial malware example generation framework that evades real-world antivirus engines without requiring model architecture or parameter knowledge.
- To address the challenge of modifying malware files in a way that preserves functionality while evading detection by multiple antivirus products.
- To enhance the evasive capability of malware through a flexible, multi-method perturbation pipeline integrated within a GAN framework.
- To evaluate the framework on a large-scale dataset of real malware and benignware, demonstrating effectiveness against practical detection systems like VirusTotal.
Proposed method
- MalFox employs a five-component architecture: PE Parser, Generator, PE Editor, Detector (using VirusTotal), and Discriminator, all integrated within a Conv-GAN framework.
- The Generator produces perturbation paths using malware features and Gaussian noise, aiming to mislead the Discriminator into classifying malware as benign.
- The Discriminator is trained to distinguish between real malware and generated adversarial examples, forming a minimax game that improves perturbation quality.
- The PE Editor applies the generated perturbation paths to original malware binaries, ensuring functional equivalence to the original while altering detectable features.
- The Detector labels adversarial examples using VirusTotal’s ensemble of antivirus engines, providing feedback to the Discriminator for iterative refinement.
- The framework supports arbitrary combinations of perturbation methods (Obfusmal, Stealmal, Hollowmal), enabling flexible and adaptive evasion strategies.
Experimental results
Research questions
- RQ1Can a GAN-based framework generate adversarial malware examples that are functionally equivalent to original malware but evade detection by black-box antivirus engines?
- RQ2How effective is MalFox in reducing detection rates and increasing evasion rates compared to existing adversarial malware generation methods?
- RQ3To what extent can MalFox generalize across diverse antivirus engines in VirusTotal, given their differing detection techniques?
- RQ4How does the integration of multiple perturbation methods (Obfusmal, Stealmal, Hollowmal) enhance the robustness and evasiveness of generated malware?
- RQ5What is the trade-off between adversarial example accuracy and evasion performance in real-world detection environments?
Key findings
- MalFox achieves a test accuracy of 99.01%, significantly outperforming all 12 baseline models, including both traditional machine learning and deep learning models.
- The average detection rate for malware drops from 68.8% to 29.7% after transformation by MalFox, representing a 56.8% relative reduction in detection.
- The average evasion rate of MalFox-generated adversarial malware examples reaches 56.2%, with a maximum of 74.6% across all VirusTotal scan engines.
- For individual malware samples, the detection rate reduction can reach as high as 61.0% in some cases, demonstrating strong transferability and evasion capability.
- The framework successfully evades detection across diverse antivirus engines in VirusTotal, which employ different detection techniques, confirming its robustness in real-world settings.
- The integration of multiple perturbation methods (Obfusmal, Stealmal, Hollowmal) enables MalFox to explore a broader search space for effective evasion paths, enhancing overall performance.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.