Web Application Firewall Detection – Kali Linux Tutorial

P { margin-bottom: 0.08in; }


WAF or Web application firewall is a
security tool that protects a website from various type of attacks
which included but not limited to: SQL-injection, XSS, Local file
inclusion and others. Web based IPS (intrusion prevention system) has
also been designed to protect a web server but these is a difference
between WAF and IPS; web application firewall provides protection
from web-based attack while IPS protect a web server from network
based attack.

The responsibility of a penetration tester is to protect the web server from both directional attacks, so
IPS and WAF are both have their own importance for a pen tester. In
order to conduct a successful vulnerability assessment on a website,
you need to find the security tools that are protecting it.

WAFW00F is the tool to find a web
application firewall that is protecting a web server. WAFW00f is a
python script which is written by Sandro Gauci && Wendel G.
Henrique. A penetration tester can get name of the installed firewall
so that exploitation will be started, it was earlier available on
backtrack 5 but since backtrack is no longer an active project; so we
can use this tool on Kali Linux.

Application ? Kali Linux ?
Information Gathering ? IDS/IPS Identification ? wafw00f

        _   __  _   ____ _   __  _    _   ____
       ///7/ /.’ / __////7/ /,’ ,’ / __/
      | V V // o // _/ | V V // 0 // 0 // _/ 
      |_n_,’/_n_//_/   |_n_,’ _,’ _,’/_/   
    WAFW00F – Web Application Firewall Detection Tool
    By Sandro Gauci && Wendel G. Henrique

Usage: wafw00f url1 [url2 [url3 … ]]
example: wafw00f http://www.victim.org/

  -h, –help            show this help message and exit
  -v, –verbose         enable verbosity – multiple -v options increase
  -a, –findall         Find all WAFs, do not stop testing on the first one
  -r, –disableredirect
                        Do not follow redirections given by 3xx responses
  -t TEST, –test=TEST  Test for one specific WAF
  -l, –list            List all WAFs that we are able to detect
  –xmlrpc              Switch on the XML-RPC interface instead of CUI
                        Specify an alternative port to listen on, default 8001
  -V, –version         Print out the version

Everything has its limitation, wafw00f has also some limitation. It can only detect the firewalls which are listed in the script database, so it is recommended that you should update your tool. In the following example you can see that the firewall name was not fetched by wafw00f.

Note: If you want to learn more about Linux and Windows based Penetration testing, you might want to subscribe our RSS feed and Email Subscription  or become our Facebook fan! You will get all the latest updates at both the places.
Ehacking Staff
With more than 50 global partners, we are proud to count the world’s leading cybersecurity training provider. EH Academy is the brainchild of Ehacking, which has been involved in the field of training since the past Five years and continues to help in creating professional IT experts.

Most Popular

What Makes ICS/OT Infrastructure Vulnerable?

Infrastructure security for operational technologies (OT) and industrial control systems (ICS) varies from IT security in several ways, with the inverse confidentiality, integrity, and...

Everything You Must Know About IT/OT Convergence

What is an Operational Technology (OT)? Operational technology (OT) is a technology that primarily monitors and controls physical operations. It can automate and control machines,...

Understand the OT Security and Its Importance

This article discusses OT security and why it is essential for protecting industrial systems from cyberattacks. We will also discuss common control objectives that can...

What is Deepfake, and how does it Affect Cybersecurity?

Producing deepfake is easy. It is hard to detect. They operate with a description of reality rather than reality itself (e.g., a video). Any...