OntoLogX: Ontology‐Guided Knowledge Graph Extraction From Cybersecurity Logs With Large Language Models
Luca Cotti, Idílio Drago, Anisa Rula, Devis Bianchini, Federico Cerutti
University of Brescia · Department of Medical Sciences
Key points
From the paper's conclusion- We introduce OntoLogX, an autonomous AI agent that leverages large language models (LLMs) to transform raw logs into ontology‐grounded knowledge graphs (KGs).
Abstract
System logs represent a valuable source of cyber threat intelligence (CTI), capturing attacker behaviors, exploited vulnerabilities, and traces of malicious activity. Yet their utility is often limited by a lack of structure, semantic inconsistency, and fragmentation across devices and sessions. Extracting actionable CTI from logs, therefore, requires approaches that can reconcile noisy, heterogeneous data into coherent and interoperable representations. We introduce OntoLogX, an autonomous AI agent that leverages large language models (LLMs) to transform raw logs into ontology‐grounded knowledge graphs (KGs). OntoLogX integrates a lightweight log ontology with retrieval augmented generation and iterative correction steps, ensuring that generated KGs are syntactically and semantically valid. Beyond event‐level analysis, the system aggregates KGs into sessions and employs a LLM to predict MITRE ATT&CK tactics, linking low‐level log evidence to higher‐level adversarial objectives. We evaluate OntoLogX on both public and real‐world honeypot datasets, demonstrating robust KG generation across multiple LLMs backends and accurate mapping of adversarial activity to MITRE ATT&CK tactics. Results highlight the effectiveness of the methodology in constructing ontology‐compliant KGs, along with their value in extracting actionable CTI.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- CTI-Thinker: an LLM-driven system for CTI knowledge graph construction and attack reasoningCybersecurity · 2026
- LODESTONE: Linking System Events to Threat Intelligence for Evidence-Grounded Cyber Attack InvestigationarXiv · 2026
- Thinking in Graphs: Neo4j-Backed Exploit-Chain Reasoning for LLM Penetration-Testing AgentsarXiv · 2026
- BEACON: Behavior-Anchored Cross-Source Knowledge Graph Construction for Cyber Threat IntelligencearXiv · 2026
- LLMs for Zero-Shot Threat Detection via Structured Risk IndicatorsarXiv · 2026
- MEvince: Knowledge-Constrained LLM Reasoning for Technique Identification from Malware ReportsarXiv · 2026