Journal of Cybersecurity and Privacy· 2026Q1
The Price of Auditing a Firewall: Query Complexity of Black-Box Verification for Listed-Rule and Tree-Rule Policies
- 0citations
- Q1SCImago
- 2026year
Short summary
Auditing firewalls using black-box methods requires at least 2^104 - 1 probes for a single-rule IPv4 policy without side information, and a Tree-Rule policy with m leaves can be reconstructed using (m - 1)(logW + d) + 2m probes when identity feedback and one witness per rule are available.
AI-generated from the title and abstract; the full text is not read.
Key points
- Black-box firewall verification is analyzed using query complexity, with oracles mimicking auditor observations like action-only queries and identity feedback.
- Shadowed rules within a firewall policy are proven to be invisible to any black-box observer.
- A single-rule IPv4 policy requires a minimum of 2^104 - 1 probes for verification without additional information.
- Tree-Rule policies with m leaves can be reconstructed with (m - 1)(logW + d) + 2m probes when identity feedback and witness packets are provided.
AI-generated from the title and abstract; the full text is not read.
Abstract
Firewalls are audited, reverse-engineered and tested by sending packets and observing whether they pass, yet the literature offers algorithms, not lower bounds. We formulate black-box firewall verification as a query-complexity problem in Angluin’s exact-learning framework, with oracles matched to what auditors and attackers observe: action-only queries, identity queries (hit counters or exact flow logs) and witness packets from captured traffic. We prove that the contents of shadowed rules are invisible to every black-box observer; that without side information even a single-rule policy on the IPv4 5-tuple needs 2104 − 1 probes; and that with one witness per rule and identity feedback, a Tree-Rule policy whose m leaves the identity oracle names is reconstructed with (m − 1)(logW + d) + 2m probes (m equals the minimal-tree size when the deployed tree is minimal), with the number d of header fields entering only additively, against the bound 2n · Σ logWj + n for a disjoint list of n rules. A fixed certificate of 3m − 2 packets is complete against structural misconfigurations, and N traffic samples bound the expected reconstruction error by m/(eN). Exact simulations and a real iptables testbed give results consistent with the bounds, and 16 production-derived rule sets show how policy structure drives the cost: for three host and container policies the tree needs 13–26 times fewer probes than the bound for a disjoint list of the same size, whereas cross-product policies inflate the tree by up to 83×, making overlapping rule lists the central open problem.
The authors' abstract, as published at the source. Journal of Cybersecurity and Privacy, 2026 · DOI ↗
Continue with a free account
Ask the paper: 5 free questions a day about this paper; save it, get its citation, new summaries every day for your field. Takeaways are Premium.
Continue free on the webSign in with Google or Apple; no card needed. You come back to this paper.
On your phone:
Field: Hardware and Architecture
Hardware and ArchitectureComputer Science