Building Machine Learning-based Threat Hunting System from Scratch


연구 분야: Safety



학회: Digital Threats: Research and Practice (DTRAP), Volume 3, Issue 3


초록

Machine learning has been widely used for solving challenging problems in diverse areas. However, to the best of our knowledge, seldom literature has discussed in-depth how machine learning approaches can be used effectively to “hunt” (identify) threats, especially advanced persistent threats (APTs), in a monitored environment. In this study, we share our past experiences in building machine learning-based threat-hunting models. Several challenges must be considered when a security team attempts to build such models. These challenges include (1) weak signal, (2) imbalanced data sets, (3) lack of high-quality labels, and (4) no storyline. In this study, we propose Fuchikoma and APTEmu to demonstrate how we tackle the above-mentioned challenges. The former is a proof of concept system for demonstrating the ideas behind autonomous threat-hunting. It is a machine learning-based anomaly detection and threat hunting system which leveragesnatural language processing (NLP) and graph algorithms. The latter is an APT emulator, which emulates the behavior of a well-known APT called APT3, which is the target used in the first round of MITRE ATT&CK Evaluations. APTEmu generates attacks on Windows machines in a virtualized environment, and the captured system events can be further used to train and enhance Fuchikoma’s capabilities. We illustrate the steps and experiments we used to build the models, discuss each model’s effectiveness and limitations of each model, and propose countermeasures and solutions to improve the models. Our evaluation results show that machine learning algorithms can effectively assist threat hunting processes and significantly reduce security analysts’ efforts. Fuchikoma correctly identifies malicious commands and achieves high performance in terms of over 80% True Positive Rate and True Negative Rate and over 60% F3. We believe our proposed approaches provide valuable experiences in the area and shed light on automated threat-hunting research.


Author Profile
Chungkuan Chen

CyCraft Technology Corporation New Taipei Taiwan

Taiwan
Author Profile
Sichen Lin

CyCraft Technology Corporation & National Taiwan University Taipei Taiwan

Taiwan
Author Profile
Szuchun Huang

National Chiao Tung University & National Yang Ming Chiao Tung University Hsinchu Taiwan

Taiwan

📄 논문 정보

발행 연도 2022년
인용수 7
출판 국가 Taiwan
사이트 ACM
좋아요 수 0

연관 논문 목록 (477건)