Web Application Firewall (WAF)

Theory

Many web applications stand behind a WAF (Web Application Firewall) that aim the protecting app from different types of attacks (XSS, SQLi, etc.) by monitoring and filtering requests. Identifying if a WAF is used, and if so what type it is, can help bypass known filters.

Practice

This can be done with tools like WAFW00F (Python), WhatWaf (Python) or nmap or sometimes by manually looking at cookies and HTTP response headers.
1
wafw00f $URL
2
whatwaf -u $URL
3
nmap -p $PORT --script=http-waf-fingerprint,http-waf-detect $URL
Copied!
Copy link