用行为上下文提升开源SIEM的网页攻击检测能力
Context-Aware Web Attack Detection in Open-Source SIEM Systems via MITRE ATT&CK-Enriched Behavioral Profiling

- 为每个源IP构建包含历史行为的上下文向量
- 两阶段混合模型使攻击检测准确率提升至96.7%
- 可自适应更新,应对新型攻击且恢复性能
安全信息与事件管理(SIEM)系统从异构来源聚合日志以检测协同攻击。传统基于规则的相关引擎因未参考主机行为历史,难以识别多步骤网页应用攻击。本文提出Smart-SIEM,作为开源Wazuh SIEM平台的AI模块,有两项贡献:(1)为每个源IP构建行为上下文向量,编码最近N个事件中的HTTP响应状态分布、规则激活峰值次数及MITRE ATT&CK技术频率;(2)采用两级混合级联:先用LightGBM进行二分类攻击检测,再用XGBoost实现六类攻击分类。在46,454条定制的Wazuh安全事件上评估,引入上下文特征后,所有梯度提升算法在第一阶段宏F1从约0.705提升至0.947–0.967,第二阶段从0.876–0.914提升至0.876–0.914,平均提升+0.254和+0.324。混合级联达到0.967(二分类)和0.914(六分类)的F1值。Wazuh原生规则引擎对暴力破解和身份认证破坏类攻击检出率为0%;该AI模块分别达100%和98.3%。自适应重训练机制可应对概念漂移:当出现未知攻击类型时,F1从0.905降至0.465,重训后恢复至0.814。
原文摘要 · Abstract (English)
Security Information and Event Management (SIEM) systems aggregate log data from heterogeneous sources to detect coordinated attacks. Traditional rule-based correlation engines struggle to classify multi-step web application attacks because they examine each event without reference to the behavioural history of the originating host. We present Smart-SIEM, an AI module for the open-source Wazuh SIEM platform with two contributions: (1) a per-source-IP behavioural context vector encoding HTTP response-status distributions, peak rule activation counts, and MITRE ATT&CK technique frequencies from the N most recent prior events; (2) a two-stage hybrid cascade combining LightGBM for binary attack detection and XGBoost for six-class attack categorisation. Evaluated on 46,454 purpose-built Wazuh security events, context features improve all tested gradient boosting algorithms from ~0.705 macro F1 to 0.947-0.967 (Stage 1) and 0.876-0.914 (Stage 2), an average gain of +0.254 and +0.324 respectively. The hybrid cascade achieves F1 of 0.967 (binary) and 0.914 (six-class). Wazuh's native rule engine detects 0% of Brute Force and Broken Authentication events; the AI module detects 100% and 98.3% respectively. A self-adaptive retraining mechanism recovers from concept drift: F1 drops from 0.905 to 0.465 when unseen attack types emerge, recovering to 0.814 after retraining on the combined corpus.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。