Improving Protection Of Web Applications Through A Machine Learning–Based Firewall Framework

Authors

  • Lalitha Kumari Tadavarti Author
  • A. Ramesh Babu Author

DOI:

https://doi.org/10.64252/pp460w61

Keywords:

Web Application Firewall, Machine Learning, Deep Learning, Ensemble Learning, Anomaly Detection, Cybersecurity

Abstract

Web applications are a prime target for cyberattacks such as SQL injection, cross-site scripting (XSS), cross-site request forgery (CSRF), and distributed denial-of-service (DDoS). Traditional Web Application Firewalls (WAFs), which rely on static rule-based methods, are effective against known threats but often fail to detect zero-day exploits and adaptive attack patterns. To address these limitations, this study introduces a Machine Learning–Driven Web Application Firewall (ML-WAF) that combines rule-based filtering, feature-aware traffic analysis, and a new Hybrid Feature-Aware Neural Ensemble (HyFANE) model. HyFANE integrates Random Forest, Gradient Boosting, and a lightweight Deep Neural Network with adaptive weighting to enhance detection accuracy while reducing false positives. The framework was tested across multiple datasets, including CSIC 2010, CICIDS 2017, and a custom dataset simulating SQLi, XSS, CSRF, and DDoS traffic. Results show that ML-WAF with HyFANE achieves outstanding performance: 96.8% accuracy, 95.3% precision, 94.6% recall, and a 4.3% false positive rate outperforming rule-based WAFs, Random Forest, CNN-WAF, and LSTM-WAF baselines. These results confirm that ensemble learning and adaptive feature selection significantly improve the protection of web applications against evolving threats.

Downloads

Download data is not yet available.

Downloads

Published

2024-12-30

Issue

Section

Articles

How to Cite

Improving Protection Of Web Applications Through A Machine Learning–Based Firewall Framework. (2024). International Journal of Environmental Sciences, 693-698. https://doi.org/10.64252/pp460w61