Enhancing malware detection with feature selection and scaling techniques using machine learning models

R Rakibul Hasan B Barna Biswas M Md Samiun M Mohammad Abu Saleh M Mani Prabha J Jahanara Akter F Fatema Haque Joya M Masuk Abdullah

Abstract

Abstract The increasing prevalence of malware presents a critical challenge to cybersecurity, emphasizing the need for robust detection methods. This study uses a binary tabular classification dataset to evaluate the impact of feature selection, feature scaling, and machine learning (ML) models on malware detection. The methodology involves experimenting with three feature scaling techniques (no scaling, normalization, and min-max scaling), three feature selection methods (no selection, Linear Discriminant Analysis (LDA), and Principal Component Analysis (PCA)), and twelve ML models, including traditional algorithms and ensemble methods. A publicly available dataset with 11,598 samples and 139 features is utilized, and model performance is assessed using metrics such as accuracy, precision, recall, F1-score, and AUC-ROC. Results reveal that the Light Gradient Boosting Machine (LGBM) achieves the highest accuracy of 97.16% when PCA and either min-max scaling or normalization are applied. Additionally, ensemble models consistently outperform traditional ML models, demonstrating their effectiveness in enhancing malware detection. These findings offer valuable insights into optimizing preprocessing and model selection strategies for developing reliable and efficient malware detection systems.

Article Details

Volume / Issue Vol. 15, Issue 1
Published March 17, 2025
ISSN 2045-2322
Publisher Nature Portfolio

Journal Info

Scientific Reports

Nature Portfolio

ISSN: 2045-2322 Open Access Life Sciences

Authors (8)

R

Rakibul Hasan

B

Barna Biswas

M

Md Samiun

M

Mohammad Abu Saleh

M

Mani Prabha

J

Jahanara Akter

F

Fatema Haque Joya

M

Masuk Abdullah