On Automating Security Policies with Contemporary LLMs

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Saura, Pablo Fernández, Jayaram, K. R., Isahagian, Vatche, Bernabé, Jorge Bernal, Skarmeta, Antonio
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866909639240581120
author Saura, Pablo Fernández
Jayaram, K. R.
Isahagian, Vatche
Bernabé, Jorge Bernal
Skarmeta, Antonio
author_facet Saura, Pablo Fernández
Jayaram, K. R.
Isahagian, Vatche
Bernabé, Jorge Bernal
Skarmeta, Antonio
contents The complexity of modern computing environments and the growing sophistication of cyber threats necessitate a more robust, adaptive, and automated approach to security enforcement. In this paper, we present a framework leveraging large language models (LLMs) for automating attack mitigation policy compliance through an innovative combination of in-context learning and retrieval-augmented generation (RAG). We begin by describing how our system collects and manages both tool and API specifications, storing them in a vector database to enable efficient retrieval of relevant information. We then detail the architectural pipeline that first decomposes high-level mitigation policies into discrete tasks and subsequently translates each task into a set of actionable API calls. Our empirical evaluation, conducted using publicly available CTI policies in STIXv2 format and Windows API documentation, demonstrates significant improvements in precision, recall, and F1-score when employing RAG compared to a non-RAG baseline.
format Preprint
id arxiv_https___arxiv_org_abs_2506_04838
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle On Automating Security Policies with Contemporary LLMs
Saura, Pablo Fernández
Jayaram, K. R.
Isahagian, Vatche
Bernabé, Jorge Bernal
Skarmeta, Antonio
Cryptography and Security
Artificial Intelligence
The complexity of modern computing environments and the growing sophistication of cyber threats necessitate a more robust, adaptive, and automated approach to security enforcement. In this paper, we present a framework leveraging large language models (LLMs) for automating attack mitigation policy compliance through an innovative combination of in-context learning and retrieval-augmented generation (RAG). We begin by describing how our system collects and manages both tool and API specifications, storing them in a vector database to enable efficient retrieval of relevant information. We then detail the architectural pipeline that first decomposes high-level mitigation policies into discrete tasks and subsequently translates each task into a set of actionable API calls. Our empirical evaluation, conducted using publicly available CTI policies in STIXv2 format and Windows API documentation, demonstrates significant improvements in precision, recall, and F1-score when employing RAG compared to a non-RAG baseline.
title On Automating Security Policies with Contemporary LLMs
topic Cryptography and Security
Artificial Intelligence
url https://arxiv.org/abs/2506.04838