We earn commission when you buy through affiliate links.

This does not influence our reviews or recommendations.Learn more.

But before that…

What is WAF?

Article image

WAF (Web tool Firewall) plays a significant role in website security.

They filter and monitor the traffic.

Web program Firewalls provide protection against major flaws.

Many organizations are modernizing their infrastructure to include web utility firewalls.

An HTTP interaction is subjected to a set of rules.

These rules address typical vulnerabilities like cross-site scripting and SQL injection in general.

There are many free and open-source tools on the internet that can discover the firewalls behind web applications.

like note:In this tutorial, I have used my own site for enumerating the details.

Dont perform scanning or other hacking activity on any website without prior permission from the owner.

Manual Discovery

Detecting using TELNET

Telnetis mainly used by connection administrators and penetration testers.

Telnet enables you to connect to remote hosts over any port, as previously stated.

After running the command above, writeHEAD / HTTP / 1.1and press the enter key.

Automated Discovery

#1.

After using the above Nmap command, the Citrix Netscaler firewall was detected.

#2.

Detecting using Whatwaf

Whatwafis a security tool for fingerprinting web apps and detecting the presence of any WAF.

This tool is useful for determining whether a web program is protected by a WAF during security assessments.

If this is the case, bypassing and avoidance strategies may be helpful in furthertesting or exploiting the onlineapplication.

Firewall bypassing, utility detection, utility fingerprinting, and software identification are all frequent uses for WhatWaf.

NetworkPen-testers and security professionals are the intended users of this program.

Whatwaf firewall detection tool is straightforward to use!

We can also use the tor service to scan for the WAF, but it may increase the latency.

#3.

Detecting Using Wafw00f

The most well-known tool for detecting the web app firewall isWafw00f.

Wafw00f sends an HTTP request to the web software firewall to identify it.

When sending HTTP requests fails, wafw00f makes a malicious HTTP request.

Wafw00f isnt preinstalled in Kali Linux distributions.

The zip package is available for download from the official GitHub source.

Download the Wafwoof Tool.

you’ve got the option to also use the git client to clone the repository.

The setup file will be processed, and wafw00f will be installed in the system.

To use this tool, run this command.

REMINDER Only scan the websites that you are permitted to test

Too bad, firewall was detected!

We will try a different target website for the discussion purpose.

No Firewall is detected this time.

And to use it in verbose mode, execute the following command.

you might see a few additional capabilities of this utility by executing this command.

According to an ethical hacking researcher, having a web software firewall (WAF) is increasingly necessary.

Analyzing your web tool logs to detect new assaults occurring on the back-end web tool server is always important.

This allows you to customize rules in your web utility firewall to provide the highest level ofprotection.

You may also be interested in reading:Vulnerabilities using Nikto Scanner.