用大模型自动优化安全日志规则,减少误报提升效率
RuleGenie: SIEM Detection Rule Set Optimization
- 用Transformer生成规则嵌入,通过相似度匹配找重复规则
- 实测可降低误报率,提升规则集整体效率
- 支持Splunk/Sigma/AQL等多平台,适合安全团队快速优化
SIEM系统依赖规则逻辑检测威胁,但冗余或重叠规则会导致大量误报,引发分析员疲劳,增加计算开销和响应延迟。现有优化依赖人工,耗时且易错。为此,我们提出RuleGenie,一个基于大语言模型的推荐系统,利用Transformer的多头注意力生成规则嵌入,通过相似度匹配算法识别前k个最相似规则。随后由LLM分析规则相似性、威胁覆盖度与性能指标,给出优化建议。我们在真实世界SIEM规则格式(包括Splunk、Sigma、AQL)上验证了该方法,结果表明RuleGenie能有效识别冗余规则,降低误报率,提升规则集效率,具备跨平台适应能力。
原文摘要 · Abstract (English)
SIEM systems serve as a critical hub, employing rule-based logic to detect and respond to threats. Redundant or overlapping rules in SIEM systems lead to excessive false alerts, degrading analyst performance due to alert fatigue, and increase computational overhead and response latency for actual threats. As a result, optimizing SIEM rule sets is essential for efficient operations. Despite the importance of such optimization, research in this area is limited, with current practices relying on manual optimization methods that are both time-consuming and error-prone due to the scale and complexity of enterprise-level rule sets. To address this gap, we present RuleGenie, a novel large language model (LLM) aided recommender system designed to optimize SIEM rule sets. Our approach leverages transformer models' multi-head attention capabilities to generate SIEM rule embeddings, which are then analyzed using a similarity matching algorithm to identify the top-k most similar rules. The LLM then processes the rules identified, utilizing its information extraction, language understanding, and reasoning capabilities to analyze rule similarity, evaluate threat coverage and performance metrics, and deliver optimized recommendations for refining the rule set. By automating the rule optimization process, RuleGenie allows security teams to focus on more strategic tasks while enhancing the efficiency of SIEM systems and strengthening organizations' security posture. We evaluated RuleGenie on a comprehensive set of real-world SIEM rule formats, including Splunk, Sigma, and AQL (Ariel query language), demonstrating its platform-agnostic capabilities and adaptability across diverse security infrastructures. Our experimental results show that RuleGenie can effectively identify redundant rules, which in turn decreases false positive rates and enhances overall rule efficiency.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。