You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Synthetic traffic generators and fuzzers for coverage
CSIC2010
Data Collection
Run a DVWA locally
Open Burpsuite and start intercepting the web request through Burpsuite using FoxyProxy
Normal Web Request Data:
Browse the DVWA normally for normal web request data.
Now save the collected web request data from Burpsuite in csv file.
Malicious Web Request Data:
Run an automated SQLi Attack using different tools.
Now save the collected web request data from Burpsuite in csv file.
Now combine both the csv files.
Training the model
Preprocessing
Feature Extraction
Train-Test Split
Building Pipeline
Training the model: Training the model pipeline on collected web request data.
Testing the model
Building the WAF reverse proxy
Usage Guide (Proxy Based Setup)
Run a DVWA locally
Install FoxyProxy extension in your browser
Add your laptop's IP address in FoxyProxy as new proxy as http://[ip]:8081
Access the DVWA in your browser by visiting http://[ip]/DVWA
Turn on your new proxy (your waf proxy) from FoxyProxy
Run your proxy server by running
python proxy_server.py
Now you can normally browse the DVWA, while browsing it your can see your proxy server will display those request's as approved (Green Flag), those are legit requests, but when you try to attempt a SQLi (SQL Injection) Attack in 'SQL Injection' tab in DVWA, then you can see that this request will be flaged as malicious (Red Flag) and the request will be blocked by the firewall proxy.