Network Intrusion Forensic Detection System with Explainable Artificial Intelligence and Digital Chain of Custody
Abstract
Deploying an explainable intrusion detection model from a validated laboratory setting into a forensic workflow requires guarantees that benchmarks do not test: that the certified model is the exact artifact applied to a case, that heterogeneous evidence can be classified reliably, and that every step is verifiable. We present MODEXRE, a forensic pipeline that extends a previously validated synthetic-data-trained XGBoost classifier with SHAP explainability (arXiv:2607.00763) into a dual-mode architecture: a Laboratory mode, where models are trained and certified on public and synthetic data, and a Formal mode, where a frozen, hash-verified model performs inference on case evidence under a SHA-256 hash-chained chain of custody. Suricata alerts, CEF firewall logs and packet captures are normalized through OCSF. Four design decisions, each triggered by an observed failure, shaped the architecture: a timestamp leak that inflated Kitsune performance (F1-macro 0.984, 0.662 after correction); a feature-coverage gap that made the 78-feature reference model misclassify a real SSH alert; causal temporal flow aggregation, which raised Kitsune multiclass F1-macro from 0.394 to 0.932; and a certification defect, exposed only by a real packet capture, whereby the pipeline had always trained a binary classifier. After correction, the same capture went from 100% of events flagged as malicious to 87% classified as Normal, with the scanning host identified as Reconnaissance. The default four-class certified model reaches F1-macro = 0.9538 on CICIDS2017-derived evidence; the recertified 18-category model reaches 0.6214, reflecting the real multiclass task. Chain-of-custody verification, model integrity hashing and per-prediction SHAP explanations are reported as measured outcomes.
Create a lesson
Metadata
- Categories
- cs.CR, cs.LG
- Comments
- 25 pages, 8 figures, 5 tables. Companion paper to arXiv:2607.00763
Related papers
Enhancing Metaverse Security using Explainable AI-based Intrusion Detection Framework
Shared title terminologycs.CREsha Kuppanda, Shalaka Mahadik, Pranav M. Pawar et al.
Towards Lightweight IoT Intrusion Detection: Feature Optimization and Explainable Machine Learning for Resource-Constrained Environment
Shared title terminologycs.CRShaker Nawasra, Munther Abualkibash
An LLM-Assisted Multi-Objective AutoML Framework for Efficient Network Intrusion Detection
Shared title terminologycs.CRAilin Barzegar, Khalil El-Khatib, Li Yang
A Unified Framework for Intelligent Cyber Attack Detection and Alert Correlation
Shared title terminologycs.CRMiguel Silva, João Vitorino, Daniela Pinto et al.
Drift-Aware Explainable Prioritization for Windows PE Malware Forensic Triage with Semantic Consistency Checks
Shared title terminologycs.CRMohammed A. Alharbi, Toqeer Ali Syed
An Agentic Multi-Agent Framework for System Log Anomaly Detection
Shared title terminologycs.CRNgoc-Son Le, Huy-Hoang Mac Nguyen, Ngoc Hong Tran