[论文解读] On the Uses of Large Language Models to Interpret Ambiguous Cyberattack Descriptions
论文直接使用大型语言模型(GPT-3.5 与 Bard)与对小型语言模型进行有监督的微调(BERT 与 SecureBERT)来将 TTP 描述映射到 MITRE ATT&CK 战术的比较研究,发现经 SFT 的小型语言模型更为精确,而大型语言模型提供更广泛的解释,但固有的歧义仍然存在。
The volume, variety, and velocity of change in vulnerabilities and exploits have made incident threat analysis challenging with human expertise and experience along. Tactics, Techniques, and Procedures (TTPs) are to describe how and why attackers exploit vulnerabilities. However, a TTP description written by one security professional can be interpreted very differently by another, leading to confusion in cybersecurity operations or even business, policy, and legal decisions. Meanwhile, advancements in AI have led to the increasing use of Natural Language Processing (NLP) algorithms to assist the various tasks in cyber operations. With the rise of Large Language Models (LLMs), NLP tasks have significantly improved because of the LLM's semantic understanding and scalability. This leads us to question how well LLMs can interpret TTPs or general cyberattack descriptions to inform analysts of the intended purposes of cyberattacks. We propose to analyze and compare the direct use of LLMs (e.g., GPT-3.5) versus supervised fine-tuning (SFT) of small-scale-LLMs (e.g., BERT) to study their capabilities in predicting ATT&CK tactics. Our results reveal that the small-scale-LLMs with SFT provide a more focused and clearer differentiation between the ATT&CK tactics (if such differentiation exists). On the other hand, direct use of LLMs offer a broader interpretation of cyberattack techniques. When treating more general cases, despite the power of LLMs, inherent ambiguity exists and limits their predictive power. We then summarize the challenges and recommend research directions on LLMs to treat the inherent ambiguity of TTP descriptions used in various cyber operations.
研究动机与目标
- 由于固有的歧义,解释 TTP 描述的挑战性成为动机。
- 比较直接使用 LLM 与对小型 LLM 进行有监督的微调在 ATT&CK 映射中的差异。
- 在 ATT&CK 与 CAPEC 描述上的评估以评估泛化能力。
- 识别 TTP 描述中的固有歧义并提出未来研究方向。
提出的方法
- 整理 ATT&CK 描述(共 618 条)及 CAPEC 映射到 ATT&CK(177 个 CAPEC)以用于评估。
- 对 BERT-base 与 SecureBERT(12 层,768 隐藏层)进行微调,用 sigmoid 激活进行多标签 ATT&CK 战术分类。
- 为 GPT-3.5 与 Bard 设计并应用工程化提示,将描述映射到 14 个 ATT&CK 战术或 NONE(对 Bard 设有约束)。
- 使用 Micro-F1、准确率、精确度、召回率以及按战术的分析,在 5 折交叉验证中评估模型。
- 在 ATT&CK 与 CAPEC 数据集之间比较结果以分析歧义性和泛化能力。
实验结果
研究问题
- RQ1直接使用 LLM 是否能够从网络攻击描述中预测 MITRE ATT&CK 战术?
- RQ2对小型 LLM 进行有监督的微调是否能更精确地区分 ATT&CK 战术?
- RQ3CAPEC 描述映射到 ATT&CK 战术的情况及对未见数据的泛化如何?
- RQ4TTP 描述中存在哪些固有歧义,LLM 如何处理它们?
主要发现
- SecureBERT-SFT 在 ATT&CK 上达到 Avg Accuracy 0.85 和 Micro-F1 0.92,优于 BERT-SFT(0.76、0.87)。
- GPT-3.5 在 ATT&CK 上的 Micro-F1 为 0.67、Accuracy 为 0.44,Bard 分别为 0.66 和 0.31。
- SecureBERT-SFT 一般优于 GPT-3.5 在 ATT&CK 上的表现,但在横向移动等预测方面存在弱点。
- CAPEC 结果显示两种模型在某些战术上的 F1 均很低(甚至为 0.00),且 SecureBERT-SFT 在应用于 CAPEC 时对 ATT&CK 数据过拟合。
- 识别出 TTP 描述中的两种固有歧义类型,即使对先进的 LLMs 也存在可预测性限制。
- 建议未来方向包括提示适配、自监督学习和强化学习,以应对歧义和不断演化的漏洞。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。