International Journal of Computer Applications |
Foundation of Computer Science (FCS), NY, USA |
Volume 43 - Number 19 |
Year of Publication: 2012 |
Authors: Debasish Das, Utpal Sharma, D. K. Bhattacharyya |
10.5120/6210-8812 |
Debasish Das, Utpal Sharma, D. K. Bhattacharyya . Rule based Detection of SQL Injection Attack. International Journal of Computer Applications. 43, 19 ( April 2012), 15-24. DOI=10.5120/6210-8812
This paper presents an effective detection method RDUD for SQL injection attack. RDUD is an enhanced version of DUD [1]. The method comprises a supervised machine learning approach using a Support Vector Machine(SVM) to learn and to classify a query at runtime. Two web profiles - (i) legitimate web profile and (ii) attack web profile are generated for each of the web-application software which consists of a set of production rules extracted from the dynamic SQL queries. Both the web profiles are generated during training phase. At runtime a dynamic SQL query is matched with each of the web profile and accordingly it classify based on the matching distance. RDUD is independent of the developer's initialization of syntax rules, valid trusted string database, static or pre-generated program code checking, etc. Also the method is significant in view of its simplicity, efficient and its high detection rate in comparison to the earlier method [1].