journal article·2023-02-05Open access

SFCWGAN-BiTCN with Sequential Features for Malware Detection

Bona Xuan, Jin Li, Yafei Song

Applied Sciences· Volume 13· Issue 4

Abstract

In the field of adversarial attacks, the generative adversarial network (GAN) has shown better performance. There have been few studies applying it to malware sample supplementation, due to the complexity of handling discrete data. More importantly, unbalanced malware family samples interfere with the analytical power of malware detection models and mislead malware classification. To address the problem of the impact of malware family imbalance on accuracy, a selection feature conditional Wasserstein generative adversarial network (SFCWGAN) and bidirectional temporal convolutional network (BiTCN) are proposed. First, we extract the features of malware Opcode and API sequences and use Word2Vec to represent features, emphasizing the semantic logic between API tuning and Opcode calling sequences. Second, the Spearman correlation coefficient and the whale optimization algorithm extreme gradient boosting (WOA-XGBoost) algorithm are combined to select features, filter out invalid features, and simplify structure. Finally, we propose a GAN-based sequence feature generation algorithm. Samples were generated using the conditional Wasserstein generative adversarial network (CWGAN) on the imbalanced malware family dataset, added to the trainset to supplement the samples, and trained on BiTCN. In comparison, in tests on the Kaggle and DataCon datasets, the model achieved detection accuracies of 99.56% and 96.93%, respectively, which were 0.18% and 2.98% higher than the models of other methods.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Advanced Malware Detection Techniques · Anomaly Detection Techniques and Applications · Digital Media Forensic Detection

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

College of Air and Missile Defense, Air Force Engineering University, Xi’an 710051, China

Funding

National Science Foundation of China · National Science Foundation of Shaanxi Provence · Young Talent fund of University and Association for Science and Technology · Innovation Capability Support Plan of Shaanxi, China

References (46)

