English

GenDFIR: Advancing Cyber Incident Timeline Analysis Through Retrieval Augmented Generation and Large Language Models

Cryptography and Security 2025-06-24 v4 Artificial Intelligence Emerging Technologies Machine Learning

Abstract

Cyber timeline analysis, or forensic timeline analysis, is crucial in Digital Forensics and Incident Response (DFIR). It examines artefacts and events particularly timestamps and metadata to detect anomalies, establish correlations, and reconstruct incident timelines. Traditional methods rely on structured artefacts, such as logs and filesystem metadata, using specialised tools for evidence identification and feature extraction. This paper introduces GenDFIR, a framework leveraging large language models (LLMs), specifically Llama 3.1 8B in zero shot mode, integrated with a Retrieval-Augmented Generation (RAG) agent. Incident data is preprocessed into a structured knowledge base, enabling the RAG agent to retrieve relevant events based on user prompts. The LLM interprets this context, offering semantic enrichment. Tested on synthetic data in a controlled environment, results demonstrate GenDFIR's reliability and robustness, showcasing LLMs potential to automate timeline analysis and advance threat detection.

Keywords

Cite

@article{arxiv.2409.02572,
  title  = {GenDFIR: Advancing Cyber Incident Timeline Analysis Through Retrieval Augmented Generation and Large Language Models},
  author = {Fatma Yasmine Loumachi and Mohamed Chahine Ghanem and Mohamed Amine Ferrag},
  journal= {arXiv preprint arXiv:2409.02572},
  year   = {2025}
}

Comments

24 pages V5.3

R2 v1 2026-06-28T18:33:47.625Z