What is a WAF
RAIJIN Security Research · Glossary Draft, to be checked again before launch
WAF stands for Web Application Firewall. It sits in front of a website, inspects every HTTP request and blocks the ones that are attacks.
What a WAF blocks
Mainly attacks on the web application itself, such as SQL injection, XSS, path traversal and command injection. It can also limit malicious crawlers and brute-force attempts.
WAF vs. a network firewall
A network firewall looks at IP addresses and ports to decide who may connect. A WAF looks at the content of a request to judge what it is trying to do. They work at different layers and cannot replace each other.
Rule-based WAF and AI WAF
A rule-based WAF matches attack patterns against rules written in advance. It blocks known attacks accurately but can miss them when the syntax changes. An AI WAF also uses a model to analyze the meaning of the request, so it can recognize variants it has not seen before.
When you need a WAF
Any site with a login, a form or an API is worth putting behind a WAF. It can also block attacks during the gap between a high-risk vulnerability being published and your fix going live.