This website uses cookies. By continuing to browse the site, you confirm your consent to the use of these files.

WAF (Web Application Firewall)

Information Security

WAF (Web Application Firewall) is an application-level firewall that protects web applications and APIs from attacks such as SQL injections, XSS and DDoS by filtering HTTP/HTTPS traffic.

What is WAF

WAF (Web Application Firewall) is a specialized solution for ensuring the security of web applications, API gateways and websites, operating at the application level (L7) of the OSI model. Unlike classic firewalls, which analyze IP addresses and ports, a WAF "looks" inside HTTP requests: methods, URI, headers and the request body, deciding whether to pass the traffic or block it.

How WAF works: HTTP traffic filtering, signatures, behavior, blocking WAF workflow diagram: user → request → WAF (SQL/XSS signatures, behavioral analysis) → legitimate request to the web application or attack blocking with notification to SIEM/SOC. How WAF works Web Application Firewall — web application protection 👤 User 🛡️ WAF (Web Application Firewall) HTTP/HTTPS analysis · Signatures · ML behavior Legitimate ✅ Web application Request passed Attack ❌ Blocking Notification to SIEM/SOC Protection against SQL injection, XSS, CSRF, L7 DDoS and other OWASP Top 10 attacks
WAF (Web Application Firewall) — diagram 1

In simple terms, if an ordinary firewall is a guard at the entrance to a building who checks your pass, then a WAF is an inspector who checks the contents of your bag to make sure you are not carrying weapons (malicious code). A WAF analyzes every request to your site or application and blocks suspicious ones.

A WAF is a mandatory element of protection for companies working with the digital ruble, FPS and state information systems, since web interfaces often become the main entry point for hackers. According to Positive Technologies, more than 70% of all attacks on web applications in Russia in 2025 were related to SQL injections and XSS vulnerabilities, which are effectively blocked by a WAF.

In the conditions of import substitution, Russian WAF solutions are included in the Register of Domestic Software and certified by FSTEC for protecting critical information infrastructure (CII) facilities.

How a WAF works

A WAF uses several methods to detect and block attacks, operating in real time (inline):

  1. Signature analysis: Comparing incoming requests with a database of known attacks (for example, SQL injections, XSS, RCE). Databases are updated regularly (daily or weekly) and contain thousands of signatures for various types of attacks.
  2. Behavioral analysis: Machine learning detects anomalies in traffic: uncharacteristic request patterns, activity spikes or suspicious sequences of actions. The system learns from typical traffic and detects deviations.
  3. Compliance with standards: Blocking requests that violate protocol specifications (for example, HTTP Smuggling, incorrect headers, non-standard methods).
  4. Bot protection: Behavior analysis (CAPTCHA, timing analysis, User-Agent verification) to filter out automated traffic and protect against bruteforce and DDoS attacks at the application level.

A WAF can operate in "learning mode", when the system only collects data about legitimate traffic and builds a profile of normal behavior, and in "blocking mode", when all suspicious requests are rejected. The choice of mode and fine tuning of rules is often performed within the automated systems design and development service.

Main types of WAF

WAF solutions are classified by the method of deployment, which affects performance, manageability and the level of security:

  • Cloud (Cloud WAF / SaaS): Provided as a subscription service. They do not require equipment installation on the client side, are easily scaled and updated centrally. Suitable for small and medium-sized businesses and companies with distributed infrastructure. Examples: Cloudflare WAF, AWS WAF.
  • Software (On-Premise): Installed on the company's own servers in its infrastructure. They provide full control over data and configuration, which is critical for CII facilities and government systems. Examples: PT Application Firewall (Positive Technologies), ModSecurity.
  • Hardware: Physical devices installed in data centers in front of web servers. They provide maximum performance and low latency, and are suitable for high-load systems. Usually used in large corporations and data centers.

When choosing a WAF, it is important to consider integration with the existing infrastructure: SIEM systems for collecting logs and data storage systems for archiving security events.

WAF types: cloud (SaaS), software (On-Premise), hardware (Hardware) Diagram of WAF types: cloud (Cloudflare, AWS WAF), software (ModSecurity, PT Application Firewall), hardware (for data centers) with usage in the government sector and for critical information infrastructure (CII). WAF types Choice by infrastructure WAF ☁️ Cloud (SaaS) Cloudflare · AWS WAF Easy scaling Centralized updates Small and medium business 💻 Software (On-Premise) ModSecurity · PT Application Firewall Full control Data localization Government bodies · CII 🖥️ Hardware Maximum performance · For data centers and high-load systems The choice depends on security, performance and localization requirements
WAF (Web Application Firewall) — diagram 2

