用句子模型自动匹配攻击与漏洞,提升安全响应效率。
From Attack Descriptions to Vulnerabilities: A Sentence Transformer-Based Approach
- 采用MMPNet模型分析攻击技术描述,实现漏洞自动识别。
- 模型在攻击描述上达F1-score 89.0,召回率达94.7%。
- 发现275个未记录于MITRE库的新攻击-漏洞关联,适合安全研究员使用。
在安全领域,漏洞常在被利用后仍未能被及时发现。本文中,漏洞指公开披露的、记录在通用漏洞与暴露(CVE)报告中的缺陷。建立攻击与漏洞之间的关联对实现及时事件响应至关重要,可为防御者提供即时、可操作的洞察。然而,手动映射攻击与CVE不现实,亟需自动化方案。本文评估了14种最先进的句子嵌入模型,用于从攻击文本描述中自动识别漏洞。结果表明,multi-qa-mpnet-base-dot-v1(MMPNet)模型在使用攻击技术描述时表现最优,达到F1-score 89.0、精确率84.0、召回率94.7。平均而言,56%的模型识别出的漏洞同时存在于含攻击的CVE条目中,61%对应已归档于CVE的漏洞。人工检查发现275个未记录于MITRE仓库的预测关联。因此,自动化关联攻击与漏洞不仅增强软件安全事件的检测与响应能力,还缩短漏洞可被利用的时间,助力构建更安全的系统。
原文摘要 · Abstract (English)
In the domain of security, vulnerabilities frequently remain undetected even after their exploitation. In this work, vulnerabilities refer to publicly disclosed flaws documented in Common Vulnerabilities and Exposures (CVE) reports. Establishing a connection between attacks and vulnerabilities is essential for enabling timely incident response, as it provides defenders with immediate, actionable insights. However, manually mapping attacks to CVEs is infeasible, thereby motivating the need for automation. This paper evaluates 14 state-of-the-art (SOTA) sentence transformers for automatically identifying vulnerabilities from textual descriptions of attacks. Our results demonstrate that the multi-qa-mpnet-base-dot-v1 (MMPNet) model achieves superior classification performance when using attack Technique descriptions, with an F1-score of 89.0, precision of 84.0, and recall of 94.7. Furthermore, it was observed that, on average, 56% of the vulnerabilities identified by the MMPNet model are also represented within the CVE repository in conjunction with an attack, while 61% of the vulnerabilities detected by the model correspond to those cataloged in the CVE repository. A manual inspection of the results revealed the existence of 275 predicted links that were not documented in the MITRE repositories. Consequently, the automation of linking attack techniques to vulnerabilities not only enhances the detection and response capabilities related to software security incidents but also diminishes the duration during which vulnerabilities remain exploitable, thereby contributing to the development of more secure systems.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。