SQL Injection Detection via Program Tracing and Machine Learning.

Yi Wang,Zhoujun Li
DOI: https://doi.org/10.1007/978-3-642-34883-9_21
2012-01-01
Abstract:Database systems are indispensable in modern web applications in order to process and store business information. Due to the contained valuable information, these systems are highly interesting to hackers and their diverse and enormous amount of attacks severely undermine the effectiveness of classical signature-based detection. In this work we propose a novel hybrid approach for learning SQL statements with program tracing techniques in order to detect malicious behavior between the database and application. The approach incorporates the program trace hashing technique and tree structure of SQL queries as well as query name similarity as characteristic to distinguish malicious from benign queries. An prototype learning system integrated in PHP is demonstrated to show the usefulness of our approach on real-world application.
What problem does this paper attempt to address?