Applying static code analysis to firewall policies for the purpose of anomaly detection

Vadim Zaliva
DOI: https://doi.org/10.48550/arXiv.1102.1237
2011-02-07
Abstract:Treating modern firewall policy languages as imperative, special purpose programming languages, in this article we will try to apply static code analysis techniques for the purpose of anomaly detection. We will first abstract a policy in common firewall policy language into an intermediate language, and then we will try to apply anomaly detection algorithms to it. The contributions made by this work are: 1. An analysis of various control flow instructions in popular firewall policy languages 2. Introduction of an intermediate firewall policy language, with emphasis on control flow constructs. 3. Application of \textit{Static Code Analysis} to detect anomalies in firewall policy, expressed in intermediate firewall policy language. 4. Sample implementation of \textit{Static Code Analysis} of firewall policies, expressed in our abstract language using Datalog language.
Programming Languages,Cryptography and Security,Networking and Internet Architecture
What problem does this paper attempt to address?