DDoS Attacks Detection and Prevention on Real-Time Streaming Data Using Machine Learning Methods With Kafka and Apache Spark

  • Ahmad, Jameel
  • Ahmed, Usama
  • Farooq, Saad
  • Sarwar, Muhammad
  • Shaheen, Momina
  • ... Khan, Jawad
  • 외 1명
Citations

WEB OF SCIENCE

0
Citations

SCOPUS

0

초록

Distributed Denial of Service (DDoS) attacks in the constantly expanding sphere of cybersecurity are highly important to detect and respond to promptly. This paper proposes an Intrusion Detection System (IDS) that integrate Machine Learning (ML), Apache Kafka and Apache Spark to enable real-time detection and mitigation of DDoS attacks. The proposed framework collects live network traffic data, performs preprocessing and feature extraction, and applies machine learning algorithms within a streaming architecture supported by Apache Kafka and Apache Spark. Kafka enables real-time data ingestion, while Spark provides distributed processing for efficient model training and inference. The methodology supports adaptability to emerging attack patterns through training and evaluation on publicly available benchmark datasets.Machine learning models, including Random Forest and Support Vector Machine (SVM), were evaluated within the proposed streaming framework. Experimental results show that the integrated use of Apache Kafka and Apache Spark achieved an accuracy of up to 95%. The real-time streaming capability of Kafka, combined with the distributed processing power of Spark, enables efficient handling of high-volume network traffic and supports timely detection of DDoS attacks.

키워드

ModelingTimingDenial-of-service attackSignal detectionStreamsMachine learningSparksDistributed denial-of-service attackMachiningReal-time systemsDDoS detectionIDSApache KafkaApache SparkINTRUSION DETECTIONTRENDS
제목
DDoS Attacks Detection and Prevention on Real-Time Streaming Data Using Machine Learning Methods With Kafka and Apache Spark
저자
Ahmad, JameelAhmed, UsamaFarooq, SaadSarwar, MuhammadShaheen, MominaManias, Dimitris M.Khan, Jawad
DOI
10.1109/ACCESS.2026.3696041
발행일
2026-05
유형
Article
저널명
IEEE Access
14
페이지
84163 ~ 84175