@inproceedings{f84668101a2540d9bff5b5589b7377a4,
title = "Web Application Attacks Detection Using Deep Learning",
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.",
keywords = "Anomaly detection, Deep learning, Web application firewall",
author = "Nicol{\'a}s Montes and Gustavo Betarte and Rodrigo Mart{\'i}nez and Alvaro Pardo",
note = "Publisher Copyright: {\textcopyright} 2021, Springer Nature Switzerland AG.; 25th Iberoamerican Congress on Progress in Pattern Recognition, Image Analysis, Computer Vision, and Applications, CIARP 2021 ; Conference date: 10-05-2021 Through 13-05-2021",
year = "2021",
doi = "10.1007/978-3-030-93420-0_22",
language = "Ingl{\'e}s",
isbn = "9783030934194",
series = "Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)",
publisher = "Springer Science and Business Media Deutschland GmbH",
pages = "227--236",
editor = "Tavares, {Jo{\~a}o Manuel} and Papa, {Jo{\~a}o Paulo} and {Gonz{\'a}lez Hidalgo}, Manuel",
booktitle = "Progress in Pattern Recognition, Image Analysis, Computer Vision, and Applications - 25th Iberoamerican Congress, CIARP 2021, Revised Selected Papers",
}