Analysis and Detection of DDoS Attacks Using Machine Learning Techniques

  • Saman Sarraf The Institute of Electrical and Electronics Engineers, Senior Member IEEE
Keywords: Attack Prediction, DDoS, Machine Learning

Abstract

Over the past years, distributed denial-of-service (DDoS) attacks on Internet services and websites have dramatically increased. Several research teams designed defensive methodologies to handle the DDoS attacks. Using machine learning-based solutions have enabled researchers to detect DDoS attacks with complex and dynamic patterns. In this work, a subset of the CICIDS2017 dataset, including 200K samples and 84 features, was used to analyze the features and build models. A correlation analysis, as well as a tree-based feature importance exploration, were performed in the feature engineering step. Next, decision tree and support vector machine models were trained and tested to classify DDoS and Benign attacks. The results revealed that “Flow ID,” “SYN Flag Cnt,” and “Dst IP” had the most impact on attack detection. Also, the machine learning models classified the DDoS attacks, where the accuracy rates of close to 100% were achieved. The decision tree models showed slightly better performance than linear support vector machines. The results in this work highly matched the outcome of the original paper, which was to replicate.

References

Komar, M., et al. Deep Neural Network for Detection of Cyber Attacks. in 2018 IEEE First International Conference on System Analysis & Intelligent Computing (SAIC). 2018. IEEE.

Sarraf, S., 5G Emerging Technology and Affected Industries: Quick Survey. American Scientific Research Journal for Engineering, Technology, and Sciences (ASRJETS), 2019. 55(1): p. 75-82.

Stone-Gross, B., et al. Your botnet is my botnet: analysis of a botnet takeover. in Proceedings of the 16th ACM conference on Computer and communications security. 2009. ACM.

Lau, F., et al. Distributed denial of service attacks. in Smc 2000 conference proceedings. 2000 ieee international conference on systems, man and cybernetics.'cybernetics evolving to systems, humans, organizations, and their complex interactions'(cat. no. 0. 2000. IEEE.

Nazario, J., Politically motivated denial of service attacks. The Virtual Battlefield: Perspectives on Cyber Warfare, 2009(s 165).

Weiss, J., DDoS Detection Using Deep Neural Networks on Packet Flows. 2019.

Holl, P., Exploring DDoS defense mechanisms. Network, 2015. 25.

M Devendra Prasad, P.B.V., C Amarnath, Machine Learning DDoS Detection Using Stochastic Gradient Boosting. International Journal of Computer Sciences and Engineering, 2019. 7(4): p. 157-16.

Sugumaran, V., V. Muralidharan, and K. Ramachandran, Feature selection using decision tree and classification through proximal support vector machine for fault diagnostics of roller bearing. Mechanical systems and signal processing, 2007. 21(2): p. 930-942.

Rokach, L. and O.Z. Maimon, Data mining with decision trees: theory and applications. Vol. 69. 2008: World scientific.

Suykens, J.A. and J. Vandewalle, Least squares support vector machine classifiers. Neural processing letters, 1999. 9(3): p. 293-300.

Sarraf, S., et al., MCADNNet: Recognizing Stages of Cognitive Impairment Through Efficient Convolutional fMRI and MRI Neural Network Topology Models. IEEE Access, 2019. 7: p. 155584-155600.

Published
2020-03-17
Section
Articles