Behind an Application Firewall, Are We Safe from SQL Injection Attacks?
Authors:
- Dennis AppeltDADennis Appelt
- Cu D. NguyenCNCu D. Nguyen
- Lionel BriandLBLionel Briand
- 1 April 2015
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 1-10
Abstract
Web application firewalls are an indispensable layer to protect online systems from attacks. However, the fast pace at which new kinds of attacks appear and their sophistication require that firewalls be updated and tested regularly as otherwise they will be circumvented. In this paper, we focus our research on web application firewalls and SQL injection attacks. We present a machine learning-based testing approach to detect holes in firewalls that let SQL injection attacks bypass. At the beginning, the approach can automatically generate diverse attack payloads, which can be seeded into inputs of web- based applications, and then submit them to a system that is protected by a firewall. Incrementally learning from the tests that are blocked or passed by the firewall, our approach can then select tests that exhibit characteristics associated with bypassing the firewall and mutate them to efficiently generate new bypassing attacks. In the race against cyber attacks, time is vital. Being able to learn and anticipate more attacks that can circumvent a firewall in a timely manner is very important in order to quickly fix or fine-tune the firewall. We developed a tool that implements the approach and evaluated it on ModSecurity, a widely used application firewall. The results we obtained suggest a good performance and efficiency in detecting holes in the firewall that could let SQLi attacks go undetected.Keywords
This publication has 14 references indexed in Scilit:
- Automated testing for SQL injection vulnerabilities: an input mutation approach2014
- Management of an academic HPC cluster: The UL experience2014
- An orchestrated survey of methodologies for automated software test case generationJournal of Systems and Software, 2013
- The WEKA data mining softwareACM SIGKDD Explorations Newsletter, 2009
- Testing input validation in Web applications through automated model recoveryJournal of Systems and Software, 2008
- Bypass Testing of Web Applications2005
- Firewall Conformance Testing2005
- Search‐based software test data generation: a surveySoftware Testing, Verification and Reliability, 2004
- Specification-Based Testing of Firewalls2001
- The random subspace method for constructing decision forestsIEEE Transactions on Pattern Analysis and Machine Intelligence, 1998