By Ashishh Jha, Head of Cyber Security Services, Bluefire Redteam — 12+ years in offensive security
Remote Internal Pentest Series · 3 of 6
Most pentests check for paths that are open when they shouldn’t be. Mature testing also checks for paths that are closed when they shouldn’t be. The second kind matters more than you think.
Firewall drift is a mismatch between a firewall’s documented policy and its observed behavior. It has two forms: observed-looser-than-policy (a security risk) and observed-stricter-than-policy (a governance risk — an integrity gap between what IT believes the firewall does and what it actually does). Mature internal testing checks for both, against ISO 27001 A.8.9 and A.8.22.
TL;DR — There are two kinds of firewall drift. Observed-looser-than-policy is a security risk. Observed-stricter-than-policy is a governance risk, an integrity gap between what IT thinks the firewall does and what it actually does. Both matter. ISO 27001 A.8.9 (configuration management) and A.8.22 (segregation of networks) both call for the reconciliation. Most pentest reports we review don’t even look.
The symmetric test
Ask the customer for their documented firewall policy before you test. Not a verbal “we block cross-VLAN” — the actual ruleset summary, or at least a policy matrix at the VLAN-pair level. On a recent engagement, this conversation unfolded over four emails with the customer’s infrastructure supervisor, including a clarifying mail where they stated:
Site 1 implements selective inter-VLAN connectivity; VLAN 42 to VLAN 45, VLAN 45 to VLAN 52, and VLAN 45 to VLAN 53 are permitted bidirectionally under the existing firewall policy.
With the policy in hand, you run a full matrix — both directions for every in-scope VLAN pair — and tabulate what you observe against what policy says.
| Path | Policy | Observed | Verdict |
| VLAN 42 -> VLAN 45 | ALLOW | BLOCKED | DRIFT (stricter) |
| VLAN 45 -> VLAN 52 | ALLOW | BLOCKED | DRIFT (stricter) |
| VLAN 45 -> VLAN 53 | ALLOW | BLOCKED | DRIFT (stricter) |
| VLAN 42 -> VLAN 52 | BLOCK | BLOCKED | PASS |
| VLAN 52 -> VLAN 53 | BLOCK | BLOCKED | PASS |
Six paths (three bidirectional pairs) observed stricter than documented policy. Not a single open path that shouldn't be. Every traditional pentest report would call this a PASS and move on.
Why stricter-than-policy is still a finding
A security team’s firewall is a control. The documented policy is the control’s specification. When the implementation diverges from the specification — in either direction — the control’s integrity is in question. Three specific problems follow from stricter-than-policy drift:
- Operational surprise. When a team tries to deploy a new service that the documented policy would permit, it will fail unexpectedly. Debugging time wasted, engineer confidence in the documentation eroded.
- Audit integrity. ISO 27001 A.8.9 (configuration management) requires documented, controlled, verifiable configuration. SOC 2 CC6.6 requires monitored boundary controls. An auditor reading the customer’s policy document and then seeing live behavior that doesn’t match has a finding of their own.
- Hidden fix needed. Somebody at some point made an undocumented change. Who, when, why, and is it covered by change management? The finding isn’t the stricter rule — it’s that the change isn’t visible in the system of record.
We report these as Low severity because they aren’t security weaknesses. We report them explicitly because they are integrity findings the customer can fix: either update the documented policy to match live behavior, or restore the live behavior to match the policy. Either is correct; the current state — divergent — is not.
The customer response pattern
In our experience, this finding lands two ways. Some customers initially push back (“but it’s safer than documented, so it’s fine, right?”). Patient explanation of the audit-integrity dimension almost always converts them. Other customers respond immediately with “we need to talk to whoever changed that rule” — because they know their change management process didn’t log it, and that’s the real problem.
Either way, the finding signals to the customer’s own leadership that their pentest vendor is thinking like an auditor, not just a scanner. That tends to be remembered at renewal time.
Observed stricter than policy is not a security weakness. It is a governance one. An auditor reading your ISO 27001 statement of applicability deserves to know.
How to test for it mechanically
You need the symmetric test matrix. For each in-scope VLAN pair A->B, and each pair B->A, with a source-bound socket from the source segment to a known-live destination service in the target segment, record the observed result (reachable / not reachable) and cross-reference to the policy. The format that works well:
| Source | Destination | Policy | Observed | Verdict |
| VLAN 42 | VLAN 45 | ALLOW | BLOCKED | DRIFT |
| VLAN 42 | VLAN 52 | BLOCK | BLOCKED | PASS |
| VLAN 45 | VLAN 42 | ALLOW | BLOCKED | DRIFT |
Four verdicts cover every cell: PASS, FAIL (looser than policy), DRIFT (stricter than policy), N/T (not tested). The matrix itself becomes an auditor-grade exhibit. Our internal network penetration testing delivers this policy-vs-observed matrix as a standard exhibit.
Takeaway for buyers. When reviewing a draft VAPT report, look for the segmentation section and ask: “Did you test paths the policy claims are permitted, or only paths the policy claims are blocked?” If the answer is only the latter, you’re getting half the test. The drift risk is real — and only visible under symmetric testing.
FAQ - Firewall Drift
- What is firewall drift?A mismatch between a firewall's documented policy and its observed behavior — either looser than policy (a security risk) or stricter than policy (a governance and audit-integrity risk).
- Why is a stricter-than-policy firewall rule still a finding?Because the control no longer matches its specification. It causes operational surprises, fails audits (ISO 27001 A.8.9), and signals an undocumented change outside change management.
- How do you test for firewall drift?Run a symmetric segmentation matrix: test every in-scope VLAN pair in both directions with source-bound sockets, then reconcile observed results against the documented policy.
- Which standards require firewall policy reconciliation?ISO 27001 A.8.9 (configuration management) and A.8.22 (segregation of networks), and SOC 2 CC6.6 (monitored boundary controls).
Want this run against your network, remotely, with proof? Get a scoped internal network penetration testing quote in 5 hours. Grab the Internal Network Pentest Checklist first.
Remote Internal Pentest Series — how Bluefire Redteam runs a modern internal engagement:
- Internal Pentest Infrastructure
- The nmap Segmentation Trap
- Firewall Drift (you are here)
- Wireless Architecture Testing
- Non-Destructive Proof
- Engagement Rhythm