雙標籤多數據源資料集於基於人工智慧的入侵檢測:攻擊手法與生命周期的重製與檢測

Dual-labeled Multi-datasource Datasets for AI-based Intrusion Detection: Reproduction and Detection with Attack Techniques and Lifecycles

檔案

日期

2025

類型

語言

英文

摘要

入侵檢測系統(Intrusion Detection Systems, IDS)對於辨識網路攻擊威脅至關重要,而當前 IDS 日益採用機器學習來強化其偵測能力。此一方法因其在學習與辨識攻擊相關模式方面的成效而受到廣泛關注。然而,這類學習的有效性高度仰賴所使用資料集的品質。多數公開可得的 IDS 資料集在範圍上相當受限,通常僅提供二元或過於簡化的多類別標籤,且往往過度聚焦於資源耗竭型攻擊。此外,這些資料集無法充分呈現進階對手框架(例如 MITRE ATT&CK)所需的語意深度,經常忽略攻擊行為的序列特性,也就是涵蓋各個攻擊生命週期或攻擊鏈階段的完整過程,並且多半僅依賴單一資料來源。

為了回應上述限制,本研究提出一個具生命週期感知能力的雙標籤入侵檢測資料集生態系。該生態系採用基於 MITRE ATT&CK 框架的雙標籤設計,同時著重於攻擊手法(techniques)與其對應的生命週期階段,並彙整多數據源資料。第一項作法是手動構建攻擊生命週期,並在受控環境中重製這些攻擊,以證明生成雙標籤、多數據源資料集的可行性。

為提升生態系的涵蓋度與可擴充性,自動化扮演關鍵角色。第二項作法是自動化產生生命週期定義,透過一個名為 PADS-LLM(Prefix-Augmentation and Data Synthesis leveraging Large Language Models)的大型語言模型流程,從 Capture The Flag(CTF)解題報告中擷取並建構攻擊生命週期,從而實現生命週期定義的自動化產製。

第三項提出的解決方案為 AR-MANO(Attack Reproduction Management and Orchestration),此架構專為自動化攻擊重製而設計。為進一步支援自動化,第四項作法著重於利用基於 Vision Transformer 的遷移學習,自動標註現有公共資料集(例如 CSE-CIC-IDS2018)。此技術能降低對高成本攻擊重製作業的依賴,並提供更有效率的方式將 MITRE 對齊的標籤整合至既有資料集中。

最後,本研究提出的另一項解決方案,旨在透過一個名為 TAFF(Tuple-based Aggregation and Feature Extraction Framework)的專門前處理架構,提升目前較少被使用之資料來源(例如 Syslog 與 accounting 日誌)的實用性。該框架結合日誌解析、以 tuple 為基礎的彙整,以及行為輪廓建構等技術,以萃取具代表性的特徵,最終提升分類效能與整體入侵檢測效果。

最初透過手動構建與重製依生命週期定義的攻擊,證實了從網路流量、Syslog 以及 accounting 資料中產生時間同步且具雙標籤的資料集是可行的。此作法成功涵蓋五個不同生命週期中的 17 種 MITRE 攻擊手法,在公平模型評估下,資料集的平均 F1 分數達到 60%。為支援大規模自動化,本研究進一步使用 PADS-LLM(Prefix-Augmentation and Data Synthesis leveraging Large Language Models)自 64 篇 CTF 解題報告中擷取生命週期定義。這個大型語言模型流程在辨識與結構化生命週期序列方面取得了 72% 的 F1 分數。為進一步強化自動化能力,本研究開發 AR-MANO 作為可擴展的攻擊重製管理與協調框架,用於攻擊重製、資料收集與標註。透過 AR-MANO,在 12 部虛擬機器上部署了 15 個攻擊實例,涵蓋 32 種獨特攻擊手法,大幅提升資料集生成流程的效率。

此外,本研究亦建立一個基於 Vision Transformer 的自動標註框架,用以標註包含 CSE-CIC-IDS2018 在內的公共資料集。實驗結果顯示,若僅使用 CREMEv3 進行訓練,其標註完整度僅有 33%,F1 分數約為 0.61。然而,當採用將 CREMEv3 與部分 CIC 真實標註結合的混合訓練策略時,標籤完整度可提升至 90% 以上,F1 分數最高可達 0.999。進一步的泛化測試亦證實,與完整真實標註相比,自動標註後的 CIC 資料集可達到約 0.81 的 F1 分數,而使用 CIC 原始粗粒度標籤時僅約為 0.278。此結果驗證了大規模、MITRE 對齊自動標註的可行性與品質。最終,針對較少被利用的資料來源,本研究提出名為 TAFF(Tuple-based Aggregation and Feature Extraction Framework)的客製化前處理框架,以提升其可學習性;Syslog 資料的 F1 分數提升至 75%,而 accounting 資料的 F1 分數亦提升至 31\%,顯示解析、彙整與行為特徵萃取策略確實能有效強化模型的學習表現。

