Malware detection using different supervised learning methods
Abstract
Malware that can threaten cyber security is now a problem that needs to be addressed. Malware detection has been significantly developed through the use of machine learning techniques. However, simple supervised learning is rarely used for malware detection. The goal of this paper is to compare the accuracy of different supervised learning models in malware detection. The experiment will load a dataset with malware and corresponding characteristics, train four models separately using a decision tree, logistic regression, and Naïve Bayes, and compare their train scores, test scores, and test time. The experimental result shows that the decision tree model has the best in malware detection, following the Logistic regression model and the Gaussian Naïve Bayes model which has similar scores. In contrast, the Multinomial Naïve Bayes model has lower scores. Moreover, the logistic regression model is significantly slower than other models. The results of the experiments reflect the different efficiency and accuracy of different supervised learning methods when used for malware detection. A possible reason for the differences between the methods is due to the complex dataset, and in conclusion, supervised learning could play a crucial role in cyber security.
References
- UKEssays. (November 2018). Machine Learning in Malware Detection. Retrieved from https://www.ukessays.com/essays/computer-science/machine-learning-malware-detection-9512.php?vref=1. Accessed 11September 2022.
- “Correction: Decision Tree Analysis.” Research Management, vol. 13, no. 3, 1970, pp. 181–181. JSTOR, http://www.jstor.org/stable/24115830. Accessed 11 Sep. 2022.
- Leo Breiman, Jerome H. Friedman, Charles J. Stone, and Richard A. Olshen. Clas-sification and Regression Trees. Wadsworth and Brooks, Monterey, CA, 1984.
- Friedman Hastie, Tibshirani. The Elements of Statistical Learning: Data Mining, Inference, and Prediction, second edition. Springer, 2009.
- Hand, David J., and Keming Yu. “Idiot’s Bayes: Not So Stupid after All?” International Statistical Review / Revue Internationale de Statistique, vol. 69, no. 3, 2001, pp. 385–98. JSTOR, https://doi.org/10.2307/1403452. Accessed 11 Sep. 2022.
- Russell, Stuart J, and Peter Norvig. Artificial Intelligence: A Modern Research. 2nd ed., 2003, p. 499.
- Altman, Douglas G., and J. Martin Bland. “The Normal Distribution.” BMJ: British Medical Journal, vol. 310, no. 6975, 1995, pp. 298–298. JSTOR, http://www.jstor.org/stable/29726236. Accessed 11 Sep. 2022.
- "Sklearn.Naive_Bayes.Multinomialnb". Scikit-Learn, 2022, https://scikit-learn.org/stable/modules/generated/sklearn.naive_bayes.MultinomialNB.html.
- Mahbod Tavallaee, Ebrahim Bagheri, Wei L, and Ali A. Ghorbani. A detailed anal- ysis of the KDD CUP 99 data set. 2009 IEEE Symposium on Computational Intelli- gence for Security and Defense Applications, 07 2009.
- LDhanabalandSPShantharajah. AStudyonNSL-KDDDatasetforIntrusionDetection System Based on Classification Algorithms. International Journal of Advanced Research in Computer and Communication Engineering, 4(6):446–452, 2015.