Resources

The Essentials of Firewall Audits

The Essentials of Firewall Audits

A firewall audit cannot say whether your rules are right for the business, only whether they match what someone documented. It is still the cheapest way to find the rules nobody remembers adding.

Rule base review vs configuration check

A firewall security audit usually runs two passes that get confused with each other. The configuration check looks at the device: admin accounts, management access, weak or default settings, open management ports, and permissive defaults. The rule base review looks at the traffic policy itself, rule by rule.

The rule base is where most of the findings come from. Typical problems:

  • Redundant or shadowed rules that never match because an earlier rule catches the traffic first
  • Rules for servers that were decommissioned years ago
  • Overly broad rules, the classic being “any source, any destination, any service”
  • Temporary vendor access that never got removed
  • Rules in the wrong order, so a broad allow sits above a specific deny

Rule order is the one that causes real incidents, because the firewall acts on the first match and ignores everything below it.

Two rule orders compared: a broad allow rule above a specific deny rule never reaches the deny, while the reverse order blocks the listed range

Policy review sits a level above both. Someone has to ask whether each rule still has a business owner and a reason, and if nobody can answer, the rule is a candidate for removal. Obviously, you remove it in a change window with a rollback ready, not on a Friday evening.

Access control comes last. Who can edit the firewall matters as much as what it blocks.

Admin rights should follow least privilege, with named accounts instead of a shared login. Check who can push changes, whether changes need a ticket, and whether anyone reviews them before they go live. A firewall that anyone on the network team can edit without a record is a rule base nobody can audit later, whatever the policy document says. Pull the admin list and compare it to the current org chart, since leavers’ accounts are a common finding.

Logs and patches

Logs are only useful when someone reads them.

An auditor checks that logging is switched on for the rules that matter, that retention is long enough to cover an incident investigation, and that the output flows into a Security Information and Event Management (SIEM) system, where alerts can fire without anyone scrolling through raw files.

Firmware is the other half.

A firewall running old firmware with a published vulnerability is a hole in the wall, and edge devices are a favorite target because they face the internet. Compare the running version to the vendor’s current advisories, not to whatever was installed at purchase.

Schedule and records

PCI DSS (version 4.0 onward) requires network security control configurations to be reviewed at least once every six months. Other frameworks are less specific, so quarterly or twice a year is a sensible default, plus an extra review after any big network change. Actually, an acquisition or a cloud move deserves one even earlier, because those are the moments when old rules and new networks collide and nobody is sure which traffic is still legitimate.

Nobody remembers why a rule exists six months after it was added.

Automated tools help once the rule base passes a few hundred rules, because nobody reads that many by eye. A baseline of approved configurations lets each audit compare against something real, and written findings give the next auditor a starting point.

An outside auditor now and then helps. Internal teams get used to their own rules.

Bogdan Sandu

Stay sharp. Ship better code.

Every week: one curated article, one tool worth knowing, one tip you can use tomorrow. No noise, no padding.