綜合而言,本研究展示了建構一個完整且具生命週期感知能力之入侵檢測生態系的可行性。藉由整合雙標籤資料集的生成、自動化攻擊協調、大型語言模型驅動的生命週期擷取、公共資料集的可擴展自動標註,以及對較少被利用資料來源的前處理強化,所提出的框架得以促成更豐富且具代表性的 IDS 資料集。最終,本研究為發展更高效率且具適應性的入侵檢測系統解決方案奠定了重要基礎。
Intrusion Detection Systems (IDS) are crucial for identifying cyber threats, and current IDS increasingly utilize machine learning to enhance their detection capabilities. This methodology has accumulated attention due to its efficacy in learning and recognizing patterns associated with attacks. However, the effectiveness of this learning is significantly affected by the quality of the datasets employed. Most publicly available IDS datasets are limited in scope, typically providing only binary or simplistic multi-class labels and often focusing excessively on resource-exhaustion attacks. Moreover, these datasets fail to capture the semantic depth required to adequately represent advanced adversarial frameworks such as MITRE ATT&CK. They frequently neglect the sequential nature of attacks, which encompasses the various stages of the attack lifecycle or kill chains, and typically rely on single-source data.

To address these limitations, this work introduces a novel ecosystem for a lifecycle-aware dual-labeled intrusion detection dataset. This ecosystem incorporates dual labeling based on the MITRE ATT&CK framework, emphasizing both attack techniques and their lifecycles, while aggregating data from multiple sources. The first approach involves manually constructing attack lifecycles and subsequently reproducing these attacks in a controlled environment to demonstrate the feasibility of generating dual-labeled, multi-datasource datasets.

To enhance the ecosystem's coverage and scalability, automation plays a crucial role. The second approach automates the creation of lifecycle definitions, which are extracted from Capture The Flag (CTF) writeups using a large language model pipeline known as PADS-LLM. This facilitates the automated generation of lifecycle definitions.

The third proposed solution is AR-MANO (Attack Reproduction Management and Orchestration), an architecture designed to automate attack reproductions. To further support automation, the fourth approach focuses on automatically labeling existing public datasets, such as CSE-CIC-IDS2018, using Vision Transformer-based transfer learning. This technique minimizes the need for resource-intensive attack reproduction, offering a more efficient method for integrating MITRE-aligned labels.

Finally, the last proposed solution seeks to enhance the utility of underutilized data sources, such as Syslog and accounting logs, by implementing a specialized preprocessing framework called TAFF(Tuple-based Aggregation and Feature Extraction Framework). This framework employs techniques such as parsing, tuple-based aggregation, and behavioral profiling to extract meaningful features, ultimately improving classification performance and the overall effectiveness of intrusion detection.

The initial manual construction and reproduction of lifecycle-defined attacks demonstrated the feasibility of generating synchronized, dual-labeled datasets from network traffic, Syslog, and accounting data. This approach successfully captured 17 MITRE techniques across five distinct lifecycle, resulting in a dataset with an average F1-score of 60% in fair model evaluations. To support large-scale automation, lifecycle definitions were extracted from 64 CTF writeups using PADS-LLM(Prefix-Augmentation and Data Synthesis leveraging Large Language Models). This large language model-based pipeline achieved a commendable F1-score of 72% in identifying and structuring lifecycle sequences. To further enhance automation, AR-MANO was developed as a scalable orchestration framework for attack reproduction, data collection, and labeling. Utilizing AR-MANO, 15 attack instances involving 32 unique techniques were deployed across 12 virtual machines, significantly improving the efficiency of the dataset generation process.

Additionally, a Vision Transformer-based auto-labeling framework was developed to annotate public datasets, including CSE-CIC-IDS2018. The results indicated that training solely with CREMEv3 yielded limited completeness, achieving only 33% coverage and an F1 score of approximately 0.61. However, hybrid training that combined CREMEv3 with partial CIC ground truth showed significant improvements, exceeding 90% label completeness and reaching an F1 score of up to 0.999. Generalization tests further confirmed that the auto-labeled CIC datasets achieved an F1 score of approximately 0.81 when compared to the ground truth, in contrast to just 0.278 using CIC's original coarse labels. This validates the feasibility and quality of scalable MITRE-aligned auto-labeling. Ultimately, the implementation of a customized preprocessing framework for underutilized data sources called TAFF (Tuple-based Aggregation and Feature Extraction Framework) resulted in notable enhancements in learnability. The F1 score for Syslog data rose to 75%, while the F1 score for accounting data increased to 31%, demonstrating the effectiveness of parsing, aggregation, and behavioral feature extraction strategies.

In summary, this work highlights the viability of establishing a comprehensive ecosystem for lifecycle-aware intrusion detection. By integrating the generation of dual-labeled datasets, automated orchestration, large language model-based lifecycle extraction, scalable auto-labeling of public datasets, and improved preprocessing of underutilized data sources, the proposed framework enhances the development of richer and more representative datasets. This ultimately establishes a framework for more efficient and adaptable solutions in the domain of intrusion detection systems.
顯示完整詮釋資料 統計資料

引用此條目

Yudha, F. (2025). Dual-labeled Multi-datasource Datasets for AI-based Intrusion Detection: Reproduction and Detection with Attack Techniques and Lifecycles. https://thesis.lib.nycu.edu.tw/handle/20.500.14371/87750

BibTeX RIS

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

分享

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