AI-Based Machine Learning Web Application Firewall (ML-WAF)

Notice

This is an unedited manuscript accepted for publication and provided as an Article in Press for early access at the author’s request. The article will undergo copyediting, typesetting, and galley proof review before final publication. Please be aware that errors may be identified during production that could affect the content. All legal disclaimers of the journal apply.

Year : 2026 | Volume : 17 | 01 | Page :
    By

    M. Fatima,

  • Ritik Lodhi,

  • Ashika Bajpai,

  • Keshav Pachlaniya,

  • Ruchika Nagle,

  • Sourabh Kumar,

  1. Professor, Artificial Intelligence Machine Learning And Cyber Security, Madhya Pradesh, India
  2. Student, Department of Artificial Intelligence Machine Learning And Cyber Security, Madhya Pradesh, India
  3. Student, Department of Artificial Intelligence Machine Learning And Cyber Security, Madhya Pradesh, India
  4. Student, Department of Artificial Intelligence Machine Learning And Cyber Security, Madhya Pradesh, India
  5. Student, Department of Artificial Intelligence Machine Learning And Cyber Security, Madhya Pradesh, India
  6. Student, Department of Artificial Intelligence Machine Learning And Cyber Security, Madhya Pradesh, India

Abstract

This research investigates the use of deep learning techniques for the real-time detection of malicious activities in web traffic and proposes an intelligent, AI-driven Web Application Firewall (WAF) designed to provide automated and adaptive security. The system analyzes diverse components of HTTP requests, including request methods, URLs, headers, cookies, and payload content, to accurately identify and classify malicious behavior. The proposed model targets a wide range of common and critical web-based attacks, such as SQL Injection, Cross- Site Scripting (XSS), Path Traversal, and HTML Injection, which continue to pose serious threats to modern web applications. The primary objective of this work is to design, implement, and deploy a robust security mechanism capable of classifying incoming web requests as either benign or malicious in real time. Upon detection, the system actively mitigates threats by blocking, logging, or flagging suspicious traffic for further analysis. The training process relies on a labeled dataset composed of HTTP request logs collected from intentionally vulnerable web applications, ensuring exposure to realistic attack patterns. By learning behavioral relationships across multiple request attributes, the deep learning model demonstrates strong generalization capabilities across different attack vectors. When integrated into a live web environment, the proposed intelligent WAF provides dynamic protection that adapts to evolving attack techniques, thereby enhancing the overall resilience and security posture of web applications.

Keywords: Recurrent Neural Networks, Long Short-Term Memory, Web Application Firewalls

How to cite this article:
M. Fatima, Ritik Lodhi, Ashika Bajpai, Keshav Pachlaniya, Ruchika Nagle, Sourabh Kumar. AI-Based Machine Learning Web Application Firewall (ML-WAF). Journal of Computer Technology & Applications. 2026; 17(01):-.
How to cite this URL:
M. Fatima, Ritik Lodhi, Ashika Bajpai, Keshav Pachlaniya, Ruchika Nagle, Sourabh Kumar. AI-Based Machine Learning Web Application Firewall (ML-WAF). Journal of Computer Technology & Applications. 2026; 17(01):-. Available from: https://journals.stmjournals.com/jocta/article=2026/view=236695


References

  1. Hernández JA, Solís-Pérez JE, Parrales A, Mata A, Colorado D, Huicochea A, Gómez- Aguilar JF. A conformable artificial neural network model to improve the void fraction prediction in helical heat exchangers. International Communications in Heat and Mass Transfer. 2023 Nov 1;148:107035.
  2. Elman JL. Finding structure in time. Cognitive science. 1990 Mar;14(2):179-211.
  3. Monner D, Reggia JA. A generalized LSTM-like training algorithm for second-order recurrent neural networks. Neural Networks. 2012 Jan 1;25:70-83.
  4. Alazmi S, De Leon DC. A systematic literature review on the characteristics and effectiveness of web application vulnerability scanners. IEEe Access. 2022 Mar 22;10:33200-19.
  5. Heaton J. Ian goodfellow, yoshua bengio, and aaron courville: Deep learning: The mit press, 2016, 800 pp, isbn: 0262035618. Genetic programming and evolvable machines. 2018 Jun;19(1):305-7.
  6. Sommer R, Paxson V. Outside the closed world: On using machine learning for network intrusion detection. In2010 IEEE symposium on security and privacy 2010 May 16 (pp. 305-316). IEEE.
  7. Ito M, Iyatomi H. Web application firewall using character-level convolutional neural network. In2018 IEEE 14th International Colloquium on Signal Processing. Its Applications (CSPA) 2018 Mar 9 (pp. 103-106). IEEE.
  8. Moradi Vartouni A, Teshnehlab M, Sedighian Kashi S. Leveraging deep neural networks for anomaly‐based web application firewall. IET Information Security. 2019 Jul;13(4):352-61.
  9. Sharma S, Zavarsky P, Butakov S. Machine learning based intrusion detection system for web-based attacks. In2020 IEEE 6th intl conference on big data security on cloud (BigDataSecurity), IEEE Intl conference on high performance and smart computing,(HPSC) and IEEE Intl conference on intelligent data and security (IDS) 2020 May 25 (pp. 227-230). IEEE.
  10. Scano C, Floris G, Montaruli B, Demetrio L, Valenza A, Compagna L, Ariu D, Piras L, Balzarotti D, Biggio B. ModSec-Learn: Boosting ModSecurity with Machine Learning. InInternational Symposium on Distributed Computing and Artificial Intelligence 2024 Jun 25 (pp. 23-33). Cham: Springer Nature Switzerland.

Ahead of Print Subscription Review Article
Volume 17
01
Received 15/01/2026
Accepted 23/01/2026
Published 10/02/2026
Publication Time 26 Days


Login


My IP

PlumX Metrics