Application-Level Firewall

Application-based proxy firewalls focus on the application layer rather than just the packets.

Application-level gateways configured as web proxies prohibit FTP, gopher, telnet, or other traffic.

For example, Worms that send malicious code in legitimate protocols cannot be detected by Stateful Firewalls, as proxy firewalls focus on packet headers in the network layer.

Features of Application-Level Firewalls

Modes of Application-Level Firewalls:

Example of Application-Level Firewall


Application-Level Firewalls, also known as Application-Level Gateways (ALGs) or Application-based Proxy Firewalls, are a highly sophisticated type of firewall that provides deep inspection capabilities by operating at the highest layer of the network model.

I. Characteristics and Operating Mechanism

Application-level firewalls focus on the Application Layer (layer-7) of the OSI model or the application layer of TCP/IP.

Core Functions

Operating Modes

Application-level firewalls can function in two modes:

  1. Active Application-Level Firewalls: These examine all incoming requests, including the actual message exchanged, against known vulnerabilities like SQL injection, parameter and cookie tampering, and cross-site scripting (XSS). Requests deemed genuine are allowed to pass through.
  2. Passive Application-Level Firewalls: These work similarly to an Intrusion Detection System (IDS). They check all incoming requests against known vulnerabilities but do not actively reject or deny requests if a potential attack is found.

Key Benefits

II. Deployment as Web Application Firewalls (WAFs)

A specialized and commonly discussed application of the application-level firewall is the Web Application Firewall (WAF).

III. Evasion and Countermeasures

Attackers view application-level proxies and protocol-parsing firewall elements as security measures that they must bypass.