LLM-Assisted Forensic and Compliance Auditing for Public Sector Organizations

Authors

DOI:

https://doi.org/10.34190/eccws.25.1.4707

Keywords:

Large Language Models, Log-based Anomaly Detection, Digital Forensics, Regulatory Compliance, Model Context Protocol, Retrieval-Augmented Generation

Abstract

From an IT perspective, modern organizations often exhibit a dichotomy between day-to-day operational practice and formal policy enforcement for security, quality, and regulatory compliance. Reconciling these dimensions remains challenging, particularly in large-scale infrastructures that generate high-volume, heterogeneous, and unstructured data, while relevant policies and standards are typically expressed in natural language and therefore difficult to translate into actionable rules and automated compliance checks. This paper presents FOCUS-PA, a project that develops methods and tools to strengthen digital forensics and continuous auditing for compliance management in the Public Administration (PA) sector. FOCUS-PA delivers a Forensic and Compliance Auditing (FCA) platform tailored to public-sector environments, explicitly accounting for the specific characteristics of administrative information systems, their data sources, workflows, and domain-driven legal and privacy constraints. The platform is designed for the continuous ingestion and analysis of operational data, enabling both ongoing compliance monitoring and the forensic investigation of security incidents. To address these requirements, FOCUS-PA introduces an agentic framework that leverages Large Language Models (LLMs) via a Retrieval-Augmented Generation (RAG) approach. By adopting the Model Context Protocol (MCP), the platform provides a unified mechanism to connect natural-language policy documents with structured operational logs, supporting consistent interpretation, correlation, and evidence-driven auditing. A central contribution of FOCUS-PA is reducing the cost of security policy engineering in compliance-auditing solutions. Today, experts must translate regulatory texts and internal procedures into machine-readable specifications - a process that is slow, expensive, and quickly becomes outdated as policies and regulations evolve. We investigate how large language models (LLMs) can help extract and structure policy specifications from unstructured documents (e.g., procedure manuals) and observed operational data, facilitating their conversion into machine-verifiable rules (“Policy as Code”). This approach aims to accelerate policy onboarding and maintenance and to enable the timely adoption of emerging regulations and standards (e.g., NIS2) by streamlining the translation of high-level requirements into actionable compliance checks. We detail requirements for PA deployments and LLM-assisted policy engineering, describe the platform architecture and implementation, and discuss integration aspects, demonstrating how FOCUS-PA can improve compliance governance and accelerate incident investigation through scalable analytics and expert-supervised automation.

Author Biographies

João Santos, University of Coimbra, CISUC, DEI, Portugal

João Santos received is Bachelor's degree in Informatics Engineering from the University of Coimbra in 2024 and is currently taking is Master's degree in the same course and university, specialising in Artificial Intelligence. His interests range from artificial intelligence, agentic AI, machine learning and cybersecurity.

Rodrigo Correia, CISeD—Research Centre in Digital Services, Polytechnic Institute of Viseu, Portugal

Rodrigo Correia received his Bachelor's degree in Informatics Engineering from the Polytechnic University of Viseu in 2024. He is currently continuing his academic journey at the same institution as a Master’s student in Informatics Engineering with a focus on Information Systems. As a researcher collaborating on the FOCUS-PA project, he works on developing automated auditing solutions and integrating Large Language Models into public administration workflows.

Jesús Betancourt, CISeD—Research Centre in Digital Services, Polytechnic Institute of Viseu, Portugal

Jesus Manuel dos Santos Betancourt received his Bachelor’s degree in Informatics Engineering from the School of Technology and Management of Viseu (ESTGV) in 2024, where he is currently pursuing his Master’s degree in Informatics Engineering, specializing in Information Systems. He is a research fellow in the FOCUS-PA project, focusing on cybersecurity and IT auditing within the context of public administration. His primary research interests lie in the intersection of Artificial Intelligence and Cybersecurity.

Tiago Cruz, University of Coimbra, CISUC, DEI, Portugal

Tiago Cruz is an Associate Professor with the Department of Informatics Engineering of the University of Coimbra. His research interests cover areas such as management systems for communications infrastructures and services, critical infrastructure security, broadband access network device and service management, Internet of Things, software defined networking, and network function virtualization.

João Henriques, CISeD—Research Centre in Digital Services, Polytechnic Institute of Viseu, Portugal

João Henriques is an Adjunct Professor with the Department of Informatics Engineering at the Polytechnic University of Viseu. His research interests cover areas such as cybersecurity, forensic and compliance auditing for critical infrastructure protection, virtualization, mobile networks, IoT, artificial intelligence, machine learning, and augmented and virtual reality.

Filipe Caldeira, CISeD—Research Centre in Digital Services, Polytechnic Institute of Viseu, Portugal

Filipe Caldeira is an Associate Professor with the Department of Informatics Engineering at the Polytechnic University of Viseu. His research interests cover areas such as cybersecurity, forensic and compliance auditing for critical infrastructure protection, networks and services, IoT and applied artificial intelligence.

Paulo Simões, University of Coimbra, CISUC, DEI, Portugal

Paulo Simões is an Associate Professor with the University of Coimbra. He has over 180 journals and conference publications in his research areas. He is regularly involved in several European- and industry-funded research projects, with both technical and management activities. His research interests include security, network management, and critical infrastructure protection.

Downloads

Published

2026-06-15