检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:刘臻 武泽慧 曹琰[1] 魏强[1] LIU Zhen;WU Ze-hui;CAO Yan;WEI Qiang(State Key Laboratory of Mathematical Engineering and Advanced Computing,Information Engineering University,Zhengzhou 450001,China)
机构地区:[1]信息工程大学数学工程与先进计算国家重点实验室,河南郑州450001
出 处:《浙江大学学报(工学版)》2018年第11期2180-2190,共11页Journal of Zhejiang University:Engineering Science
基 金:国家重点研发计划基金资助项目(2017YFB0802900)
摘 要:针对传统脆弱性代码复用检测技术漏报率高的问题,提出基于漏洞指纹的检测方法.分析开源项目漏洞补丁的结构与脆弱性代码特征,总结代码复用过程中常见修改手段的特点,设计基于哈希值的漏洞指纹模型.开展代码预处理消除无关因素的影响,选取固定行数的代码块作为特征抽象粒度,利用哈希算法抽取关键代码特征.通过搜集开源项目漏洞信息与相关代码片段构建漏洞样本库,利用基于LCS的相似性评估算法定位漏洞样本的复用并且标记为敏感代码,使用漏洞指纹进行检测并根据识别策略完成对脆弱性代码的判定.实验结果表明,基于漏洞指纹的检测方法能够有效地应对多种代码修改手段的影响,明显提高检测效率,检测时间与输入代码量呈线性增长关系.A detection method for vulnerable code reuse based on vulnerability fingerprint was proposed to reduce the false negative rate of traditional methods.The structure of the vulnerability patch on open source projects and the feature of vulnerable code were analyzed,the common methods of code reuse were summarized and the fingerprint model based on hash value was presented.Code preprocessing was introduced to reduce the influence of irrelevant factors.The code block with fixed line number was used as the basic unit for feature abstraction and the hash algorithm was introduced to extract features from the code.The vulnerability instance database was established by collecting vulnerability details and relevant codes in open source project.The LCS-based similarity measuring method was employed to locate the reuse of the instance and mark them as sensitive codes.Under the instruction of the judging strategy,the vulnerability fingerprint was applied to identify vulnerable code reuse among the sensitive codes accurately.The experimental results showed that the proposed method can deal with the impact of the commonly used code modification methods effectively as well as improve the efficiency obviously,and there was linear dependence between the time cost and the amount of input code.
关 键 词:软件脆弱性检测 脆弱性代码 漏洞指纹 代码复用 相似性评估
分 类 号:TP393[自动化与计算机技术—计算机应用技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.74