Skip to main navigation Skip to search Skip to main content

Web Application Attacks Detection Using Deep Learning

  • Nicolás Montes
  • , Gustavo Betarte
  • , Rodrigo Martínez
  • , Alvaro Pardo

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

14 Scopus citations

Abstract

This work investigates the use of deep learning techniques to improve the performance of web application firewalls (WAFs), systems that are used to detect and prevent attacks to web applications. Typically, a waf inspects the http requests that are exchanged between client and server to spot attacks and block potential threats. We model the problem as a one-class supervised case and build a feature extractor using deep learning techniques. We treat the http requests as text and train a deep language model with a transformer encoder architecture which is a self-attention based neural network. The use of pre-trained language models has yielded significant improvements on a diverse set of NLP tasks because they are capable of doing transfer learning. We use the pre-trained model as a feature extractor to map a http request into a feature vector. These vectors are then used to train a one-class classifier. We also use a performance metric to automatically define an operational point for the one-class model. The experimental results show that the proposed approach outperforms the ones of the classic rule-based ModSecurity configured with a vanilla owasp crs and does not require the participation of a security expert to define the features.

Original languageEnglish
Title of host publicationProgress in Pattern Recognition, Image Analysis, Computer Vision, and Applications - 25th Iberoamerican Congress, CIARP 2021, Revised Selected Papers
EditorsJoão Manuel Tavares, João Paulo Papa, Manuel González Hidalgo
PublisherSpringer Science and Business Media Deutschland GmbH
Pages227-236
Number of pages10
ISBN (Print)9783030934194
DOIs
StatePublished - 2021
Event25th Iberoamerican Congress on Progress in Pattern Recognition, Image Analysis, Computer Vision, and Applications, CIARP 2021 - Virtual, Online
Duration: 10 May 202113 May 2021

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume12702 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference25th Iberoamerican Congress on Progress in Pattern Recognition, Image Analysis, Computer Vision, and Applications, CIARP 2021
CityVirtual, Online
Period10/05/2113/05/21

Keywords

  • Anomaly detection
  • Deep learning
  • Web application firewall

Fingerprint

Dive into the research topics of 'Web Application Attacks Detection Using Deep Learning'. Together they form a unique fingerprint.

Cite this