ML-Powered Firewall for Adaptive Threat Detection and Real-Time Attack Prevention

A largest number of interconnected ecosystems emerged from the quick spread of Network devices but this expansion has also left various environments susceptible to advanced cyberthreats especially network attacks. These attacks cause operational problems and pose serious security and privacy issues by taking advantage of flaws in networks. The complexity and scope of modern attacks are frequently beyond the scope of conventional detection techniques calling for sophisticated solutions that can effectively and precisely identify these dangers in real time. The hybrid machine learning approach was created in order to overcome these difficulties using the UNSW_NB15 dataset as a standard for examining network traffic data. To optimize feature selection and improve model performance many preprocessing techniques were used, such as standardization, feature encoding, Column Transformer, One Hot Encoder with chi-squared selection of features and Standard Scaler. Among the several machine learning models that were employed and evaluated Random Forest obtained an accuracy rate of 95%, Extra Trees 94.85%, the Decision Tree 93.69%, MLP 93.44%, Gradient boosting 93.15%, the KNN algorithm, 92.91% and Logistic Regression 91.07%. When it came to detecting seasonal patterns in network traffic the Long Short-Term Memory (LSTM) algorithm was the most effective with an accuracy in training of 96.665% and an accuracy in testing of 96.435%. Streamlit was used to create a simple user interface that lets users submit CSV data files with network traffic providing real-time attack alert system.

Authors

Institutions

Publication Details

Journal
International Research Journal on Advanced Engineering Hub (IRJAEH)
Published
2025-04-16
DOI
https://doi.org/10.47392/irjaeh.2025.0199
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

ML-Powered Firewall for Adaptive Threat Detection and Real-Time Attack Prevention

Vulla Ravi Teja, K. Sujit Krishna, Gaikwad Rahul Subhash, Mrs. Priyanka Chandragiri
International Research Journal on Advanced Engineering Hub (IRJAEH)
Network Security and Intrusion Detection
article

ML-Powered Firewall for Adaptive Threat Detection and Real-Time Attack Prevention

Vulla Ravi Teja, K. Sujit Krishna, Gaikwad Rahul Subhash, Mrs. Priyanka Chandragiri
article en

Abstract

A largest number of interconnected ecosystems emerged from the quick spread of Network devices but this expansion has also left various environments susceptible to advanced cyberthreats especially network attacks. These attacks cause operational problems and pose serious security and privacy issues by taking advantage of flaws in networks. The complexity and scope of modern attacks are frequently beyond the scope of conventional detection techniques calling for sophisticated solutions that can effectively and precisely identify these dangers in real time. The hybrid machine learning approach was created in order to overcome these difficulties using the UNSW_NB15 dataset as a standard for examining network traffic data. To optimize feature selection and improve model performance many preprocessing techniques were used, such as standardization, feature encoding, Column Transformer, One Hot Encoder with chi-squared selection of features and Standard Scaler. Among the several machine learning models that were employed and evaluated Random Forest obtained an accuracy rate of 95%, Extra Trees 94.85%, the Decision Tree 93.69%, MLP 93.44%, Gradient boosting 93.15%, the KNN algorithm, 92.91% and Logistic Regression 91.07%. When it came to detecting seasonal patterns in network traffic the Long Short-Term Memory (LSTM) algorithm was the most effective with an accuracy in training of 96.665% and an accuracy in testing of 96.435%. Streamlit was used to create a simple user interface that lets users submit CSV data files with network traffic providing real-time attack alert system.

International Research Journal on Advanced Engineering Hub (IRJAEH)Vol. 3(04)
Dr. Reddy's Laboratories (India) (IN)
Openalex Percentile: Top 91%
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.

ML-Powered Firewall for Adaptive Threat Detection and Real-Time Attack Prevention — Vulla Ravi Teja, K. Sujit Krishna, et al. · International Research Journal on Advanced Engineering Hub (IRJAEH) (2025) | TGRS Research Map | TGRS