International Journal of Research and Scientific Innovation (IJRSI)
Comparative Analysis of Some Machine Learning Algorithms for the Classification of Ransomware
Published September 2, 2025 • Vol. 12, Issue 8, pp. 535–548Open Access
DOI: 10.51244/IJRSI.2025.120800045
Abstract
Ransomware is a serious cybersecurity threat, encrypting data and demanding payment for its release. This study compares six machine learning algorithms, these are Random Forest (RF), Decision Tree (DT), Neural Network (NN), Support Vector Machine (SVM), K-Nearest Neighbors (KNN), and Naive Bayes (NB) for ransomware classification. A GitHub sourced dataset was preprocessed using standard techniques, and feature selection was done using correlation analysis, mutual information, and recursive feature elimination. Models were trained and evaluated using Python’s scikit-learn library, assessed on accuracy, precision, recall, F1-score, and ROC-AUC. RF achieved the best performance with 99.98% accuracy and 99.99% ROC-AUC, followed closely by DT and NN. NB performed poorly across most metrics. Results indicate RF as the most effective model for ransomware detection. These findings support the development of intelligent threat detection systems for cybersecurity platforms, cloud infrastructure, and endpoint protection.
Keywords: Comparative Performance, Ransomware, Machine Learning (ML), Random Forest (RF), Support Vector Machine (SVM), Decision Tree (DT), Feature Selection and Python scikit-learn.
| Journal | International Journal of Research and Scientific Innovation (IJRSI) |
|---|---|
| ISSN | 2321-2705 |
| Volume / Issue | Volume 12, Issue 8 |
| Pages | 535–548 |
| Publication date | September 2, 2025 |
| DOI | 10.51244/IJRSI.2025.120800045 |
| Publisher | RSIS International |
| License | Open Access |
How to cite this article
Adeniyi, Adedayo Omoniyi, Olabiyisi, Stephen Olatunde, Adepoju, Temilola Morufat, & Sanusi, Bashir Adewale (2025). Comparative Analysis of Some Machine Learning Algorithms for the Classification of Ransomware. International Journal of Research and Scientific Innovation (IJRSI), 12(8), 535-548. https://doi.org/10.51244/IJRSI.2025.120800045
BibTeX
@article{Adeniyi2025,
title = {Comparative Analysis of Some Machine Learning Algorithms for the Classification of Ransomware},
author = {Adeniyi, Adedayo Omoniyi and Olabiyisi, Stephen Olatunde and Adepoju, Temilola Morufat and Sanusi, Bashir Adewale},
journal = {International Journal of Research and Scientific Innovation (IJRSI)},
volume = {12},
number = {8},
pages = {535--548},
year = {2025},
doi = {10.51244/IJRSI.2025.120800045},
publisher = {RSIS International}
}