Static and Dynamic Malware Analysis Using CycleGAN Data Augmentation and Deep Learning Techniques
Open Access
- 8 September 2025
- journal article
- research article
- Published by MDPI AG in Applied Sciences
- Vol. 15 (17) , 9830
Abstract
The increasing sophistication of malware and the use of evasive techniques such as obfuscation pose significant challenges to traditional detection methods. This paper presents a deep convolutional neural network (CNN) framework that integrates static and dynamic analysis for malware classification using RGB image representations. Binary and memory dump files are transformed into images to capture structural and behavioural patterns often missed in raw formats. The proposed system comprises two tailored CNN architectures: a static model with four convolutional blocks designed for binary-derived images and a dynamic model with three blocks optimised for noisy memory dump data. To enhance generalisation, we employed Cycle-Consistent Generative Adversarial Networks (CycleGANs) for cross-domain image augmentation, expanding the dataset to over 74,000 RGB images sourced from benchmark repositories (MaleVis and Dumpware10). The static model achieved 99.45% accuracy and perfect recall, demonstrating high sensitivity with minimal false positives. The dynamic model achieved 99.21% accuracy. Experimental results demonstrate that the fused approach effectively detects malware variants by learning discriminative visual patterns from both structural and runtime perspectives. This research contributes to a scalable and robust solution for malware classification unlike a single approach.Keywords
This publication has 43 references indexed in Scilit:
- Transfer learning with dual-stage discrete wavelet transform for enhanced visual malware image compression and classificationThe Journal of Supercomputing, 2025
- IMCMK-CNN: A lightweight convolutional neural network with Multi-scale Kernels for Image-based Malware ClassificationAlexandria Engineering Journal, 2024
- RWArmor: a static-informed dynamic analysis approach for early detection of cryptographic windows ransomwareInternational Journal of Information Security, 2023
- A novel malware classification and augmentation model based on convolutional neural networkComputers & Security, 2022
- TorchIO: A Python library for efficient loading, preprocessing, augmentation and patch-based sampling of medical images in deep learningComputer Methods and Programs in Biomedicine, 2021
- Catch them alive: A malware detection approach through memory forensics, manifold learning and computer visionComputers & Security, 2021
- Deep Cybersecurity: A Comprehensive Overview from Neural Network and Deep Learning PerspectiveSN Computer Science, 2021
- On the Economic Impact of Crypto-ransomware Attacks: The State of the Art on Enterprise SystemsEuropean Journal for Security Research, 2019
- A survey on technical threat intelligence in the age of sophisticated cyber attacksComputers & Security, 2018
- Polymorphic malware detection and identification via context-free grammar homomorphismBell Labs Technical Journal, 2007