V2W-BERT:一个有效的软件漏洞多类分层分类框架
V2W-BERT: A Framework for Effective Hierarchical Multiclass Classification of Software Vulnerabilities
摘要:
计算机系统中的弱点,例如软件的架构、设计或实现中的故障、漏洞和错误,提供了可被攻击者利用以危及系统安全的漏洞。通用弱点枚举(CWE)是一个分层设计的软件弱点字典,它提供了一种了解软件缺陷、利用这些缺陷的潜在影响以及减轻这些缺陷的方法。常见漏洞和暴露(CVE)是简短的低级别描述,用于唯一标识特定产品或协议中的漏洞。将CVE分类或映射到CWE提供了一种了解影响和减轻漏洞的方法。由于手动绘制CVE不是一个可行的选择,自动化方法是可取的,但具有挑战性。本文提出了一种新的基于transformer的学习框架(V2 W-BERT)。通过使用来自自然语言处理、链接预测和迁移学习的思想,我们的方法不仅对于具有大量数据要训练的CWE实例,而且对于具有很少或没有数据要训练的稀有CWE类,都优于以前的方法。我们的方法也显示出显着的改进,在使用历史数据来预测链接未来的实例的CVE,因此,提供了一个可行的方法,为实际应用。使用MITRE和国家漏洞数据库的数据,我们实现了高达97%的预测准确率随机分区的数据和高达94%的预测准确率在时间上分区的数据。我们相信,我们的工作将影响更好的方法和培训模型的设计,以及解决网络安全中日益困难的问题的应用程序。
英文摘要:
Weaknesses in computer systems such as faults, bugs and errors in the architecture, design or implementation of software provide vulnerabilities that can be exploited by attackers to compromise the security of a system. Common Weakness Enumerations (CWE) are a hierarchically designed dictionary of software weaknesses that provide a means to understand software flaws, potential impact of their exploitation, and means to mitigate these flaws. Common Vulnerabilities and Exposures (CVE) are brief low-level descriptions that uniquely identify vulnerabilities in a specific product or protocol. Classifying or mapping of CVEs to CWEs provides a means to understand the impact and mitigate the vulnerabilities. Since manual mapping of CVEs is not a viable option, automated approaches are desirable but challenging. We present a novel Transformer-based learning framework (V2W-BERT) in this paper. By using ideas from natural language processing, link prediction and transfer learning, our method outperforms previous approaches not only for CWE instances with abundant data to train, but also rare CWE classes with little or no data to train. Our approach also shows significant improvements in using historical data to predict links for future instances of CVEs, and therefore, provides a viable approach for practical applications. Using data from MITRE and National Vulnerability Database, we achieve up to 97% prediction accuracy for randomly partitioned data and up to 94% prediction accuracy in temporally partitioned data. We believe that our work will influence the design of better methods and training models, as well as applications to solve increasingly harder problems in cybersecurity.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。