Framework for the detection and classification of malware using machine learning
Authors:
- Funmilayo Jumoke Akinshola-AweFAFunmilayo Jumoke Akinshola-Awe
Open Access
- 25 October 2024
- journal article
- Published by African Journals Online (AJOL) in Dutse Journal of Pure and Applied Sciences
- Vol. 10 (3a) , 177-186
Abstract
Malware constitute a major threat to Network Infrastructure which are vulnerable to several devastating Malware attacks such as Virus and Ransomware. Traditional Antimalware software provides limited efficiency against Malware removal due to evolving evasion techniques capabilities of Malware such as polymorphism. Antimalware only removes Malware they have signatures for and are ineffective and helpless against zero day attack, several research works have made use of supervised and unsupervised learning algorithms to detect and classify Malware but False Positives prevails. This research made use of Machine Learning to detect and classify Malware by employing Machine Learning techniques including Feature Selection techniques as well as Grid Search hyperparameter optimization. Principal Component Analysis was combined with Chi Square to cure the curse of dimensionality. Support Vector Machine, K Nearest Neighbor and Decision Tree were used to train the model separately with two datasets. The research model was evaluated with Confusion Matrix, Precision, Recall and F1 Score. Accuracy of 99%,98.64% and 100% was achieved with K Nearest Neighbor, Decision Tree and Support Vector Machine respectively using CICMalmem dataset which has equal number of Malware and Benign files, K Nearest Neighbor achieved no False Positive. Accuracy of 97.7%,70% and 96% was achieved with K Nearest Neighbor, Decision Tree and Support Vector Machine respectively with Dataset_Malware.csv dataset, K Nearest Neighbor achieved False Positives of 38.The Model was trained separately with default hyperparameters of the chosen algorithms as well as the optimal hyperparameters obtained from Grid Search and it was discovered that optimizing hyperparameters and combining features obtained with Principal Component Analysis and Chi Square to train the Model using the dataset with equal number of Benign and Malicious files(CICMalmem dataset) yielded optimal performance with Support Vector Machine. Future works includes employing deep learning and ensemble learning as classifiers as well as implementing other hyperparameter optimization techniques.Keywords
This publication has 9 references indexed in Scilit:
- Immune-Based System to Enhance Malware Detection2023
- Supervised and Unsupervised Learning Techniques Utilizing Malware Datasets2023
- Effective One-Class Classifier Model for Memory Dump Malware DetectionJournal of Sensor and Actuator Networks, 2023
- Chi-Square and PCA Based Feature Selection for Diabetes Detection with Ensemble ClassifierIntelligent Automation and Soft Computing, 2023
- Tree-Based Classifier Ensembles for PE Malware Analysis: A Performance RevisitAlgorithms, 2022
- Malware Detection Using Memory Analysis Data in Big Data EnvironmentApplied Sciences, 2022
- A Supervised Machine Learning Algorithm for Detecting MalwareJournal of Internet Technology and Secured Transactions, 2022
- Parameter Optimization of Classification Techniques for PDF based Malware Detection2020
- A Comparative Analysis of Malware Anomaly Detection2020