Abstract
Malware detection remains a significant challenge in cybersecurity due to the increasing complexity of malicious software and the limitations of conventional detection approaches. Machine learning techniques offer promising solutions; however, their effectiveness depends substantially on the selection of relevant features and appropriate classification algorithms. This study presents a systematic comparative evaluation of four feature selection techniques Information Gain (IG), Chi Square (χ²), Analysis of Variance (ANOVA) and Recursive Feature Elimination (RFE) combined with five machine learning classifiers: Logistic Regression (LR), Random Forest (RF), Support Vector Machine (SVM), AdaBoost and Gaussian Naive Bayes (NB). Experiments were conducted using a publicly available malware detection dataset comprising 100,000 observations, 33 predictive features and 100 distinct hash groups. To minimize data leakage and ensure reliable performance estimation, five-fold stratified group cross-validation was employed, with preprocessing and feature selection performed independently within each training fold. Each feature selection technique was evaluated using subsets of 10 and 15 features, alongside a baseline incorporating all 33 features. The experimental framework comprised 45 configurations and 225 fold-level evaluations. Classification performance was assessed using accuracy, precision, recall, F1-score and ROC-AUC, with results reported as mean ± standard deviation. The findings demonstrated that the combination of IG with 15 selected features and Random Forest achieved the highest mean accuracy of 91.81% ± 2.22% and F1-score of 0.9158 ± 0.0250, outperforming the corresponding full-feature baseline. Meanwhile, ANOVA with 10 features and Random Forest achieved the highest mean ROC-AUC of 0.9762 ± 0.0223. The results indicate that the effectiveness of feature selection depends on both the classification algorithm and the number of selected features. Overall, the study demonstrates that appropriately combining feature selection techniques with machine learning classifiers can improve malware detection performance while reducing input dimensionality.
Keywords
References
31 references- Abdulkareem, N.M., Abdulazeez, A.M., 2021. Machine learning classification based on random forest algorithm: A review. International Journal of Science and Business, 5(2): 128-142.
- Akhtar, M.S., Feng, T., 2022. Malware analysis and detection using machine learning algorithms. Symmetry, 14(11): 2304.
- ALkahla, L., Hussein, M.K., Alqassab, A., 2024. Feature selection techniques in intrusion detection: A comprehensive review. Iraqi Journal for Computers and Informatics, 50(1): 46–53.
- Aslan, Ö., Aktuğ, S.S., Okay, M.O., Yilmaz, A.A., Akin, E., 2023. A Comprehensive review of cyber security vulnerabilities, threats, attacks and solutions. Electronics, 12(6): 1–42.
- Azeem, M., Khan, D., Iftikhar, S., Bawazeer, S., Alzahrani, M., 2024. Analyzing and comparing the effectiveness of malware detection: A study of machine learning approaches. Heliyon, 10(1): e23574.
- Azodinia, M., Mudabbir, M., Ardabili, S., Varkonyi-Koczy, A., Iskakov, K., Mosavi, A., 2025. Service life modeling of pavement with ensemble learning. 12th International Conference on Computational Cybernetics and Cyber-Medical Systems (ICCC), Conference Proceedings Book, 9-11 April, pp: 167–174, Seychelles.
- Baruah, S., Borah, D.J., Deka, V., 2024. Reviewing various feature selection techniques in machine learning-based botnet detection. Concurrency and Computation: Practice and Experience, 36(12): e8076.
- Bhuyean, M.A.M., 2025. Analysis of variance (ANOVA): A statistical review. Paripex Indian Journal of Research, 14(3): 69–70.
- Caviglione, L., Choraś, M., Corona, I., Janicki, A., Mazurczyk, W., Pawlicki, M., Wasielewska, K., 2021. Tight arms race: Overview of current malware threats and trends in their detection. IEEE Access, 9: 5371–5396.
- Dokeroglu, T., Deniz, A., Kiziloz, H.E., 2022. A comprehensive survey on recent metaheuristics for feature selection. Neurocomputing, 494: 269–296.
- Elkhail, A.A., Refat, R.U.D., Habre, R., Hafeez, A., Bacha, A., Malik, H., 2021. Vehicle security: A survey of security issues and vulnerabilities, malware attacks and defenses. IEEE Access, 9: 162401–162437.
- Kalaivani, P., Raj, V. Dinesh., Madhavan, R., Naveen Kumar, A.P., 2023. Fake review detection using NBian classifier. 2023 International Conference on Sustainable Computing and Smart Systems (ICSCSS), Conference Proceedings Book, 14-16 June, p:705-709, Hindusthan College of Engineering and Technology, Coimbatore, India.
- Kamal, R., Amin, E., AbdElminaam, D.S., Ismail, R., 2024. A comprehensive survey on meta-heuristic algorithms for feature selection in high-dimensional data: challenges, applications and future directions. 2024 International Mobile, Intelligent, and Ubiquitous Computing Conference (MIUCC), 13-14 November, p:84-90, Cairo, Egypt.
- Katiyar, D.N., Tripathi, M.S., Kumar, M.P., Verma, M.S., Sahu, D.A.K., Saxena, D.S., 2024. AI and cyber-security: Enhancing threat detection and response with machine learning. Educational Administration: Theory and Practice, 30(4): 6273–6282.
- Lyu, Y., Feng, Y., Sakurai, K., 2023. A survey on feature selection techniques based on filtering methods for cyber attack detection. Information, 14(3): 191.
- Maldonado, J., Riff, M.C., Neveu, B., 2022. A review of recent approaches on wrapper feature selection for intrusion detection. Expert Systems with Applications, 198: 116822.
- Manoharan, A., Sarker, M., 2022. Revolutionizing cybersecurity: unleashing the power of artificial intelligence and machine learning for next-generation threat detection. International Research Journal of Modernization in Engineering Technology and Science, 4(12): 2151–2164.
- McHugh, M.L., 2013. The chi-square test of independence. Biochemia-Medica, 23(2): 143–149.
- Miller, C.H., Sacchet, M.D., Gotlib, I.H., 2020. Support vector machines and affective science. Emotion Review, 12(4): 297–308.
- Nazman, E., Olmuş, H., 2020. Effects on Mantel-Haenszel chi-square statistic of scores in ordered two-way contingency tables. Bitlis Eren University Journal of Science, 9(3): 1060–1070.
- Pérez, J.A.M., Martín, P.S.P., 2024. Logistic regression. Medicina de Familia. Semergen, 50(1): 102086.
- Priyatno, A.M., Widiyaningtyas, T., 2024. A systematic literature review: Recursive feature elimination algorithms. Jurnal Ilmu Pengetahuan dan Teknologi Komputer, 9(2): 196–207.
- Qureshi, S.G., Shandilya, S.K., 2021. Advances in cyber security paradigm: A review. In: Abraham, A., Shandilya, S.K., Garcia-Hernandez, L., Varela, M.L. (Eds.), Hybrid Intelligent Systems. Advances in Intelligent Systems and Computing, Vol. 1179. Springer, Cham, pp. 268–276.
- Rahman, M.A., Islam, S., Nugroho, Y.S., Al Irsyadi, F.Y., Hossain, M.J., 2023. An exploratory analysis of feature selection for malware detection with simple machine learning algorithms. Journal of Communications Software and Systems, 19(3): 207–219.
- Rangaraju, S., 2023. AI sentry: Reinventing cybersecurity through intelligent threat detection. EPH-International Journal of Science and Engineering, 9(3): 30–35.
- Reddy, V.S.S., 2023. Cybersecurity threat prediction using machine learning. International Journal of Science and Research, 12(4): 1972–1976.
- Schmitt, M., 2023. Securing the digital world: protecting smart infrastructures and digital industries with artificial intelligence (AI)-enabled malware and intrusion detection. Journal of Industrial Information Integration, 36: 100520.
- Sholeh, M., Lestari, U., Andayati, D., 2024. Comparison of feature selection with information gain method in decision tree, regression logistic and random forest algorithms. Journal of Applied Business and Technology, 5(3): 146–153.
- Sreekumari, P., 2020. Malware detection techniques based on deep learning. In: 2020 IEEE 6th International Conference on Big Data Security on Cloud (BigDataSecurity), IEEE International Conference on High Performance and Smart Computing (HPSC), and IEEE International Conference on Intelligent Data and Security (IDS), 25–27 May, p: 65-70, Baltimore, Maryland, USA.
- Yuanming, L., Latih, R., 2024. A comprehensive review of machine learning approaches for detecting malicious software. International Journal on Advanced Science Engineering and Information Technology, 14(3): 826–834.
- Zhang, J., Cao, G., Peng, Q., Tan, R., Liu, W., Zhang, H., 2022. A systematic knowledge-based method for design of transformable product. Advanced Engineering Informatics, 52: 101638.
How to cite
APA
IEEE
MLA
Chicago
Harvard
Vancouver
BibTeX
RIS
Licence
May be shared and adapted with credit, for non-commercial purposes. Copyright © 2026 The copyright of the published article belongs to its author..