arXiv:2410.17406cs.CRcs.IR2024-10被引 14

用可验证数据增强大模型,自动分析漏洞并减少幻觉。

ProveRAG: Provenance-Driven Vulnerability Analysis with Automated Retrieval-Augmented LLMs

  • 引入自检机制与网络数据检索,提升漏洞分析准确性
  • 对利用和缓解策略的准确率分别达99%和97%
  • 适合需要实时、可信漏洞分析的安全团队

在网络安全领域,分析师需实时应对新发现的漏洞,自1999年以来已识别超30万漏洞。2024年仅新增漏洞就超过4万,而多数主流LLM(如GPT-5)训练数据截止于此,导致其难以应对最新威胁。为此,我们提出ProveRAG——一种基于溯源的漏洞分析系统,通过自动化检索网络数据并结合可验证源(如NVD、CWE)进行自评,降低输出中的遗漏与幻觉。该系统在漏洞利用与缓解策略分析中分别实现99%与97%的准确率,有效克服时间滞后与上下文限制,并记录分析过程以供审计。实验表明,ProveRAG显著提升了安全决策的可靠性。

原文摘要 · Abstract (English)

In cybersecurity, security analysts constantly face the challenge of mitigating newly discovered vulnerabilities in real-time, with over 300,000 vulnerabilities identified since 1999. The sheer volume of known vulnerabilities complicates the detection of patterns for unknown threats. While LLMs can assist, they often hallucinate and lack alignment with recent threats. Over 40,000 vulnerabilities have been identified in 2024 alone, which are introduced after most popular LLMs' (e.g., GPT-5) training data cutoff. This raises a major challenge of leveraging LLMs in cybersecurity, where accuracy and up-to-date information are paramount. Therefore, we aim to improve the adaptation of LLMs in vulnerability analysis by mimicking how an analyst performs such tasks. We propose ProveRAG, an LLM-powered system designed to assist in rapidly analyzing vulnerabilities with automated retrieval augmentation of web data while self-evaluating its responses with verifiable evidence. ProveRAG incorporates a self-critique mechanism to help alleviate the omission and hallucination common in the output of LLMs applied in cybersecurity applications. The system cross-references data from verifiable sources (NVD and CWE), giving analysts confidence in the actionable insights provided. Our results indicate that ProveRAG excels in delivering verifiable evidence to the user with over 99% and 97% accuracy in exploitation and mitigation strategies, respectively. ProveRAG guides analysts to secure their systems more effectively by overcoming temporal and context-window limitations while also documenting the process for future audits.

漏洞分析大模型可验证性安全增强

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。