Metaheuristic-Driven Feature Selection with SVM and KNN for Robust DDoS Attack Detection: A Comparative Study

Distributed Denial of Service (DDoS) attack occurs when an attacker attempts to disrupt the normal operation of a network, service, or website by overwhelming it with a high volume of internet traffic. The goal of detecting DDoS attacks is to identify and respond to them promptly, thereby minimizing their impact on the targeted system. Effective detection is essential for individuals, organizations, and network administrators to safeguard infrastructure, ensure service availability, and protect online systems and services. DDoS detection is widely applicable in areas such as network security, web service protection, cloud computing, and online infrastructure resilience. To address this need, we propose a framework consisting of six main steps. First, data collection involves gathering network traffic information, system activity logs, and known instances of DDoS attacks. Second, relevant features are identified from the dataset, including traffic patterns, packet sizes, IP addresses, and protocol types. In the third step, feature selection is performed using metaheuristic algorithms such as the Salp Swarm Algorithm (SSA), Gray Wolf Optimization (GWO), and Particle Swarm Optimization (PSO) to isolate the most informative features for distinguishing between normal and malicious traffic. Fourth, the dataset is divided into training and testing subsets for model development and evaluation. Fifth, classification models are built using machine learning algorithms such as Support Vector Machine (SVM) and K-Nearest Neighbors (KNN) to classify traffic patterns effectively. Finally, the performance of the models is evaluated using metrics including accuracy, precision, recall, and F1-score. The results of the proposed framework demonstrate outstanding performance, with classification accuracy reaching up to 99.9%. In summary, detecting DDoS attacks is vital for protecting networked systems and ensuring the continuity of online services, and the use of feature selection and machine learning techniques significantly enhances detection accuracy and efficiency.

Authors

Publication Details

Journal
Journal of Cyber Security and Risk Auditing
Published
2025-01-01
DOI
https://doi.org/10.63180/jcsra.thestap.2025.4.1
Primary Topic
Network Security and Intrusion Detection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Metaheuristic-Driven Feature Selection with SVM and KNN for Robust DDoS Attack Detection: A Comparative Study

Rejwan Bin Sulaiman, Ansam Khraisat
Journal of Cyber Security and Risk Auditing
Network Security and Intrusion Detection
article

Metaheuristic-Driven Feature Selection with SVM and KNN for Robust DDoS Attack Detection: A Comparative Study

Rejwan Bin Sulaiman, Ansam Khraisat
article en

Abstract

Distributed Denial of Service (DDoS) attack occurs when an attacker attempts to disrupt the normal operation of a network, service, or website by overwhelming it with a high volume of internet traffic. The goal of detecting DDoS attacks is to identify and respond to them promptly, thereby minimizing their impact on the targeted system. Effective detection is essential for individuals, organizations, and network administrators to safeguard infrastructure, ensure service availability, and protect online systems and services. DDoS detection is widely applicable in areas such as network security, web service protection, cloud computing, and online infrastructure resilience. To address this need, we propose a framework consisting of six main steps. First, data collection involves gathering network traffic information, system activity logs, and known instances of DDoS attacks. Second, relevant features are identified from the dataset, including traffic patterns, packet sizes, IP addresses, and protocol types. In the third step, feature selection is performed using metaheuristic algorithms such as the Salp Swarm Algorithm (SSA), Gray Wolf Optimization (GWO), and Particle Swarm Optimization (PSO) to isolate the most informative features for distinguishing between normal and malicious traffic. Fourth, the dataset is divided into training and testing subsets for model development and evaluation. Fifth, classification models are built using machine learning algorithms such as Support Vector Machine (SVM) and K-Nearest Neighbors (KNN) to classify traffic patterns effectively. Finally, the performance of the models is evaluated using metrics including accuracy, precision, recall, and F1-score. The results of the proposed framework demonstrate outstanding performance, with classification accuracy reaching up to 99.9%. In summary, detecting DDoS attacks is vital for protecting networked systems and ensuring the continuity of online services, and the use of feature selection and machine learning techniques significantly enhances detection accuracy and efficiency.

Journal of Cyber Security and Risk AuditingVol. 2025(4)
Openalex Percentile: Top 86%
Network Security and Intrusion Detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.