以元組資料聚合提升機器學習式主機入侵檢測系統之學習性

Improving Learnability in ML-based HIDS with Tuple-based Data Aggregation

檔案

日期

2024

類型

語言

英文

摘要

隨著網路安全的重要性提升,入侵檢測系統(IDS)被採用來提醒管理員潛在的安 全漏洞。傳統的 IDS 使用基於簽名的方法,難以檢測新威脅,而基於異常偵測的 IDS 則容易出現高誤報率。基於機器學習的 IDS(ML-based IDS)通過學習網路行為來增強 威脅檢測,解決了這些局限性。本研究主要針對主機入侵檢測系統(HIDS),這些系統 監控系統日誌(syslog)和主機統計數據(accounting)。我們引入了一個預處理框架, 以提高 HIDS 在檢測網路安全威脅方面的有效性。該框架包括兩個步驟:基於元組的 數據聚合和句子嵌入數據轉換與 LSTM 特徵提取。基於元組的數據聚合方法通過相關 特徵(如”Keyword” 和”PID”)對數據點進行分組,確保聚合的數據具有意義和連貫性。 對於 syslog,HostName + time_slot 是最佳組合,而對於 accounting,Hostname + PID + Keyword + time_slot 是最佳組合。第二步,句子嵌入數據轉換和 LSTM 特徵提取,整合 了統計分析、自然語言處理(NLP)和長短期記憶網路(LSTM)技術來增強特徵提取。 我們的框架顯著提高了 ML-based HIDS 的可學習性。對於 syslog,統計分析、LSTM 和 句子嵌入的組合最為有效,將技術檢測的 F1 分數從 0.07 提高到 0.94,將生命周期檢測 的 F1 分數從 0.07 提高到 0.48。對於 accounting 數據,統計分析和 LSTM 的組合效果最 佳,將技術檢測的 F1 分數從 0.65 提高到 0.81,將生命周期檢測的 F1 分數從 0.48 提高 到 0.69。
The significance of cybersecurity has led to the adoption of Intrusion Detection Systems (IDS) to alert administrators about potential breaches. Traditional IDSs, which use signature- based methods, struggle to detect new threats, while anomaly-based IDSs suffer from high false- positive rates. Machine Learning-based (ML-based) IDSs enhance threat detection by learning network behaviors, addressing these limitations. Our research focuses on improving Host Intru- sion Detection Systems (HIDS) that monitor system logs (syslog) and host statistics (account- ing). We introduce a preprocessing framework to enhance the effectiveness of HIDS in detecting cybersecurity threats. This framework comprises two steps: tuple-based data aggregation and sentence embedding data transformation and LSTM feature extraction. The tuple-based data aggregation method groups data points by relevant features, such as ”keywords” and ”program id,” ensuring meaningful and coherent aggregation. From our experiment results, we observe that aggregating HostName and time_slot is the best combination for syslog , while aggregating Hostname, PID, Keyword and time_slot is optimal for accounting. The second step, Sentence Embedding Data Transformation and LSTM Feature Extraction, integrates statistical analysis, NLP, and LSTM techniques to enhance feature extraction. Our framework significantly im- proves the learnability of ML-based HIDS. For syslog, the combination of statistical analysis, LSTM, and sentence embedding proved most effective, improving the F1 score from 0.07 to 0.94 for technique, and from 0.07 to 0.48 for lifecycle. For accounting data, the combination of statistical analysis and LSTM was optimal, raising the F1 score from 0.65 to 0.81 for technique, and from 0.48 to 0.69 for lifecycle.
顯示完整詮釋資料 統計資料

引用此條目

Loo, T.-H. (2024). Improving Learnability in ML-based HIDS with Tuple-based Data Aggregation. https://thesis.lib.nycu.edu.tw/handle/20.500.14371/2170

BibTeX RIS

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

分享

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