arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2301.03944cs.SEcs.CR
收藏

CHRONOS:基于时间感知的漏洞报告库零样本识别

CHRONOS: Time-Aware Zero-Shot Identification of Libraries from Vulnerability Reports

Yunbo Lyu, Thanh Le-Cong, Hong Jin Kang, Ratnadira Widyasari, Zhipeng Zhao, Xuan-Bach D. Le, Ming Li, David Lo

AI总结:

针对漏洞报告库识别中因忽略时间顺序导致XML技术性能下降的问题,提出基于零样本学习的CHRONOS方法,通过考虑时间顺序、数据增强和缓存机制提升实际场景下的识别效果。

摘要:

向开发人员发出库漏洞警告的工具依赖于由安全研究人员维护的准确且最新的漏洞数据库。这些数据库记录了与每个漏洞相关的库。然而,漏洞报告可能不会明确列出每个库,需要人工分析来确定所有相关的库。人工分析可能缓慢且昂贵,这促使了自动化方法的需求。研究人员和从业者已经提出使用极限多标签学习(XML)从漏洞报告中自动识别库。虽然最先进的XML技术显示出有前景的性能,但它们的实验设置实际上并不符合现实情况。以前的研究随机分割漏洞报告数据以训练和测试他们的模型,而没有考虑报告的时间顺序。这可能会不当地在时间上较新的报告上训练模型,而在时间上较旧的报告上测试模型。然而,在实践中,人们通常会收到时间上较新的报告,这些报告可能与以前未见过的库相关。在这种实际设置下,我们观察到当前XML技术的性能大幅下降,例如,在不考虑和考虑漏洞报告时间顺序的实验中,F1从0.7下降到0.28。我们提出了一种基于零样本学习的实用库识别方法,即CHRONOS。CHRONOS的新颖性有三个层面。首先,CHRONOS通过考虑漏洞报告的时间顺序来适应实际的流程。其次,CHRONOS使用精心设计的数据增强步骤来丰富漏洞描述和标签的数据。第三,CHRONOS利用缓存来利用漏洞报告的时间顺序,以优先预测……

英文摘要:

Tools that alert developers about library vulnerabilities depend on accurate, up-to-date vulnerability databases which are maintained by security researchers. These databases record the libraries related to each vulnerability. However, the vulnerability reports may not explicitly list every library and human analysis is required to determine all the relevant libraries. Human analysis may be slow and expensive, which motivates the need for automated approaches. Researchers and practitioners have proposed to automatically identify libraries from vulnerability reports using extreme multi-label learning (XML). While state-of-the-art XML techniques showed promising performance, their experiment settings do not practically fit what happens in reality. Previous studies randomly split the vulnerability reports data for training and testing their models without considering the chronological order of the reports. This may unduly train the models on chronologically newer reports while testing the models on chronologically older ones. However, in practice, one often receives chronologically new reports, which may be related to previously unseen libraries. Under this practical setting, we observe that the performance of current XML techniques declines substantially, e.g., F1 decreased from 0.7 to 0.28 under experiments without and with consideration of chronological order of vulnerability reports. We propose a practical library identification approach, namely CHRONOS, based on zero-shot learning. The novelty of CHRONOS is three-fold. First, CHRONOS fits into the practical pipeline by considering the chronological order of vulnerability reports. Second, CHRONOS enriches the data of the vulnerability descriptions and labels using a carefully designed data enhancement step. Third, CHRONOS exploits the temporal ordering of the vulnerability reports using a cache to prioritize prediction of...

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