RECURRENT NEURAL NETWORKS APPROACH TO THE DETECTION OF SQL ATTACKS

Jaroslaw Skaruz, Franciszek Seredynski, Pascal Bouvry

2007

Abstract

In the paper we present a new approach based on application of neural networks to detect SQL attacks. SQL attacks are those attacks that take advantage of using SQL statements to be performed. The problem of detection of this class of attacks is transformed to time series prediction problem. SQL queries are used as a source of events in a protected environment. To differentiate between normal SQL queries and those sent by an attacker, we divide SQL statements into tokens and pass them to our detection system, which predicts the next token, taking into account previously seen tokens. In the learning phase tokens are passed to recurrent neural network (RNN) trained by backpropagation through time (BPTT) algorithm. Teaching data are shifted by one token forward in time with relation to input. The purpose of the testing phase is to predict the next token in the sequence. All experiments were conducted on Jordan and Elman networks using data gathered from PHP Nuke portal. Experimental results show that the Jordan network outperforms the Elman network predicting correctly queries of the length up to ten.

Download


Paper Citation


in Harvard Style

Skaruz J., Seredynski F. and Bouvry P. (2007). RECURRENT NEURAL NETWORKS APPROACH TO THE DETECTION OF SQL ATTACKS . In Proceedings of the Ninth International Conference on Enterprise Information Systems - Volume 2: ICEIS, ISBN 978-972-8865-89-4, pages 191-197. DOI: 10.5220/0002352901910197

in Bibtex Style

@conference{iceis07,
author={Jaroslaw Skaruz and Franciszek Seredynski and Pascal Bouvry},
title={RECURRENT NEURAL NETWORKS APPROACH TO THE DETECTION OF SQL ATTACKS},
booktitle={Proceedings of the Ninth International Conference on Enterprise Information Systems - Volume 2: ICEIS,},
year={2007},
pages={191-197},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0002352901910197},
isbn={978-972-8865-89-4},
}


in EndNote Style

TY - CONF
JO - Proceedings of the Ninth International Conference on Enterprise Information Systems - Volume 2: ICEIS,
TI - RECURRENT NEURAL NETWORKS APPROACH TO THE DETECTION OF SQL ATTACKS
SN - 978-972-8865-89-4
AU - Skaruz J.
AU - Seredynski F.
AU - Bouvry P.
PY - 2007
SP - 191
EP - 197
DO - 10.5220/0002352901910197