Why a WAF is needed and how it protects

A WAF protects web applications from the most common threats described in the OWASP Top 10:

  • Injections (SQL, NoSQL, OS Command): Blocking attempts to inject malicious code into requests to a database or operating system. For example, blocking the request `' OR 1=1 --` in a URL parameter.
  • Cross-Site Scripting (XSS): Preventing the injection of JavaScript code into site pages that can steal cookies or redirect the user to a phishing site.
  • Cross-Site Request Forgery (CSRF): Protection from attacks that force a user to perform unwanted actions on a site where he is authorized (for example, transferring money).
  • DDoS attacks at the application level (L7 DDoS): Filtering out bot traffic imitating legitimate requests (for example, mass GET requests to heavy pages).
  • Bruteforce (password guessing): Blocking multiple failed login attempts, protection from automated password guessing.

The implementation of a WAF as part of a comprehensive security system is often accompanied by attestation testing and staff training on training courses.

Frequently asked questions

How is a WAF different from an ordinary firewall?

An ordinary firewall works at the network and transport levels (L3-L4), analyzing IP addresses, ports and protocols. A WAF works at the application level (L7) and analyzes the contents of HTTP requests: parameters, headers, request body. For example, a firewall will let an SQL injection through if it comes on an allowed port 443 (HTTPS), while a WAF will block it, seeing malicious code in the request parameters.

What Russian WAF solutions are on the market?

Both own developments and localized solutions are presented in Russia. Popular domestic WAFs include PT Application Firewall (Positive Technologies), Webmonitorx ProWAF, SolidWall WAF and UserGate WAF. Most of them are included in the Register of Domestic Software and have FSTEC certificates, which makes them mandatory for use in state information systems and at CII facilities.

How does a WAF protect against DDoS attacks?

A WAF protects against L7 DDoS attacks (at the application level) that imitate the behavior of real users (for example, mass GET requests to heavy pages or POST requests with large amounts of data). Unlike network DDoS protections, a WAF analyzes behavioral patterns: the frequency of requests from one IP, User-Agent, cookies and timings. Cloud WAFs also integrate with CDN for load distribution and traffic filtering at the network edge.

Is a WAF a cloud service or local software?

A WAF can be both cloud (SaaS) and local (on-premise). Cloud WAF does not require equipment installation, is easily scaled, updated centrally and is suitable for small and medium-sized businesses. Local WAF is installed in the company's infrastructure and provides full control over data, which is critical for government structures and CII facilities. The choice of variant is discussed at the stage of security system design.

How does a WAF integrate with SIEM systems?

A WAF generates event logs (blocks, warnings, anomalies) that are transferred to the SIEM system via syslog, SNMP or API protocols. In SIEM, WAF logs are correlated with data from other protection tools (firewalls, antiviruses, DLP, EDR) to detect complex attacks and restore the attack chain. This allows the information security monitoring center (SOC) to promptly respond to incidents and conduct investigations.

Is it difficult to configure a WAF and does it require special knowledge?

Configuring a WAF requires professional knowledge in the field of web application security, since incorrect configuration can lead to false blocks of legitimate traffic (false positives) or, on the contrary, to missing attacks. Modern WAFs support a learning mode in which the system analyzes typical traffic and automatically forms rules. For complex projects, it is recommended to involve specialists — the design service and training courses help avoid typical errors.

Which attacks cannot a WAF prevent?

A WAF does not protect against all types of threats. It cannot prevent network-level attacks (for example, L3/L4 DDoS), vulnerabilities in server software, insider threats (employee actions) and physical data theft. Also, a WAF cannot protect against attacks using legitimate requests (for example, business logic attacks). Therefore, a WAF should be used in combination with other protection tools: firewalls, EDR/XDR, antiviruses and monitoring systems.

Was this information helpful?

Protect your network today

Leave a request — our information security specialists will help you select, configure and integrate waf (web application firewall) into your infrastructure. We will protect your data from threats.

Guaranteed result
Selection for your budget
Comprehensive approach
Certified experts

Or contact us:

+7 (499) 238-01-32 sales@fintech.ru

Open from 9:00 am to 6:00 pm