HIDBench: Benchmarking Large Language Models for Host-Based Intrusion Detection

📅 2026-05-20
📈 Citations: 0
Influential: 0
📄 PDF

career value

225K/year
🤖 AI Summary
This work proposes the first standardized evaluation benchmark for applying large language models (LLMs) to host-based intrusion detection, a task requiring fine-grained reasoning over massive, highly noisy, and extremely imbalanced system logs. We unify three public datasets—DARPA-E3, DARPA-E5, and NodLink—through a consistent preprocessing pipeline that transforms raw telemetry into LLM-compatible inputs and introduce multidimensional evaluation metrics, including Matthews Correlation Coefficient (MCC), precision, and false positive rate. Experimental results show that state-of-the-art LLMs achieve precision above 0.8 in simple scenarios but exhibit MCC scores consistently below 0.5 and significantly elevated false positive rates under complex noise conditions, revealing high sensitivity to log complexity. The study further identifies distinct conservative and hypersensitive detection behavior patterns, offering critical insights for real-world deployment.
📝 Abstract
Recent benchmark efforts have advanced the evaluation of large language models (LLMs) in cybersecurity, including tasks such as penetration testing and vulnerability identification. However, a critical cybersecurity task, namely intrusion detection from system logs, remains unexplored. In this work, we present a new benchmark to assess LLMs' capabilities in supporting host-based intrusion detection systems (HIDS). This task requires fine-grained reasoning over large-scale, noisy, and highly imbalanced system logs, where complex interactions between benign and malicious activities make reliable detection challenging. Our benchmark unifies three public system log datasets, DARPA-E3, DARPA-E5, and NodLink, and introduces a data construction pipeline that transforms raw host telemetry into LLM-compatible inputs, enabling systematic evaluation under realistic intrusion detection settings. Our evaluation of frontier LLMs reveals substantial performance gaps across datasets. While many models achieve high precision (often above 0.8) on simpler datasets, their performance degrades significantly as system logs become noisier and more complex, with MCC frequently dropping below 0.5 and false positive rates increasing sharply. We further analyze model behavior and identify distinct regimes, including conservative detectors with low false positive rates and over-sensitive models that generate excessive alerts. Overall, our results highlight that while LLMs show strong potential for HIDS, their effectiveness is highly sensitive to data complexity, and robust system design is essential for reliable deployment.
Problem

Research questions and friction points this paper is trying to address.

Host-Based Intrusion Detection
Large Language Models
System Logs
Cybersecurity Benchmarking
Intrusion Detection
Innovation

Methods, ideas, or system contributions that make the work stand out.

Host-Based Intrusion Detection
Large Language Models
System Log Benchmarking
HIDBench
Cybersecurity Evaluation
🔎 Similar Papers
No similar papers found.