JOURNAL ARTICLE

Machine-Learning-Based Online Distributed Denial-of-Service Attack Detection Using Spark Streaming

Abstract

In order to cope with the increasing number of cyber attacks, network operators must monitor the whole network situations in real time. Traditional network monitoring method that usually works on a single machine, however, is no longer suitable for the huge traffic data nowadays due to its poor processing ability. In this paper, we propose a machine-learning based online Internet traffic monitoring system using Spark Streaming, a stream- processing-based big data framework, to detect DDoS attacks in real time. The system consists of three parts, collector, messaging system and stream processor. We use a correlation-based feature selection method and choose 4 most necessary network features in our machine- learning-based DDoS detection algorithm. We verify the result of feature selection method by a comparative experiment and compare the detection accuracy of 3 machine learning methods - Naive Bayes, Logistic Regression and Decision Tree. Finally, we conduct experiments in a cluster with the standalone mode, showing that our system can detect 3 typical DDoS attacks - TCP flooding, UDP flooding and ICMP flooding at the accuracy of more than 99.3%. It also shows the system performs well even for large Internet traffic.

Keywords:
Denial-of-service attack Computer science Internet Control Message Protocol Flooding (psychology) SPARK (programming language) Feature selection Naive Bayes classifier Machine learning Artificial intelligence Traffic classification Data mining Real-time computing The Internet Computer network Quality of service Network packet Support vector machine Operating system

Metrics

38
Cited By
3.40
FWCI (Field Weighted Citation Impact)
26
Refs
0.92
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Network Security and Intrusion Detection
Physical Sciences →  Computer Science →  Computer Networks and Communications
Internet Traffic Analysis and Secure E-voting
Physical Sciences →  Computer Science →  Artificial Intelligence
Anomaly Detection Techniques and Applications
Physical Sciences →  Computer Science →  Artificial Intelligence

Related Documents

JOURNAL ARTICLE

Distributed Denial of Service Attack Detection Using Machine Learning Classifiers

Gautam RampalliR. Padmavathy

Journal:   International Journal of Ad Hoc and Ubiquitous Computing Year: 2024 Vol: 1 (1)
JOURNAL ARTICLE

Distributed denial of service attack detection using machine learning classifiers

Ruchita GautamR. Padmavathy

Journal:   International Journal of Ad Hoc and Ubiquitous Computing Year: 2024 Vol: 46 (3)Pages: 123-149
JOURNAL ARTICLE

Distributed Denial of Service Attack Detection in SDN using Machine Learning

Amandeep JhaBratin DasDeepa Reddy K.Desai Vaishnavi JitendraS. Rezni

Journal:   Zenodo (CERN European Organization for Nuclear Research) Year: 2023
JOURNAL ARTICLE

Improving distributed denial of service attack detection using supervised machine learning

Afrah FathimaG. DeviMohd Faizaanuddin

Journal:   Measurement Sensors Year: 2023 Vol: 30 Pages: 100911-100911
DISSERTATION

Distributed Denial of Service Attack Detection Using a Machine Learning Approach

Animesh Gupta

University:   PRISM (University of Calgary) Year: 2018
© 2026 ScienceGate Book Chapters — All rights reserved.