Security assessment relies on public information about products, vulnerabilities, and weaknesses. So far, databases in these categories have rarely been analyzed in combination. Yet, doing so could help predict unreported vulnerabilities and identify common threat patterns. In this paper, we propose a methodology for producing and optimizing a knowledge graph that aggregates knowledge from common threat databases (CVE, CWE, and CPE). We apply the threat knowledge graph to predict associations between threat databases, specifically between products, vulnerabilities, and weaknesses. We evaluate the prediction performance both in closed world with associations from the knowledge graph, and in open world with associations revealed afterward. Using rank-based metrics (i.e., Mean Rank, Mean Reciprocal Rank, and Hits@N scores), we demonstrate the ability of the threat knowledge graph to uncover many associations that are currently unknown but will be revealed in the future, which remains useful over different time periods. We propose approaches to optimize the knowledge graph, and show that they indeed help in further uncovering associations.
翻译:利用威胁知识图谱揭示CWE-CVE-CPE之间的关系
摘要:安全评估依赖于有关产品、漏洞和弱点的公开信息。到目前为止,这些类别的数据库很少被组合分析。然而,这样做可以帮助预测未报告的漏洞并识别常见的威胁模式。本文提出了一种从常见威胁数据库(CVE、CWE和CPE)中聚合知识以形成和优化知识图谱的方法。我们将威胁知识图谱应用于预测威胁数据库之间的关联,特别是产品、漏洞和弱点之间的关联。我们在有关联的知识图谱中和事后公开的关联中评估了预测性能。使用基于排名的指标(即平均排名、平均倒数排名和命中率@N得分),我们展示了威胁知识图谱揭示许多当前未知但将来会公开的关联的能力,这在不同时间范围内仍然有用。我们提出了优化知识图谱的方法,并表明它们确实有助于进一步揭示关联。