错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Feature Selection Using Particle Swarm Optimization and Ensemble-Based Machine Learning Models for Ransomware Detection

  • Neel Kumar Yadav Gurukala,
  • Deepak Kumar Verma

摘要

Ransomware attacks have become a major threat to organizations and individuals, as such an attack can cause significant financial loss and disruption to business operations. Traditional ransomware detection techniques, such as signature-based detection and heuristic-based detection, have proven to be inadequate in dealing with the constantly evolving ransomware variants. Machine learning (ML)-based detection methods have shown promise in detecting ransomware. These methods rely on the extraction of relevant features from the samples and the training of a classifier to distinguish between ransomware and benign samples samples. Due to the high dimensionality of the feature space, machine learning algorithms can be employed to identify a crucial subset of features which in turn enhances the detection accuracy. This research presents a novel approach that combines ensemble classifiers with feature selection using the Particle Swarm Optimization (PSO) algorithm. The objective is to improve the detection accuracy and reduce false positives and false negatives in classification tasks. Two separate ensemble models were constructed: one comprising Random Forest (RF) and Support Vector Machine (SVM) classifiers, and the other consisting of Decision Tree (DT) and K-Nearest Neighbours (KNN) classifiers. The PSO algorithm was employed to determine the optimal features and their corresponding weights for each ensemble classifier. Experiments were conducted to evaluate the performance of the proposed approach in terms of accuracy, precision, recall and F1 scores. The results demonstrated that integrating PSO for feature selection significantly improved the overall detection rate compared to using all features with equal weights. By identifying the most relevant features and assigning appropriate weights, the ensemble classifiers achieved higher accuracy and improved the overall classification performance. In one of the ensemble setups comprising the DT and KNN classification algorithms, using the PSO algorithm for feature selection achieved an accuracy rate of 98. 38%, while individually these algorithms only achieved 94.13% and 98.36%, respectively. When PSO was not used for feature selection, the similar setup achieved 98.05%, while the individual classifiers achieved 93.36% and 97.44%, respectively, proving the research.