arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.21773cs.CRcs.LG
收藏

HIDBench: 用于基于主机入侵检测的大型语言模型评估

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

University of California, Irvine(加州大学洛杉矶分校);University of California, Los Angeles(加州大学洛杉矶分校)

Danyu Sun, Jinghuai Zhang, Yuan Tian, Zhou Li

AI总结:

本文提出HIDBench基准测试,用于评估大型语言模型在支持基于主机的入侵检测系统(HIDS)中的能力,揭示了LLM在复杂系统日志数据中的性能差异和敏感性。

摘要:

近年来,基准测试努力已推动了大型语言模型(LLMs)在网络安全中的评估,包括渗透测试和漏洞识别等任务。然而,入侵检测从系统日志这一关键网络安全任务仍未被探索。在本文中,我们提出一个新的基准测试,以评估LLM在支持基于主机的入侵检测系统(HIDS)中的能力。该任务需要在大规模、嘈杂且高度不平衡的系统日志上进行细粒度推理,其中良性与恶意活动之间的复杂相互作用使得可靠检测具有挑战性。我们的基准测试统一了三个公开的系统日志数据集,DARPA-E3、DARPA-E5和NodLink,并引入了一个数据构建管道,将原始主机遥测数据转换为LLM兼容的输入,从而在现实入侵检测设置下进行系统评估。我们对前沿LLM的评估揭示了在不同数据集上的显著性能差距。尽管许多模型在更简单的数据集上实现了高精度(通常超过0.8),但当系统日志变得更加嘈杂和复杂时,其性能显著下降,MCC经常低于0.5,误报率急剧上升。我们进一步分析了模型行为,并识别出不同的模式,包括具有低误报率的保守检测器和产生过多警报的过度敏感模型。总体而言,我们的结果表明,尽管LLM在HIDS中显示了强大的潜力,但其有效性对数据复杂性高度敏感,稳健的系统设计对于可靠的部署至关重要。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