Enabling Transparent Cyber Threat Intelligence Combining Large Language Models and Domain Ontologies

Luca Cotti, Anisa Rula, Devis Bianchini, Federico Cerutti
8/26/2025
cs.CRcs.AI

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

Effective Cyber Threat Intelligence (CTI) relies upon accurately structured and semantically enriched information extracted from cybersecurity system logs. However, current methodologies often struggle to identify and interpret malicious events reliably and transparently, particularly in cases involving unstructured or ambiguous log entries. In this work, we propose a novel methodology that combines ontology-driven structured outputs with Large Language Models (LLMs), to build an Artificial Intelligence (AI) agent that improves the accuracy and explainability of information extraction from cybersecurity logs. Central to our approach is the integration of domain ontologies and SHACL-based constraints to guide the language model's output structure and enforce semantic validity over the resulting graph. Extracted information is organized into an ontology-enriched graph database, enabling future semantic analysis and querying. The design of our methodology is motivated by the analytical requirements associated with honeypot log data, which typically comprises predominantly malicious activity. While our case study illustrates the relevance of this scenario, the experimental evaluation is conducted using publicly available datasets. Results demonstrate that our method achieves higher accuracy in information extraction compared to traditional prompt-only approaches, with a deliberate focus on extraction quality rather than processing speed.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 2 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{cotti2025enabling,
  title  = {Enabling Transparent Cyber Threat Intelligence Combining Large Language Models and Domain Ontologies},
  author = {Luca Cotti and Anisa Rula and Devis Bianchini and Federico Cerutti},
  year   = {2025},
  eprint = {2509.00081},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.00081v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2509.00081.svg)](https://codeofpaper.com/paper/2509.00081)

Discussion