Static and Dynamic Malware Analysis Using CycleGAN Data Augmentation and Deep Learning Techniques
Source abstract
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.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Advanced Malware Detection Techniques · Digital Media Forensic Detection · Anomaly Detection Techniques and Applications
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Department of Cybersecurity and Networks, Glasgow Caledonian University, Glasgow G4 0BA, UK
School of Computer Science and Creative Technologies, University of West of England, Bristol BS16 1QY, UK
Department of Software Engineering, African University of Science and Technology, Abuja 900107, Nigeria
References (50)
Show source-provided references
1. A survey on technical threat intelligence in the age of sophisticated cyber attacks10.1016/j.cose.2017.09.001 ↗
2. On the economic impact of crypto-ransomware attacks: The state of the art on enterprise systems10.1007/s41125-019-00039-8 ↗
3. Economic perspective analysis of protecting big data security and privacy10.1016/j.future.2019.03.042 ↗
4. Seng, Y.J., Cen, T.Y., Raslan, M.A.H.B.M., Xin, L.Y., Kin, S.J., Long, M.S., and Sindiramutty, S.R. (2024). In-Depth Analysis and Countermeasures for Ransomware Attacks: Case Studies and Recommendations. Preprints, 2024082261.10.20944/preprints202408.2261.v1 ↗
5. Polymorphic malware detection and identification via context-free grammar homomorphism10.1002/bltj.20256 ↗
6. Ashawa, M., Owoh, N.P., Riley, J., Osamor, J., and Hosseinzadeh, S. (2024, January 1–2). An Exploration of shared code execution for malware analysis. Proceedings of the 2024 International Conference on Artificial Intelligence, Computer, Data Sciences and Applications (ACDSA), Mahé Island, Seychelles.10.1109/ACDSA59508.2024.10467679 ↗
7. Luhach, K., Arpad, J., Ramesh, K., Poonia, C., Gao, X.-Z., and Singh, D. (2025, May 31). Advances in Intelligent Systems and Computing 1045 First International Conference on Sustainable Technologies for Computational Intelligence Proceedings of ICTSCI 2019. Available online: http://www.springer.com/series/11156.10.1007/978-981-15-0029-9 ↗
8. Malware dynamic analysis evasion techniques: A survey10.1145/3365001 ↗
9. RWArmor: A static-informed dynamic analysis approach for early detection of cryptographic windows ransomware10.1007/s10207-023-00758-z ↗
10. Kim, J.-W., Namgung, J., Moon, Y.-S., and Choi, M.-J. (2025, May 23). Experimental Comparison of Machine Learning Models in Malware Packing Detection. Available online: www.virusshare.com.
11. Sakshi, J., Manoj, K., and Vivek, K. (2018, January 28–29). A retrospect on different side of captcha techniques. Proceedings of the 2018 International Conference on Advanced Computation & Telecommunication: ICACAT-2018, Bhopal, India.
12. Classification of malware based on integrated static and dynamic features10.1016/j.jnca.2012.10.004 ↗
13. A malware detection system using a hybrid approach of multi-heads attention-based control flow traces and image visualization10.1186/s13677-022-00349-8 ↗
14. Akhtar, M.S., and Feng, T. (2022). Malware Analysis and Detection Using Machine Learning Algorithms. Symmetry, 14.10.3390/sym14112304 ↗
15. Physics-based neural networks for the characterization and behavior assessment of construction materials10.1016/j.jobe.2025.111788 ↗
16. Systematic review of deep learning solutions for malware detection and forensic analysis in IoT10.1016/j.jksuci.2024.102164 ↗
17. A Survey on Adversarial Attacks for Malware Analysis10.1109/ACCESS.2024.3519524 ↗
18. Akhtar, M.S., and Feng, T. (2023). Evaluation of Machine Learning Algorithms for Malware Detection. Sensors, 23.10.3390/s23020946 ↗
19. A novel malware classification and augmentation model based on convolutional neural network10.1016/j.cose.2021.102515 ↗
20. Yu, Y., Cai, B., Aziz, K., Wang, X., Luo, J., Iqbal, M.S., Chakrabarti, P., and Chakrabarti, T. (2025). Semantic lossless encoded image representation for malware classification. Sci. Rep., 15.10.1038/s41598-025-88130-0 ↗
21. Gyamfi, N.K., Goranin, N., Ceponis, D., and Čenys, H.A. (2023). Automated System-Level Malware Detection Using Machine Learning: A Comprehensive Review. Appl. Sci., 13.10.3390/app132111908 ↗
22. Deep Cybersecurity: A Comprehensive Overview from Neural Network and Deep Learning Perspective10.1007/s42979-021-00535-6 ↗
23. Hyperspectral Image Classification-Traditional to Deep Models: A Survey for Future Prospects10.1109/JSTARS.2021.3133021 ↗
24. Technological and human factors of malware attacks: A computer security clinical trial approach10.1145/3210311 ↗
25. The rise of machine learning for detection and classification of malware: Research developments, trends and challenges10.1016/j.jnca.2019.102526 ↗
26. He, K., and Kim, D.S. (2019, January 5–8). Malware detection with malware images using deep learning techniques. Proceedings of the 2019 18th IEEE International Conference on Trust, Security and Privacy in Computing and Communications/13th IEEE International Conference on Big Data Science and Engineering, TrustCom/BigDataSE, Rotorua, New Zealand.10.1109/TrustCom/BigDataSE.2019.00022 ↗
27. Dharmalaksana, P.S., Mantoro, T., Khakim, L., and Nurseno, M. (2022, January 28–29). Improved Malware Detection Results using Visualization-Based Detection Techniques ant Convolutional Neural Network. Proceedings of the 2022 IEEE 8th International Conference on Computing, Engineering and Design, ICCED, Sukabumi, Indonesia.10.1109/ICCED56140.2022.10010439 ↗
28. IMCMK-CNN: A lightweight convolutional neural network with Multi-scale Kernels for Image-based Malware Classification10.1016/j.aej.2024.10.055 ↗
29. MalJPEG: Machine Learning Based Solution for the Detection of Malicious JPEG Images10.1109/ACCESS.2020.2969022 ↗
30. Azzaz, R., Jahazi, M., Kahou, S.E., and Moosavi-Khoonsari, E. (2025). Prediction of Final Phosphorus Content of Steel in a Scrap-Based Electric Arc Furnace Using Artificial Neural Networks. Metals, 15.10.3390/met15010062 ↗
31. Ersan, S.B., Murat, T., Ilker, A., and Ahmet, K. (2025, May 23). Dumpware10: A Dataset for Memory Dump Based Malware Image Recognition. Available online: https://web.cs.hacettepe.edu.tr/~selman/dumpware10/.
32. Bozkir, O.C.M.A.A.S. (2025, May 23). MaleVis: A Dataset for Vision Based Malware Recognition. Available online: https://web.cs.hacettepe.edu.tr/~selman/malevis/.
33. (2025, May 31). Ninite-Install or Update Multiple Apps at Once. Available online: https://ninite.com/.
34. (2025, May 31). WindowsRemix-Free software Installed with a Single Click. Available online: https://www.windowsremix.com/.
35. Vonblohn, K. (2021, January 25–28). Centralizing server and workstation provisioning, configuration, and management with foreman and puppet. Proceedings of the ACM SIGUCCS User Services Conference, Chicago, IL, USA.10.1145/3419944.3440727 ↗
36. Development of a deep stacked ensemble with process based volatile memory forensics for platform independent malware detection and classification10.1016/j.eswa.2023.119952 ↗
37. (2025, May 31). Microsoft, ProcDump v11.0. Available online: https://learn.microsoft.com/en-us/sysinternals/downloads/procdump.
38. (2025, June 02). Evan Sultanik, bin2png. Available online: https://www.sultanik.com/.
39. A CNN-based rescaling algorithm and performance analysis for spatial resolution enhancement of Landsat images10.1080/01431161.2021.2024911 ↗
40. Pérez-García, F., Sparks, R., and Ourselin, S. (2021). TorchIO: A Python library for efficient loading, preprocessing, augmentation and patch-based sampling of medical images in deep learning. Comput. Methods Programs Biomed., 208.10.1016/j.cmpb.2021.106236 ↗
41. Kanumalli, S.S., Dalavayi, N., Veernapu, V., Kota, P., and Katari, R.P. (2024, January 24–25). Enhanced Malware Detection using Convolutional Neural Network with Robust Ensemble Algorithm-”LIGHTGBM”. Proceedings of the 2nd International Conference on Intelligent and Innovative Technologies in Computing, Electrical and Electronics, ICIITCEE, Bengaluru, India.10.1109/IITCEE59897.2024.10467722 ↗
42. Data Augmentation based Malware Detection Using Convolutional Neural Networks10.7717/peerj-cs.346 ↗
43. Catch them alive: A malware detection approach through memory forensics, manifold learning and computer vision10.1016/j.cose.2020.102166 ↗
44. Transfer learning with dual-stage discrete wavelet transform for enhanced visual malware image compression and classification10.1007/s11227-025-07358-9 ↗
45. MRm-DLDet: A memory-resident malware detection framework based on memory forensics and deep neural network10.1186/s42400-023-00157-w ↗
46. Wang, Z., Yu, Q., and Yuan, S. (2024). Android Malware Detection Based on RGB Images and Multi-feature Fusion. arXiv.10.1117/12.3029105 ↗
47. Ashawa, M., Owoh, N., Hosseinzadeh, S., and Osamor, J. (2024). Enhanced image-based malware classification using transformer-based convolutional neural networks (CNNs). Electronics, 13.10.3390/electronics13204081 ↗
48. Du, Y., Gao, C., Chen, X., Cui, M., Xu, L., and Ning, A. (2025). Mobile malware detection method using improved GhostNetV2 with image enhancement technique. Sci. Rep., 15.10.1038/s41598-025-07742-8 ↗
49. MAD-ANET: Malware Detection Using Attention-Based Deep Neural Networks
50. Demirkan, E.E. (2025). Enhancing Malware Detection via RGB Assembly Visualization. Appl. Sci., 15.10.3390/app15137163 ↗