Their nature of ubiquity and adoption of the web as a means of retrieving information and making other financial transactions like e-shopping and e-banking have made the use of web application services most popular. As the use of web application grows...
Their nature of ubiquity and adoption of the web as a means of retrieving information and making other financial transactions like e-shopping and e-banking have made the use of web application services most popular. As the use of web application grows, also the number and sophistication of attacks increase. Amongst threats to web applications, SQL Injection attacks have been researched and reported as being top major threats. Attackers inject malicious code or queries to the web application that makes them extract confidential information or sometimes to destruct the database system.
In this thesis, a both combined static and dynamic analysis effective and simple technique is proposed to detect and prevent SQL injection attacks by splitting both static and dynamic queries into substrings and compare the number of substrings in both queries. Also in queries where splitting techniques do not work, the attribute values in both fixed and runtime query counted and analyzed then the number of attribute values are compared. A technique is simple and effective in a way that it does not employ complex algorithms and operations like parse tree algorithms, DBMS proxy, and libraries. The evaluation results for the proposed technique shows success in detecting and preventing SQL injection attacks and reduces the false positives and false negatives. And this takes place before a SQL query is sent to the back-end database layer.