Bookmarks

NGFW — next-generation firewall

A class of firewalls that decide the fate of traffic not only by addresses and ports but also by applications: they recognise applications, carry a built-in IPS module and decrypt TLS.

Also: network firewall of the new generation

checked 9 Nov

All terms

A traditional firewall decides by addresses and ports: if port 443 is open, everything may pass. But web and API traffic goes through one and the same encrypted port, and packet headers no longer reveal what kind of traffic it is. An NGFW looks deeper: it recognises applications and users, hunts for attacks with a built-in IPS and inspects the contents of TLS.

What an NGFW adds

The main addition is application awareness: the firewall identifies an application from the contents of the traffic, even if it travels over the standard port 443 or goes to a non-standard port. The second is user awareness: traffic is tied to a user account, and the rule is written for a group of people rather than for a subnet.

CapabilityWhat it does
Application recognitionidentifies the application from the nature of the traffic, not from the port number
User profilesties rules to user accounts and groups, not to addresses
Intrusion prevention (IPS)looks for signs of vulnerability exploitation in the traffic flow and blocks them
TLS inspectiondecrypts HTTPS, checks the contents and encrypts it back

An example rule

The task: let developers work with GitHub and nobody else. A traditional firewall would have to open port 443 to everyone: by port alone it cannot tell GitHub from anything else. An NGFW recognises GitHub in the flow and knows from the user account who is behind the connection, so the rule “developers — GitHub” opens nothing else.

TLS inspection

Most web traffic is encrypted nowadays, and without decryption the firewall sees only an address and a port — like a traditional one. That is why an NGFW can decrypt TLS: the firewall’s root certificate is installed on client machines, the firewall terminates the connection, inspects the contents and encrypts them back. Not everything is decrypted: applications with certificate pinning — banking apps, messengers — are usually passed through unexamined: a substituted certificate would look like an attack to them.

Sources

the term is written from these pages

Verified 9 Nov

Not to be confused with

what it is mixed up with and how it differs

  • firewall

    A traditional firewall filters by addresses and ports; an NGFW adds application recognition, user profiles, IPS and TLS inspection.

  • IPSintrusion prevention system

    An IPS is a stand-alone system that hunts for attacks in the traffic flow; in an NGFW such a module is built in, but the firewall additionally filters traffic by applications and users.

  • WAFweb application firewall

    A WAF parses HTTP requests in front of a single web application; an NGFW sits at the network edge and filters all traffic.

In depth in the references

where the topic is covered in detail