可複現 MITRE 生命周期提取與映射增强型大語言模型框架

A Framework of Reproducible MITRE Lifecycle Extraction and Mapping with Enhanced-LLM

檔案

日期

2024

類型

語言

英文

摘要

MITRE 是一個結構化的框架,用於系統性和協調地識別、應對和管理網絡安全事
件。為了讓 IDS 能夠檢測到更多由一系列 MITRE 技術所組成的攻擊生命周期,我們需
要利用 Metasploit 生成像 Creme 工具那樣的相關數據集。然而,目前大多數研究是從
CTI 報告中獲取生命周期資訊。由於共享法律和企業本身的顧慮,開源獲取的 CTI 報告
內容經過過濾,描述的攻擊手法不足以重現我們想要的生命周期。相反,CTF Write-Up
中的攻擊大多在虛擬環境中重現,因此描述的攻擊方式可以較為詳細且公開。由於我
們是首批研究處理 CTF Write-Up 的團隊,我們面臨數據集不平衡的挑戰。為此,我們
提出使用 DEAP-LLM 來解決這一問題,並訓練一個語言模型來提取技術並將其整合為
一個完整的生命周期。在本論文中,我們展示了我們的框架在處理不同長度報告時,
可以達到 50% 的準確率。此外,結果顯示,利用 DEAP-LLM 增強數據集後,我們模型
在生命周期提取方面的效能從 39.91% 的 F1 分數提升到了 72.34%。最後,為了評估不
同語言模型結合對 DEAP-LLM 的影響,我們發現結合 3 個語言模型可以達到最佳的數
據集優化效果,即 72.34% 的 F1 分數,相比結合 5 個語言模型的 71.95% F1 分數和單一
大語言模型的 60.49% F1 分數。
MITRE is a structured framework used to identify, respond to, and manage cybersecurity
incidents in a systematic and coordinated manner. To enable IDS to detect lifecycles composed
of a series of MITRE techniques, we need to utilize Metasploit to generate relevant datasets,
similar to tools like Creme. However, most current studies extract lifecycle information from
CTI reports. Due to legal sharing concerns and the companies’ own worries, the content of open-
source scraped CTI reports is filtered, with described attack methods insufficient for reproducing
the lifecycles we aim for. Conversely, attacks in CTF Write-Ups are primarily reproduced in
virtual environments and thus can be described in detail publicly. Being among the first to
process CTF Write-Ups, we face the challenge of training a language model to extract techniques
and form a lifecycle under dataset imbalance. In this paper, we propose the use of DEAP-LLM
to address the issue of dataset imbalance, followed by training a language model within the
framework of lifecycle extraction and mapping to map techniques onto a lifecycle. Our results
demonstrate that leveraging DEAP-LLM, combined with the capabilities of the language model
to enrich the dataset, enables our framework to achieve a 50% accuracy rate across reports of
various lengths. Additionally, the integration of DEAP-LLM in training the language model
for lifecycle extraction has improved the F1 score from 39.91% to 72.34%. Lastly, to assess
the impact of combining different language models with DEAP-LLM, we find that integrating
3 language models achieves the best dataset optimization, a 72.34% F1 score, compared to the
71.95% F1 score with 5 language models and 60.49% F1 score with a single LLM.
Keyword: lifecycle, MITRE Att&CK, LLM, CTF Write-Up, data imbalance
顯示完整詮釋資料 統計資料

引用此條目

Kew, W.-C. (2024). A Framework of Reproducible MITRE Lifecycle Extraction and Mapping with Enhanced-LLM. https://thesis.lib.nycu.edu.tw/handle/20.500.14371/2179

BibTeX RIS

引用文字依 APA 第 7 版格式自動產生,使用前請再核對。

分享

永久網址:https://thesis.lib.nycu.edu.tw/handle/20.500.14371/2179