Research Article

Methods for DDoS attacks classification

Yiting Gao1,*, Jiayi Li2, Xianghui Meng3
1. Tsinghua University High school International, Beijing, 100101, China
2. Guanggu School of No.1 Middle School Affiliated to CCNU, Wuhan, 430000, China
3. Grace academy, Cearfoss Pike, Hagerstown, 21740, USA

* Corresponding author: [email protected]

Abstract

At present, many people and companies are attacked by DDoS every day. DDoS attacks will make many large websites inoperable, which will not only affect people's normal use but also cause substantial economic losses. So far, many researchers have found different methods to prevent DDoS attacks, but there is no unified research on the classification of different types of DDoS attacks. If people are familiar with all common types of DDoS attacks and can successfully classify various DDoS attacks, they can take corresponding and effective precautionary measures to reduce risks and offer more protection for their own security. Therefore, the research topic is set to use four different algorithms to identify various DDoS attacks. The research methods of this paper are as follows: First, the CICDDOS2019 dataset is selected as the most basic research foundation. Second, the database is analyzed with K - nearest neighbors, Decision tree, Logistics Regression, and Naïve Bayes, then each method's accuracy and precision value are calculated. According to the results, the times that the highest accuracy and precision values of logistic expression are the most, and the times that the lowest accuracy and precision values of the decision tree are the most. Therefore, relative to K – nearest neighbors, Decision tree, and Naïve Bayes, the most effective way for people and companies is to classify the DDoS attacks by using Logistic Regression.

Keywords: DDoS classification; machine learning; K-nearest neighbors; decision tree; logistic regression.
Published: May 31, 2023
DOI: 10.54254/2755-2721/5/20230686
Volume: ACE Vol.5
pp. 736-743
Download PDF

References

  1. “Symptoms of a Ddos attack on a server_chenghuangsi2633’s blog -CSDN blog.” Blog.csdn.net, blog.csdn.net/chenghuangsi2633/article/details/101034236. Accessed 6 Oct. 2022.
  2. Heller, Martin. “Machine Learning Algorithms Explained.” InfoWorld, 9 May 2019, www.infoworld.com/article/3394399/machine-learning-algorithms-explained.html.
  3. S. Dong and M. Sarem, "DDoS Attack Detection Method Based on Improved KNN With the Degree of DDoS Attack in Software-Defined Networks," in IEEE Access, vol. 8, pp. 5039-5048, 2020, doi: 10.1109/ACCESS.2019.2963077.
  4. Dasari, K.B., Devarakonda, N. (2021). Detection of different DDoS attacks using machine learning classification algorithms. Ingénierie des Systèmes d’Information, Vol. 26, No. 5, pp. 461-468. https://https://doi.org/10.18280/isi.260505
  5. Sharafaldin I, Lashkari A H, Hakak S, et al. Developing Realistic Distributed Denial of Service (DDoS) Attack Dataset and Taxonomy[C]//2019 International Carnahan Conference on Security Technology (ICCST). IEEE, 2019: 1-8.
  6. Yan, D. Tang, S. Zhan, R. Dai, J. Chen and N. Zhu, "Low-Rate DoS Attack Detection Based on Improved Logistic Regression," 2019 IEEE 21st International Conference on High Performance Computing and Communications; IEEE 17th International Conference on Smart City; IEEE 5th International Conference on Data Science and Systems (HPCC/SmartCity/DSS), 2019, pp. 468-476, doi: 10.1109/HPCC/SmartCity/DSS.2019.00076.
  7. “How does a logistic regression algorithm work? Baidu knows.” Zhidao.baidu.com, zhidao.baidu.com/question/753167760030154412/answer/3658920465.html?fr=zywd.Accessed 24 Sept. 2022.
  8. “The principle of logistic regression is deduced in detail. BiKongZhiGe’s blog -CSDN blog_ principle of logistic regression” Blog . csdn.net, blog.csdn.net/qq_38923076/article/details/82925183. Accessed 24 Sept. 2022.
  9. “Machine learning:Naive Bayes(Naive Beyes)_Panghuaichunhui’s blog -CSDN’blog.” Blog.csdn.net,blog.csdn.net/weixin_42479155/article/details/103329046?csdn_share_tail=%7B%22type%22%3A%22blog%22%2C%22rType%22%3A%22article%22%2C%22rId%22%3A%22103329046%22%2C%22source%22%3A%22unlogin%22%7D. Accessed 10 Oct. 2022.
  10. “Accuracy, precision, recall and F value in some algorithms” https://www.codenong.com/cs105954268/