Is there any documented techniques for evading Web application firewall for testing WAF rule configurations.
|
Check out Ivan Ristić's research. Snippets below from his post on the Qualys blog:
Protocol-Level Evasion of Web Application Firewalls v1.1 (18 July 2012).pdf |
||||
|
|
|
It can be difficult to predict how a WAF will inspect traffic because WAF rules and methods are not standardized and work so high up the stack. Basically, you are looking for weaknesses in detection and/or to make it as difficult as possible for a WAF to properly interpret the communication sent to the target. Some techniques that can be used:
In one simple home-grown WAF system I tested, I defeated the SQL injection protection by switching from
to
On the topic of tools, SQLMap and Havij are well-known. The SQLMap evasion scripts may also provide deeper insight into specific WAF evasion techniques. Any IPS evasion technique can also be potentially applied to WAF. |
||||
|
|
|
You could play with sqlmap: http://www.websec.ca/blog/view/Bypassing_WAFs_with_SQLMap Regards, Piotr Bratkowski |
|||
|
|
