journal article·2023Open access

Clustering-Aided Supervised Malware Detection with Specialized Classifiers and Early Consensus

Murat Dener, Sercan Gulburun

Computers, Materials & Continua· Volume 75· Issue 1

Abstract

One of the most common types of threats to the digital world is malicious software. It is of great importance to detect and prevent existing and new malware before it damages information assets. Machine learning approaches are used effectively for this purpose. In this study, we present a model in which supervised and unsupervised learning algorithms are used together. Clustering is used to enhance the prediction performance of the supervised classifiers. The aim of the proposed model is to make predictions in the shortest possible time with high accuracy and f1 score. In the first stage of the model, the data are clustered with the k-means algorithm. In the second stage, the prediction is made with the combination of the classifier with the best prediction performance for the related cluster. While choosing the best classifiers for the given clusters, triple combinations of ten machine learning algorithms (kernel support vector machine, k-nearest neighbor, naïve Bayes, decision tree, random forest, extra gradient boosting, categorical boosting, adaptive boosting, extra trees, and gradient boosting) are used. The selected triple classifier combination is positioned in two stages. The prediction time of the model is improved by positioning the classifier with the slowest prediction time in the second stage. The selected triple classifier combination is positioned in two tiers. The prediction time of the model is improved by positioning the classifier with the highest prediction time in the second tier. It is seen that clustering before classification improves prediction performance, which is presented using Blue Hexagon Open Dataset for Malware Analysis (BODMAS), Elastic Malware Benchmark for Empowering Researchers (EMBER) 2018 and Kaggle malware detection datasets. The model has 99.74% accuracy and 99.77% f1 score for the BODMAS dataset, 99.04% accuracy and 98.63% f1 score for the Kaggle malware detection dataset, and 96.77% accuracy and 96.77% f1 score for the EMBER 2018 dataset. In addition, the tiered positioning of classifiers shortened the average prediction time by 76.13% for the BODMAS dataset and 95.95% for the EMBER 2018 dataset. The proposed method’s prediction performance is better than the rest of the studies in the literature in which BODMAS and EMBER 2018 datasets are used.
Source: openalex_inverted_index · Quality: baseline

Research context

OpenAlex topics: Advanced Malware Detection Techniques · Network Security and Intrusion Detection · Software Testing and Debugging Techniques

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

References (34)

Show source-provided references
1. Evolution of malware threats and techniques: A review
2. Individuals Using Internet. 2022. [Online]. Available: https://www.itu.int/en/ITU-D/Statistics/Pages/stat/default.aspx.
3. Information security governance challenges and critical success factors: Systematic review10.1016/j.cose.2020.102030 ↗
4. A survey on malware detection and classification10.1080/19361610.2020.1796162 ↗
5. AVTEST Malware Statistics. 2022. [Online]. Available: https://www.av-test.org/en/statistics/malware.
6. A survey on automated dynamic malware-analysis techniques and tools10.1145/2089125.2089126 ↗
7. A survey on malware detection technology and future trends
8. A state-of-the-art survey of malware detection approaches using data mining techniques10.1186/s13673-018-0125-x ↗
9. A survey on heuristic malware detection techniques
10. A survey on machine learning-based malware detection in executable files10.1016/j.sysarc.2020.101861 ↗
11. Comparative analysis of low-dimensional features and tree-based ensembles for malware detection systems10.1109/ACCESS.2020.2986014 ↗
12. Maljpeg: machine learning based solution for the detection of malicious jpeg images10.1109/ACCESS.2020.2969022 ↗
13. Detection of malicious software by analyzing the behavioral artifacts using machine learning algorithms10.1016/j.infsof.2020.106273 ↗
14. Improving malware detection using big data and ensemble learning10.1016/j.compeleceng.2020.106729 ↗
15. Malware detection using lightgbm with a custom logistic loss function10.1109/ACCESS.2022.3171912 ↗
16. Zero-day malware detection and effective malware analysis using shapley ensemble boosting and bagging approach10.3390/s22072798 ↗
17. Hybrid classification of android malware based on fuzzy clustering and gradient boosting machine10.1007/s00521-020-05450-0 ↗
18. Cendroid: A cluster-ensemble classifier for detecting malicious android applications10.1016/j.cose.2019.04.004 ↗
19. A novel solutions for malicious code detection and family clustering based on machine learning
20. Clustering-aided multi-view classification: A case study on android malware detection10.1007/s10844-020-00598-6 ↗
21. Analysis study of malware classification portable executable using hybrid machine learning
22. Q. Lu, “An investigation on self-attentive models for malware classification,” M.S. theses, University of Alberta, Canada, 2021.
23. Classifying sequences of extreme length with constant memory applied to malware detection
24. Malware analysis with artificial intelligence and a particular attention on results interpretability
25. Improved deep learning model for static pe files malware detection and classification10.5815/ijcnis.2022.02.02 ↗
26. Leveraging uncertanity for improved static malware detection under extreme false positive constraints
27. Effective malware detection using gradient boosting and convolutional neural network
28. Kaggle Malware Detection Dataset. 2022. [Online]. Available: https://www.kaggle.com/c/malware-detection.
29. Bodmas: An open dataset for learning based temporal analysis of pe malware
30. H. A. Anderson and P. Roth, “Ember: An open dataset for training static pe malware machine learning models,” Arxiv, 1804.04637v2, pp. 1–8, 2018.
31. EMBER 2018v2 Dataset. 2022. [Online]. Available: https://github.com/elastic/EMBER.
32. Google Colaboratory. 2022. [Online]. Available: https://colab.research.google.com.
33. Scikit-Learn. 2022. [Online]. Available: https://scikit-learn.org/stable/.
34. PeFile Library. 2022. [Online]. Available: https://github.com/erocarrera/pefile.