[论文解读] CTIBench: A Benchmark for Evaluating LLMs in Cyber Threat Intelligence
CTIBench 引入一个以 CTI 为焦点的基准测试,包含 CTI-MCQ、CTI-RCM、CTI-VSP 和 CTI-TAA 任务,用于评估 LLM 在网络威胁情报方面的知识、推理和解决问题的能力。
Cyber threat intelligence (CTI) is crucial in today's cybersecurity landscape, providing essential insights to understand and mitigate the ever-evolving cyber threats. The recent rise of Large Language Models (LLMs) have shown potential in this domain, but concerns about their reliability, accuracy, and hallucinations persist. While existing benchmarks provide general evaluations of LLMs, there are no benchmarks that address the practical and applied aspects of CTI-specific tasks. To bridge this gap, we introduce CTIBench, a benchmark designed to assess LLMs' performance in CTI applications. CTIBench includes multiple datasets focused on evaluating knowledge acquired by LLMs in the cyber-threat landscape. Our evaluation of several state-of-the-art models on these tasks provides insights into their strengths and weaknesses in CTI contexts, contributing to a better understanding of LLM capabilities in CTI.
研究动机与目标
- 使用 CTI-MCQ 知识数据集评估 LLM 对 CTI 标准、威胁与最佳实践的理解。
- 通过 CVE-CWE 映射(CTI-RCM)和 CVSS 预测(CTI-VSP)来评估实际的 CTI 推理与解决问题能力。
- 使用真实世界的威胁报告测试对威胁行为者的归因推理(CTI-TAA)。
- 提供公开可用的数据集和代码以实现面向 CTI 的 LLM 基准测试。
提出的方法
- 从 NIST、MITRE、GDPR、STIX/TAXII、CAPEC、CWE 与 ATT&CK 等来源创建 CTI-MCQ 数据集;通过 GPT-4o 生成约 3000 道题并进行人工验证,最终确定为 2500 道题。
- 通过将 CVE 描述映射到 CWE 条目并使用 NVD 数据来设计 CTI-RCM;抽取 1000 个带 CWE 映射的漏洞(2024 年)。
- 通过从漏洞描述中预测 CVSS v3 基本字符串来创建 CTI-VSP(使用 1000 条 2024 年 CVE 描述);基于预测计算 CVSS 得分。
- 开发 CTI-TAA 数据集,包含 50 条威胁报告;移除行为者提及并任务 LLM 将其归因于行为者;进行人工结果验证。
实验结果
研究问题
- RQ1LLMs 能否基于 CTI 标准和框架准确回答 CTI 特定知识问题?
- RQ2LLMs 如何将 CVE 描述映射到 CWE 类别(根本原因映射)并从描述中预测 CVSS 严重性?
- RQ3LLMs 是否能够在给定部分或混淆数据的情况下将威胁报告归因到威胁行为者?
- RQ4模型大小和类型如何影响 CTI 理解、推理和 CTI 任务的解决能力?
主要发现
- GPT-4 通常在多数任务上优于其他模型,除 CTI-VSP 外,CTI-VSP 中 Gemini-1.5 最为强势。
- LLM 的表现会随着 CVE 描述变长而提升,在 CTI-RCM 和 CTI-VSP 中在某个程度上有效,超过某个阈值后对于非常长的输入结果可能变差。
- CTI-MCQ 的正确率因来源而异;CWE 问题对多种模型较易,基于 ATT&CK 的项目较难;GPT-4 在 CWE 项目上最高可达 75.65%。
- CTI-RCM 结果显示大多数模型在描述越长时准确率越高,除了 LLAMA-8B,且 2021 年 CVE 数据的表现略低于 2024 年数据。
- CTI-VSP 结果显示模型最可靠地预测一些基本指标(AV、AC、UI),但在 PR、S、C、I 上表现欠佳,且倾向高估分数。
- CTI-TAA 证明较大模型更容易正确归因威胁行为者,当数据有限时仍有一些可信的归因。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。