Aplicação de análise estática de código às políticas de firewall para detecção de anomalias
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.
Resumo
Tratando as linguagens modernas de políticas de firewall como linguagens de programação imperativas e especializadas, neste artigo tentamos aplicar técnicas de análise estática de código com o objetivo de detecção de anomalias. Primeiramente, abstraímos uma política em uma linguagem comum de políticas de firewall para uma linguagem intermediária e, em seguida, aplicamos algoritmos de detecção de anomalias a ela. As contribuições deste trabalho são: 1. Uma análise de várias instruções de fluxo de controle em linguagens populares de políticas de firewall; 2. Introdução de uma linguagem intermediária de políticas de firewall, com ênfase em construtos de fluxo de controle; 3. Aplicação de Static Code Analysis para detectar anomalias em políticas de firewall, expressas na linguagem intermediária de políticas de firewall; 4. Implementação de amostra de Static Code Analysis de políticas de firewall, expressas em nossa linguagem abstrata, utilizando a linguagem 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.