将静态代码分析应用于防火墙策略以实现异常检测
Applying static code analysis to firewall policies for the purpose of anomaly detection
Applying static code analysis to firewall policies for the purpose of anomaly detection
@misc{zaliva2011applying,
title = {Applying static code analysis to firewall policies for the purpose of anomaly detection},
author = {Vadim Zaliva},
year = {2011},
eprint = {1102.1237},
archivePrefix = {arXiv},
primaryClass = {cs.PL},
url = {https://arxiv.org/abs/1102.1237}
}
Zaliva, V. (2011). Applying static code analysis to firewall policies for the purpose of anomaly detection [Preprint]. arXiv. https://doi.org/10.48550/arXiv.1102.1237
ZALIVA V. Applying static code analysis to firewall policies for the purpose of anomaly detection[EB/OL]. (2011-02-07)[2026-11-29]. https://arxiv.org/abs/1102.1237.
摘要
本文尝试将现代防火墙策略语言视为命令式专用编程语言,并应用静态代码分析技术以实现异常检测。首先,我们将通用防火墙策略语言中的策略抽象为中间语言,随后应用异常检测算法。本文的主要贡献如下:1. 分析流行防火墙策略语言中的各种控制流指令;2. 引入一种强调控制流构造的中间防火墙策略语言;3. 将静态代码分析应用于中间防火墙策略语言表达的防火墙策略以检测异常;4. 使用 Datalog 语言实现基于本文抽象语言的防火墙策略静态代码分析的示例系统。
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 Static Code Analysis to detect anomalies in firewall policy, expressed in intermediate firewall policy language. 4. Sample implementation of Static Code Analysis of firewall policies, expressed in our abstract language using Datalog language.