Machine Learning-Based Web Application Firewall for Real-Time Threat Detection

The increasing vulnerability of web applications to cyber threats necessitates the development of adaptive defense mechanisms. This paper presents the design and implementation of a Machine Learning-Based Web Application Firewall (WAF), which uses the XGBoost algorithm for real-time detection of SQL Injection (SQLi), Cross-Site Scripting (XSS), and Local File Inclusion (LFI) attacks. Unlike traditional WAFs that rely on static rule-based systems, this ML-driven solution adapts to new attack patterns by learning from web traffic data. The paper workflow encompasses data preprocessing, feature engineering, model training, and application deployment. The machine learning model was trained on a comprehensive dataset of web traffic logs, which included a diverse set of both legitimate and malicious activities. Advanced feature engineering techniques were employed to extract relevant data points from the http requests, allowing the model to capture critical details necessary for accurate threat detection. Once trained, the model was used to build the WAF. The WAF application was then placed in front of the Webserver. All incoming traffic hits the WAF and based on its analysis, it would drop the malicious traffic and allow only normal traffic to the backend Webserver.

Authors

Institutions

Publication Details

Published
2024-11-20
DOI
https://doi.org/10.1109/icei64305.2024.10912239
Citations
2
Primary Topic
Network Security and Intrusion Detection
Type
article
Field-Weighted Citation Impact
0.70
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Machine Learning-Based Web Application Firewall for Real-Time Threat Detection

Anil Kumar, Rashmi Agarwal, Jay Bharateesh Simha
2 citations
Network Security and Intrusion Detection
0.70
article

Machine Learning-Based Web Application Firewall for Real-Time Threat Detection

Anil Kumar, Rashmi Agarwal, Jay Bharateesh Simha
article en
2 citations

Abstract

The increasing vulnerability of web applications to cyber threats necessitates the development of adaptive defense mechanisms. This paper presents the design and implementation of a Machine Learning-Based Web Application Firewall (WAF), which uses the XGBoost algorithm for real-time detection of SQL Injection (SQLi), Cross-Site Scripting (XSS), and Local File Inclusion (LFI) attacks. Unlike traditional WAFs that rely on static rule-based systems, this ML-driven solution adapts to new attack patterns by learning from web traffic data. The paper workflow encompasses data preprocessing, feature engineering, model training, and application deployment. The machine learning model was trained on a comprehensive dataset of web traffic logs, which included a diverse set of both legitimate and malicious activities. Advanced feature engineering techniques were employed to extract relevant data points from the http requests, allowing the model to capture critical details necessary for accurate threat detection. Once trained, the model was used to build the WAF. The WAF application was then placed in front of the Webserver. All incoming traffic hits the WAF and based on its analysis, it would drop the malicious traffic and allow only normal traffic to the backend Webserver.

REVA University (IN)
Climate action
Openalex Percentile: Top 25%
Network Security and Intrusion Detection
0.70
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.

Machine Learning-Based Web Application Firewall for Real-Time Threat Detection — Anil Kumar, Rashmi Agarwal, et al. · (2024) | TGRS Research Map | TGRS