SafeLine WAF on a bare-metal hypervisor
A web application firewall running as its own security VM on a KVM/QEMU hypervisor, inspecting every request before it reaches the web application.
Personal project
- KVM / QEMU
- NGINX
- ModSecurity v3
- OWASP CRS
- iptables
- Ubuntu
Read case study: SafeLine WAF on a bare-metal hypervisor
Problem
Web applications face SQL injection, XSS, command injection, path traversal and flood attacks, and need protection that sits in front of the app rather than inside it.
Approach
A dedicated WAF virtual machine on a Type-1 hypervisor with three protection layers: iptables and kernel hardening at the network layer, NGINX rate limiting at the application layer, and ModSecurity with the OWASP Core Rule Set inspecting payloads.
Result
Blocks SQL injection, XSS, remote code execution, local file inclusion, path traversal and DoS/DDoS traffic before it reaches the backend, with scripts for setup, testing and monitoring.