Show source-provided references
1. Kim, S., Hong, S., and Oh, J. (2018, January 25–28). Obfuscated VBA macro detection using machine learning. Proceedings of the 2018 48th Annual IEEE/IFIP International Conference on Dependable Systems and Networks (DSN), Luxembourg.10.1109/DSN.2018.00057 ↗
2. Deep and broad URL feature mining for android malware detection10.1016/j.ins.2019.11.008 ↗
3. Adversarial exemples: A survey and experimental evaluation of practical attacks on machine learning for windows malware detection10.1145/3473039 ↗
4. Arms race in adversarial malware detection: A survey10.1145/3379443 ↗
5. Using LSI to detect unknown malicious VBA macros
6. Using fake text vectors to improve the sensitivity of minority class for macro malware detection
7. SMOTE: Synthetic minority over-sampling technique10.1613/jair.953 ↗
8. Bunkhumpornpa, C., Sinapiromsaran, K., and Lursinsap, C. (2009, January 27–30). Safe-level-smote: Safe-level-synthetic minority over-sampling technique for handling the class imbalanced problem. Proceedings of the Pacific-Asia Conference on Knowledge Discovery and Data Mining, Bangkok, Thailand.10.1007/978-3-642-01307-2_43 ↗
9. Multi-view learning-based data proliferator for boosting classification using highly imbalanced classes10.1016/j.jneumeth.2019.108344 ↗
10. Hellinger distance-based stable sparse feature selection for high-dimensional class-imbalanced data10.1186/s12859-020-3411-3 ↗
11. Detection of malicious code variants based on deep learning10.1109/TII.2018.2822680 ↗
12. Generative adversarial networks10.1145/3422622 ↗
13. Kim, J.Y., Bu, S.J., and Cho, S.B. (2017, January 4–9). Malware detection using deep transferred generative adversarial networks. Proceedings of the 2017 International Conference on Neural Information Processing, Long Beach, CA, USA.10.1007/978-3-319-70087-8_58 ↗
14. Zero-day malware detection using transferred generative adversarial networks based on deep autoencoders10.1016/j.ins.2018.04.092 ↗
15. Malware detection method based on image analysis and generative adversarial networks10.1002/cpe.7170 ↗
16. Suciu, O., Coull, S.E., and Johns, J. (2019, January 19–23). Exploring adversarial examples in malware detection. Proceedings of the 2019 IEEE Security and Privacy Workshops (SPW), San Francisco, CA, USA.10.1109/SPW.2019.00015 ↗
17. Generating adversarial malware examples for black-box attacks based on GAN
18. DroidGAN: Android adver sarial sample generation framework based on DCGAN
19. Rosenberg, I., Shabtai, A., and Rokach, L. (2018, January 10–12). Generic black-box end-to-end attack against state of the art API call based malware classifiers. Proceedings of the 2018 International Symposium on Research in Attacks, Intrusions, and Defenses, Crete, Greece.10.1007/978-3-030-00470-5_23 ↗
20. Recurrent neural network for detecting malware10.1016/j.cose.2020.102037 ↗
21. HYDRA: A multimodal deep learning framework for malware classification10.1016/j.cose.2020.101873 ↗
22. Yu, L., Zhang, W., and Wang, J. (2017, January 4–9). Seqgan: Sequence generative adversarial nets with policy gradient. Proceedings of the AAAI Conference on Artificial Intelligence, San Francisco, CA, USA.10.1609/aaai.v31i1.10804 ↗
23. Liao, D., Huang, S., and Tan, Y. (2020, January 21–23). Network intrusion detection method based on gan model. Proceedings of the 2020 International Conference on Computer Communication and Network Security (CCNS), Xi’an, China.10.1109/CCNS50731.2020.00041 ↗
24. IGAN-IDS: An imbalanced generative adversarial network towards intrusion detection system in ad-hoc networks10.1016/j.adhoc.2020.102177 ↗
25. Solis, D., and Vicens, R. (2017, January 25–27). Convolutional neural networks for classification of malware assembly code. Proceedings of the 20th International Conference of the Catalan Association for Artificial Intelligence, Terres de L’Ebre, Spain.
26. McLaughlin, N., Martinez del Rincon, J., and Kang, B.J. (2017, January 22–24). Deep android malware detection. Proceedings of the Seventh ACM on Conference on Data and Application Security and Privacy, Scottsdale, AZ, USA.10.1145/3029806.3029823 ↗
27. An improved ensemble based intrusion detection technique using XGBoost10.1002/ett.4076 ↗
28. Anomaly detection using XGBoost ensemble of deep neural network models
29. The whale optimization algorithm10.1016/j.advengsoft.2016.01.008 ↗
30. Qiu, Y., Zhou, J., and Khandelwal, M. (2021). Performance evaluation of hybrid WOA-XGBoost, GWO-XGBoost and BO-XGBoost models to predict blast-induced ground vibration. Eng. Comput., 1–18.10.1007/s00366-021-01393-9 ↗
31. Multi-verse optimizer: A nature-inspired algorithm for global optimization10.1007/s00521-015-1870-7 ↗
32. Optimal feature selection for machine learning based intrusion detection system by exploiting attribute dependence10.1016/j.matpr.2021.04.643 ↗
33. Microsoft Malware Classification Challenge 2018
34. Qi An Xin Technology Research Institute (2021, November 11). DataCon: Multidomain Large-Scale Competition Open Data for Security Research. (In Chinese).
35. Han, H., Wang, W.Y., and Mao, B.H. (2005, January 23–26). Borderline-SMOTE: A new over-sampling method in imbalanced data sets learning. Proceedings of the International Conference on Intelligent Computing, Hefei, China.10.1007/11538059_91 ↗
36. Mease, D., Wyner, A.J., and Buja, A. (2007). Boosted classification trees and class probability/quantile estimation. J. Mach. Learn. Res., 8.
37. He, H., Bai, Y., and Garcia, E.A. (2008, January 1–6). ADASYN: Adaptive synthetic sampling approach for imbalanced learning. Proceedings of the 2008 IEEE International Joint Conference on Neural Networks (IEEE World Congress on Computational Intelligence), Hong Kong, China.
38. Yu, Y., Tang, B., and Lin, R. (2019, January 6–8). CWGAN: Conditional wasserstein generative adversarial nets for fault data generation. Proceedings of the 2019 IEEE International Conference on Robotics and Biomimetics (ROBIO), Dali, China.10.1109/ROBIO49542.2019.8961501 ↗
39. A CNN-BiLSTM-AM method for stock price prediction10.1007/s00521-020-05532-z ↗
40. A BiGRU method for remaining useful life prediction of machinery10.1016/j.measurement.2020.108277 ↗
41. Gibert, D., Mateu, C., and Planes, J. (2020, January 19–24). Orthrus: A Bimodal Learning Architecture for Malware Classification. Proceedings of the 2020 International Joint Conference on Neural Networks (IJCNN), Glasgow, UK.10.1109/IJCNN48605.2020.9206671 ↗
42. Detecting malware with an ensemble method based on deep neural network10.1155/2018/7247095 ↗
43. Data augmentation and transfer learning to classify malware images in a deep learning context10.1007/s11416-021-00381-3 ↗
44. Visualization and deep-learning-based malware variant detection using OpCode-level features10.1016/j.future.2021.06.032 ↗
45. Lin, W.C., and Yeh, Y.R. (2022). Efficient Malware Classification by Binary Sequences with One-Dimensional Convolutional Neural Networks. Mathematics, 10.10.3390/math10040608 ↗
46. CruParamer: Learning on Parameter-Augmented API Sequences for Malware Detection10.1109/TIFS.2022.3152360 ↗