The Efficiency of Machine Learning Techniques in Strengthening Defenses Against DDoS Attacks, Such as Random Forest, Logistic Regression, and Neural Networks

Authors

  • Syauqii Fayyadh Hilal Z Universitas Mercu Buana
  • Rushendra Universitas Mercu Buana Jakarta

DOI:

10.33395/sinkron.v9i1.14502

Keywords:

Machine learning, cybersecurity, DDoS detection, Random Forest, Logistic Regression, Neural Network

Abstract

Distributed Denial of Service (DDoS) attacks are one of the most common cybersecurity concerns brought on by the quick development of digital technology. By flooding servers with too many requests, these assaults interfere with online services, highlighting the necessity of strong detection systems. Using the well-known CIC-DDoS2019 dataset, this study explores the use of machine learning algorithms—Random Forest (RF), Logistic Regression (LR), and Neural Networks (NN)—to improve DDoS assault detection. A comprehensive preprocessing procedure that comprised feature selection, normalization, and duplication removal was applied to dataset in order to ensuring optimal algorithm performance. With an accuracy of 97% on the entire test dataset and 99.13% on the training and validation datasets, RF showed exceptional performance. While NN successfully managed intricate data patterns, attaining an accuracy of roughly 94%, LR demonstrated impressive results with an accuracy of 98.65%. Because of its ensemble method, which minimizes overfitting and improves model generalization, the RF algorithm performed better than the others. This study highlights how machine learning may be used to solve practical cybersecurity issues by offering insightful information about how to optimize algorithms for real-time DDoS detection. The results improve the stability and resilience of digital infrastructures by aiding in the creation of effective intrusion detection systems. Future research can explore integrating advanced neural network architectures and hybrid methods to further improve detection rates and adaptability to evolving cyber threats.

GS Cited Analysis

Downloads

Download data is not yet available.

References

Afsaneh Banitalebi Dehkordi, M. S. & F. Z. B. (2021). The DDoS attacks detection through machine learning and statistical methods in SDN. The Journal of Supercomputing, 77, 2383–2415.

Al-Shareeda, M. A., Manickam, S., & Saare, M. A. (2023). DDoS attacks detection using machine learning and deep learning techniques: analysis and comparison. Bulletin of Electrical Engineering and Informatics, 12(2), 930–939. https://doi.org/10.11591/eei.v12i2.4466

Ali, T. E., Chong, Y. W., & Manickam, S. (2023). Machine Learning Techniques to Detect a DDoS Attack in SDN: A Systematic Review. Applied Sciences (Switzerland), 13(5). https://doi.org/10.3390/app13053183

Alkasassbeh, M., Al-Naymat, G., B.A, A., & Almseidin, M. (2016). Detecting Distributed Denial of Service Attacks Using Data Mining Techniques. International Journal of Advanced Computer Science and Applications, 7(1). https://doi.org/10.14569/ijacsa.2016.070159

Barragán-Montero, A., Javaid, U., Valdés, G., Nguyen, D., Desbordes, P., Macq, B., Willems, S., Vandewinckele, L., Holmström, M., Löfman, F., Michiels, S., Souris, K., Sterpin, E., & Lee, J. A. (2021). Artificial intelligence and machine learning for medical imaging: A technology review. Physica Medica, 83(May), 242–256. https://doi.org/10.1016/j.ejmp.2021.04.016

Batchu, R. K., Bikku, T., Thota, S., Seetha, H., & Ayoade, A. A. (2024). A novel optimization-driven deep learning framework for the detection of DDoS attacks. Scientific Reports, 14(1). https://doi.org/10.1038/s41598-024-77554-9

Chartuni, A., & Márquez, J. (2021). Multi-Classifier of DDoS Attacks in Computer Networks Built on Neural Networks. Applied Sciences (Switzerland), 11(22). https://doi.org/10.3390/app112210609

Dasari, K. B., & Devarakonda, N. (2021). Detection of different DDoS attacks using machine learning classification Algorithms. Ingenierie Des Systemes d’Information, 26(5), 461–468. https://doi.org/10.18280/isi.260505

DDoS Evaluation Dataset (CIC-DDoS2019). (n.d.). Retrieved December 11, 2024, from https://www.unb.ca/cic/datasets/ddos-2019.html

Devrim Akgun, S. H., & Cavusoglu, U. C. (2022). A new DDoS attacks intrusion detection model based on deep learning for cybersecurity. 118, 101021. https://doi.org/https://doi.org/10.1016/j.cose.2022.102748

Dhanabal, L., & Shantharajah, S. P. (2015). A Study on NSL-KDD Dataset for Intrusion Detection System Based on Classification Algorithms. International Journal of Advanced Research in Computer and Communication Engineering, 4(6), 446–452. https://doi.org/10.17148/IJARCCE.2015.4696

Jain, P. K., Pamula, R., & Srivastava, G. (2021). A systematic literature review on machine learning applications for consumer sentiment analysis using online reviews. Computer Science Review, 41, 100413. https://doi.org/10.1016/j.cosrev.2021.100413

Karatas, G., Demir, O., & Sahingoz, O. K. (2020). Increasing the Performance of Machine Learning-Based IDSs on an Imbalanced and Up-to-Date Dataset. IEEE Access, 8, 32150–32162. https://doi.org/10.1109/ACCESS.2020.2973219

Kshirsagar, D., & Kumar, S. (2021). An efficient feature reduction method for the detection of DoS attack. ICT Express, 7(3), 371–375. https://doi.org/10.1016/j.icte.2020.12.006

Larasati, A., DeYong, C., & Slevitch, L. (2012). The Application of Neural Network and Logistics Regression Models on Predicting Customer Satisfaction in a Student-Operated Restaurant. Procedia - Social and Behavioral Sciences, 65, 94–99. https://doi.org/10.1016/j.sbspro.2012.11.097

Malik, S., Tahir, M., Sardaraz, M., & Alourani, A. (2022). A Resource Utilization Prediction Model for Cloud Data Centers Using Evolutionary Algorithms and Machine Learning Techniques. Applied Sciences (Switzerland), 12(4). https://doi.org/10.3390/app12042160

Malliga, S., Nandhini, P. S., & Kogilavani, S. V. (2022). A Comprehensive Review of Deep Learning Techniques for the Detection of (Distributed) Denial of Service Attacks. Information Technology and Control, 51(1), 180–215. https://doi.org/10.5755/j01.itc.51.1.29595

Najar, A.A., Manohar Naik, S. (2022). DDoS attack detection using MLP and Random Forest Algorithms. Int. j. Inf. Tecnol, 14, 2317–2327. https://doi.org/10.1007/s41870-022-01003-x

Rushendra, Ramli, K., Hayati, N., Ihsanto, E., Gunawan, T. S., & Halbouni, A. H. (2021). Development of Intrusion Detection System using Residual Feedforward Neural Network Algorithm. 2021 4th International Seminar on Research of Information Technology and Intelligent Systems, ISRITI 2021, April 2022, 539–543. https://doi.org/10.1109/ISRITI54043.2021.9702773

Downloads


Crossmark Updates

How to Cite

Z, S. F. H. ., & Rushendra. (2025). The Efficiency of Machine Learning Techniques in Strengthening Defenses Against DDoS Attacks, Such as Random Forest, Logistic Regression, and Neural Networks. Sinkron : Jurnal Dan Penelitian Teknik Informatika, 9(1), 520-530. https://doi.org/10.33395/sinkron.v9i1.14502