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

The Complete OSINT Tutorial to Find Personal Information About Anyone

This article mainly focuses on how to discover a person's digital footprint and gather personal data by using open-source intelligence (OSINT). So, in its...

How to find the password of hacked email addresses using OSINT

Open-source intelligence or OSINT is a potent technique, and it can give a lot of valuable information, if implemented correctly with the right strategy...

How to Identify Company’s Hacked Email Addresses Using Maltego & HaveIbeenPawned

This article is part of the Maltego OSINT tutorial, where you will learn to identify the already hacked account, and it’s password using the...

5 Key Vulnerabilities in Global Payroll

The cyber threat against payroll is growing in sophistication and frequency, according to the latest FBI cybercrime report. Many of these attacks exploit fixable...