mlsanityData to 14 Oct 2026

Generating Synthetic Malware Samples Using Generative AI

arXiv 2604.22084 ↗First posted 23 Apr 2026cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

Malware attacks have a significant negative impact on organizations of varied scales in the field of cybersecurity. Recently, malware researchers have increasingly turned to machine learning techniques to combat sophisticated obfuscation methods used in malware. However, collecting a diverse set of malware samples with various obfuscation techniques is challenging and often takes years, especially for newly developed malware. This issue is further compounded by a well-known limitation of machine learning models: their poor performance when training data is scarce. In this paper, we propose a new system for generating synthetic malware samples to augment imbalanced malware dataset. Our approach decomposes malware binary samples into mnemonic opcode sequences, leveraging natural language processing to extract contextual meaning behind malware opcode features to aid the learning of generative AI (GenAI) employed in this paper, Generative Adversarial Networks (GAN), Wasserstein Generative Adversarial Networks with Gradient Penalty (WGAN-GP), and a modified Diffusion model. The experiment results show that augmenting training data with Diffusion-based synthetic data significantly improves classification performance for minor classes by up to 60% on average. This enhancement ultimately leads to an overall malware classification performance of 96%, an 8% improvement. These findings demonstrate the high quality and fidelity of the synthetic data, its robustness, and its potential applications in malware analysis. Specifically, synthetic malware data proves effective in improving the classification of minor malware classes and detection rates, even though the size of known malware data is significantly small.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 6 of its 32 references that are in the map. First posted on arXiv 23 Apr 2026.

Builds on

6 of 32 references.

References · 6

  1. 2020Denoising Diffusion Probabilistic Modelscited by 21,076
  2. 2022Generative Adversarial Networkscited by 5,627
  3. 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,375
  4. 2017Improved Training of Wasserstein GANscited by 2,235
  5. 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 1,003
  6. 2023A Natural Language Processing Approach to Malware Classificationcited by 4

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2026Building an Adversarial Malware Dataset by Family and Type: Generation, Evasion, and Poisoning Evaluation
  2. 2024Review of Generative AI Methods in Cybersecurity
  3. 2024Evading Deep Learning-Based Malware Detectors via Obfuscation: A Deep Reinforcement Learning Approach
  4. 2024Exploring the Landscape for Generative Sequence Models for Specialized Data Synthesis
  5. 2024Synthetic data: How could it be used for infectious disease research?
  6. 2021Catch Me If You GAN: Using Artificial Intelligence for Fake Log Generation
  7. 2026Large Language Models (LLMs) and Generative AI in Cybersecurity and Privacy: A Survey of Dual-Use Risks, AI-Generated Malware, Explainability, and Defensive Strategies
  8. 2025Data-Free Model-Related Attacks: Unleashing the Potential of Generative AI