Abstract
The increasing integration of Artificial Intelligence (AI) into cybersecurity reduces manual efforts and improves adaptability, but the probabilistic nature of AI renders its output unreliable, especially when used in network firewall policies. This uncertainty prevents direct, real-time enforcement, leading to critical windows of latency due to necessary human oversight. This paper presents PACE, a formal framework designed to constrain and adapt LLM-generated firewall policies for safe enforcement via the extended Berkeley Packet Filter (eBPF). PACE integrates an LLM-based policy generator with a formal verifier that rigorously checks each candidate rule against a semantic bounding constraint (Φ) and a set of mathematically defined safety invariants (I). The policies that fail verification are used to provide iterative feedback to refine future LLM prompts, automatically improving policy generation over time. We formally model this verification, so that safety properties are preserved even under dynamic rule composition and updates, providing strong theoretical guarantees. A prototype implementation of the verifier demonstrates the feasibility and efficiency of the proposed approach. It achieves high verification success rates and near-linear scalability. By establishing a proof-backed interface between probabilistic AI predictions and deterministic system security, PACE aims to reduce the time-to-mitigation (TTM) while ensuring provable enforcement correctness.
| Original language | English (US) |
|---|---|
| Title of host publication | Proceedings - 2025 IEEE International Conference on Big Data, BigData 2025 |
| Editors | Cheng-Zhong Xu, Leong Hou U, Xueqi Cheng, Jing Gao, Giuseppe Polese, Hong Mei, Paul Boniol, Michiaki Tatsubori, Chen Zhao, Dawei Zhou, Xiaohua Hu |
| Publisher | Institute of Electrical and Electronics Engineers Inc. |
| Pages | 7835-7844 |
| Number of pages | 10 |
| Edition | 2025 |
| ISBN (Electronic) | 9798331594473 |
| DOIs | |
| State | Published - 2025 |
| Externally published | Yes |
| Event | 2025 IEEE International Conference on Big Data, BigData 2025 - Macau, China Duration: Dec 8 2025 → Dec 11 2025 |
Conference
| Conference | 2025 IEEE International Conference on Big Data, BigData 2025 |
|---|---|
| Country/Territory | China |
| City | Macau |
| Period | 12/8/25 → 12/11/25 |
All Science Journal Classification (ASJC) codes
- Artificial Intelligence
- Computer Networks and Communications
- Computer Science Applications
- Information Systems
- Information Systems and Management
- Safety, Risk, Reliability and Quality
Keywords
- Artificial Intelligence
- eBPF
- Firewall
- Formal Verification
- Large Language Model
Fingerprint
Dive into the research topics of 'PACE: Policy Adaptation for Cybersecurity Events Through Formal Verification of LLM-Generated Firewall Policies'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver