![基于漏洞指纹的脆弱性代码克隆检测方法及其装置](/CN/2017/1/157/images/201710789364.jpg)
基本信息:
- 专利标题: 基于漏洞指纹的脆弱性代码克隆检测方法及其装置
- 专利标题(英):Loophole fingerprint based vulnerability code clone detecting method and device
- 申请号:CN201710789364.6 申请日:2017-09-05
- 公开(公告)号:CN107688748A 公开(公告)日:2018-02-13
- 发明人: 魏强 , 刘臻 , 林超 , 麻荣宽 , 柳晓龙
- 申请人: 中国人民解放军信息工程大学
- 申请人地址: 河南省郑州市高新区科学大道62号
- 专利权人: 中国人民解放军信息工程大学
- 当前专利权人: 中国人民解放军信息工程大学
- 当前专利权人地址: 河南省郑州市高新区科学大道62号
- 代理机构: 郑州大通专利商标代理有限公司
- 代理人: 周艳巧
- 主分类号: G06F21/57
- IPC分类号: G06F21/57 ; G06F21/56
The invention relates to a loophole fingerprint based vulnerability code clone detecting method and device. The method includes steps of collecting a code sample, and building a loophole database; selecting the loophole and searching the loophole patch information, and acquiring a vulnerability code sample; structuring a code analyzer; pretreating the vulnerability code sample by means of the codeanalyzer to obtain a standard middle expression; dividing the middle expression to be a code block with size of s line; calculating a characteristic value of the code block through a hash function, and combining to generate the loophole fingerprint; pretreating the code to be detected by means of the code analyzer and acquiring a characteristic value sequence of the code to be detected; mapping the loophole fingerprint to n bit of bit drawing; identifying if the characteristic value sequence is existed with vulnerability code clone by means of the bit drawing and outputting it. The method anddevice can effectively deal with the common code modifying method in the code cloning, well balance the relationship between the detecting efficiency and the detecting accuracy, and effectively detect the large-scale objects while keeping good accuracy.
公开/授权文献:
- CN107688748B 基于漏洞指纹的脆弱性代码克隆检测方法及其装置 公开/授权日:2019-09-24
IPC结构图谱:
G | 物理 |
--G06 | 计算;推算;计数 |
----G06F | 电数字数据处理 |
------G06F21/00 | 防止未授权行为的保护计算机或计算机系统的安全装置 |
--------G06F21/10 | .保护分布式程序或内容,例如版权资料的出售或许可 |
----------G06F21/57 | ..确保或维持可信任的计算机平台,例如安全引导或断电、版本控制、系统软件检查、安全更新或评估漏洞 |