Machine Learning-Based Malware Detection: A Comparative Study of Random Forest, Decision Tree, KNN, and Linear SVM
American Journal of Agricultural Science, Engineering, and Technology · 10.08.2026 · 10 (2) · 35-39
DOI: 10.54536/ajaset.v10i2.8028 ↗Kurz gefasst
Fachartikel in der Zeitschrift American Journal of Agricultural Science, Engineering, and Technology, online erschienen am 10.08.2026. Verfasst von Umesh Balami und 2 weiteren Autor:innen.
Abstract (Originalsprache)
The growing prevalence of malware presents a critical threat to cybersecurity, causing substantial financial and operational damage to organizations worldwide. Traditional signature-based detection approaches are increasingly insufficient against polymorphic and zero-day threats. This paper presents a comprehensive comparative study of four machine learning (ML) algorithms — Random Forest (RF), Decision Tree (DT), K-Nearest Neighbor (KNN), and Linear Support Vector Machine (SVM) — for malware detection using static feature analysis on Portable Executable (PE) files. Experiments were conducted on a combined dataset derived from Drebin-215 and Malgenome-215 containing 18,830 instances with 208 features. A stratified 10-fold cross-validation with GridSearch CV hyperparameter tuning was employed. Evaluation metrics include accuracy, precision, recall, F1-score, and Area Under the ROC Curve (AUC). Results demonstrate that Random Forest achieves the highest performance with a test accuracy of 96.3%, F1-score of 0.947, and AUC of 0.993, outperforming all other classifiers and establishing it as the optimal algorithm for static malware detection tasks.
Zitieren
APA
Balami, U., Gautam, G., & Sharma, G. (2026). Machine Learning-Based Malware Detection: A Comparative Study of Random Forest, Decision Tree, KNN, and Linear SVM. American Journal of Agricultural Science, Engineering, and Technology, 10(2), 35-39. https://doi.org/10.54536/ajaset.v10i2.8028
Vancouver
Balami U, Gautam G, Sharma G. Machine Learning-Based Malware Detection: A Comparative Study of Random Forest, Decision Tree, KNN, and Linear SVM. American Journal of Agricultural Science, Engineering, and Technology. 2026;10(2):35-39. doi:10.54536/ajaset.v10i2.8028
BibTeX
@article{Balami2026,
author = {Balami, Umesh and Gautam, Ganesh and Sharma, Gajendra},
title = {Machine Learning-Based Malware Detection: A Comparative Study of Random Forest, Decision Tree, KNN, and Linear SVM},
journal = {American Journal of Agricultural Science, Engineering, and Technology},
year = {2026},
volume = {10},
number = {2},
pages = {35--39},
doi = {10.54536/ajaset.v10i2.8028}
}
EUVIMED