NAXSI - Open-source WAF for NGINX, NAXSI

Overview

NAXSI is an open-source, high performance, low rules maintenance WAF for NGINX. NAXSI means Nginx Anti Xss & Sql Injection.

 

Technically, it is a third party nginx module, available as a package for many UNIX-like platforms. This module, by default, reads a small subset of simple (and readable) rules containing 99% of known patterns involved in website vulnerabilities. For example, <, | or drop are not supposed to be part of a URI.

 

Being very simple, those patterns may match legitimate queries, it is the Naxsi's administrator duty to add specific rules that will whitelist legitimate behaviours. The administrator can either add whitelists manually by analyzing nginx's error log, or (recommended) start the project with an intensive auto-learning phase that will automatically generate whitelisting rules regarding a website's behaviour.

In short, Naxsi behaves like a DROP-by-default firewall, the only task is to add required ACCEPT rules for the target website to work properly.

 

How to get this tool

To use this tool, please use a method listed below.

In a Linux (Debian OS), run the following command(s).

git clone https://github.com/nbs-system/naxsi.git

 

Download directly from the following link:

 

How to execute

**Pending**

 

References:

 

-----

Next steps:

 

This article was contributed by Racquel Bailey from Jamaica. Racquel is a member of the Caribbean CSPA.

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Article is closed for comments.