Flow based Network Threat Detection using ANN and Socket in Real Time

Cyber attacks are increasingly frequent and sophis-ticated, posing severe risks to both individuals and organizations worldwide. Traditional rule-based or signature-based intrusion detection systems have proven inefficient in keeping up with the evolving tactics of attackers, leavingnetworks vulnerable. Our research focuses on improving the detection of network threats,with a specific focus on Distributed Denial of Service (DDoS) attacks for testing, through advanced deep learning techniques. Specifically, we utilize a Long Short-Term Memory (LSTM) neuralnetwork to detect attacks by analyzing network traffic in real time. We begin by collecting a complete dataset consisting of normal traffic and network attack scenarios including DDoS attacks. This data is carefully preprocessed using normalization and feature extraction to ensure accuracy. The LSTM model was then designed, trained, and tested, while tuning its parameters for optimal performance. The model was evaluated using metrics such as accuracy, precision,recall,and the F1 score. In realtime scenarios with socket communication, it demonstrated a total average delay of 86.2678 seconds and a processing delay of just 0.1102 seconds, reflecting its performance and efficiency in deployment. The LSTM model demonstrated strong perfor-mance, detecting DDoS attacks with an accuracy of 99.897%. It effectively identified attacks, achieving a recall of 99.953% and a precision of 99.794%,resulting in an overall F1 score of 99.874%. In practical scenario with Model 1, it detected 83.42% of DDoS attacks out of the total flow of 368. The LSTM’s ability to capture temporal dependencies in network traffic makes it superior for complex attack detection compared to traditional methods. This study demonstrates the effectiveness of LSTM in enhancing real-time network security and addresses the limitations of rule-based systems.

Authors

Institutions

Publication Details

Journal
Journal of Science and Technology.
Published
2024-12-31
DOI
https://doi.org/10.3126/jost.v4i2.78944
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

Flow based Network Threat Detection using ANN and Socket in Real Time

Bishal Poudel, Aishu Gyawali, Roshan Chitrakar
Journal of Science and Technology.
Network Security and Intrusion Detection
article

Flow based Network Threat Detection using ANN and Socket in Real Time

Bishal Poudel, Aishu Gyawali, Roshan Chitrakar
article en

Abstract

Cyber attacks are increasingly frequent and sophis-ticated, posing severe risks to both individuals and organizations worldwide. Traditional rule-based or signature-based intrusion detection systems have proven inefficient in keeping up with the evolving tactics of attackers, leavingnetworks vulnerable. Our research focuses on improving the detection of network threats,with a specific focus on Distributed Denial of Service (DDoS) attacks for testing, through advanced deep learning techniques. Specifically, we utilize a Long Short-Term Memory (LSTM) neuralnetwork to detect attacks by analyzing network traffic in real time. We begin by collecting a complete dataset consisting of normal traffic and network attack scenarios including DDoS attacks. This data is carefully preprocessed using normalization and feature extraction to ensure accuracy. The LSTM model was then designed, trained, and tested, while tuning its parameters for optimal performance. The model was evaluated using metrics such as accuracy, precision,recall,and the F1 score. In realtime scenarios with socket communication, it demonstrated a total average delay of 86.2678 seconds and a processing delay of just 0.1102 seconds, reflecting its performance and efficiency in deployment. The LSTM model demonstrated strong perfor-mance, detecting DDoS attacks with an accuracy of 99.897%. It effectively identified attacks, achieving a recall of 99.953% and a precision of 99.794%,resulting in an overall F1 score of 99.874%. In practical scenario with Model 1, it detected 83.42% of DDoS attacks out of the total flow of 368. The LSTM’s ability to capture temporal dependencies in network traffic makes it superior for complex attack detection compared to traditional methods. This study demonstrates the effectiveness of LSTM in enhancing real-time network security and addresses the limitations of rule-based systems.

Journal of Science and Technology.Vol. 4(2)
Nepal Medical College Teaching Hospital (NP)
Openalex Percentile: Top 64%
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.