Semantics-preserving simplification of real-world firewall rule sets

Cornelius Diekmann, Lars Hupel, Georg Carle

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

5 Scopus citations

Abstract

The security provided by a firewall for a computer network almost completely depends on the rules it enforces. For over a decade, it has been a well-known and unsolved problem that the quality of many firewall rule sets is insufficient. Therefore, there are many tools to analyze them. However, we found that none of the available tools could handle typical, real-world iptables rulesets. This is due to the complex chain model used by iptables, but also to the vast amount of possible match conditions that occur in real-world firewalls, many of which are not understood by academic and open source tools. In this paper, we provide algorithms to transform firewall rulesets. We reduce the execution model to a simple list model and use ternary logic to abstract over all unknownmatch conditions.These transformations enable existingtools tounderstandreal-worldfirewall rules,whichwe demonstrate on four decently-sized rulesets. Using the Isabelle theorem prover, we formally showthat all our algorithms preserve the firewall’s filtering behavior.

Original languageEnglish
Title of host publicationFM 2015
Subtitle of host publicationFormal Methods - 20th International Symposium, Proceedings
EditorsNikolaj Bjorner, Frank de Boer
PublisherSpringer Verlag
Pages195-212
Number of pages18
ISBN (Electronic)9783319192482
DOIs
StatePublished - 2015
Event20th International Symposium on Formal Methods, FM 2015 - Oslo, Norway
Duration: 24 Jun 201526 Jun 2015

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume9109
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference20th International Symposium on Formal Methods, FM 2015
Country/TerritoryNorway
CityOslo
Period24/06/1526/06/15

Keywords

  • Computer networks
  • Firewalls
  • Isabelle
  • Netfilter Iptables
  • Semantics

Fingerprint

Dive into the research topics of 'Semantics-preserving simplification of real-world firewall rule sets'. Together they form a unique fingerprint.

Cite this