LightBulb is an open source python framework for auditing web applications firewalls.
The framework consists of two main algorithms:
* GOFA: An active learning algorithm that infers symbolic representations of automata in the standard membership/equivalence query model.
* Active learning algorithms permits the analysis of filter and sanitizer programs remotely, i.e. given only the ability to query the targeted program and observe the output.
* SFADiff: A black-box differential testing algorithm based on Symbolic Finite Automata (SFA) learning*
* Finding differences between programs with similar functionality is an important security problem as such differences can be used for fingerprinting or creating evasion attacks against security software like Web Application Firewalls (WAFs) which are designed to detect malicious inputs to web applications.
Motivation:
Web Applications Firewalls (WAFs) are fundamental building blocks of modern application security. For example, the PCI standard for organizations handling credit card transactions dictates that any application facing the internet should be either protected by a WAF or successfully pass a code review process. Nevertheless, despite their popularity and importance, auditing web application firewalls remains a challenging and complex task. Finding attacks that bypass the firewall usually requires expert domain knowledge for a specific vulnerability class. Thus, penetration testers not armed with this knowledge are left with publicly available lists of attack strings, like the XSS Cheat Sheet, which are usually insufficient for thoroughly evaluating the security of a WAF product.
Download and Usage from source:
For apt (ubuntu, debian...): sudo apt-get install flex sudo apt-get install python-pip sudo apt-get install python-dev sudo apt-get install build-essential For yum (centos, redhat, fedora...): sudo yum install python-pip sudo yum install python-devel sudo yum groupinstall 'Development Tools' git clone https://github.com/lightbulb-framework/lightbulb-framework cd lightbulb-framework make lightbulb status In order to perform complete package installation You can also install it from pip repository: pip install lightbulb-framework lightbulb status