首页 | 本学科首页   官方微博 | 高级检索  
     

面向高可信软件的整数溢出错误的自动化测试
引用本文:卢锡城,李根,卢凯,张英.面向高可信软件的整数溢出错误的自动化测试[J].软件学报,2010,21(2):179-193.
作者姓名:卢锡城  李根  卢凯  张英
作者单位:国防科学技术大学,计算机学院,湖南,长沙,410073
基金项目:Supported by the National High-Tech Research and Development Plan of China under Grant No.2007AA010301 (国家高技术研究发展计划(863)); the National Basic Research Program of China under Grant No.2005CB321801 (国家重点基础研究发展计划(973))
摘    要:面向高可信软件提出了一种二进制级高危整数溢出错误的全自动测试方法(dynamic automatic integer-overflow detection and testing,简称DAIDT).该方法无需任何源码甚至是符号表支持,即可对二进制应用程序进行全面测试,并自动发现高危整数溢出错误.在理论上形式化证明了该技术对高危整数溢出错误测试与发掘的无漏报性、零误报性与错误可重现特性.为了验证该方法的有效性,实现了IntHunter原型系统.IntHunter对3个最新版本的高可信应用程序(微软公司Windows 2003和2000 Server的WINS服务、百度公司的即时通讯软件BaiDu Hi)分别进行了24小时测试,共发现了4个高危整数溢出错误.其中3个错误可导致任意代码执行,其中两个由微软安全响应中心分配漏洞编号CVE-2009-1923,CVE-2009-1924,另一个由百度公司分配漏洞编号CVE-2008-6444.

关 键 词:整数溢出  高危整数溢出错误  动态自动测试用例生成  污点分析  符号化执行
收稿时间:2009/6/15 0:00:00
修稿时间:2009/12/7 0:00:00

High-Trusted-Software-Oriented Automatic Testing for Integer Overflow Bugs
LU Xi-Cheng,LI Gen,LU Kai and ZHANG Ying.High-Trusted-Software-Oriented Automatic Testing for Integer Overflow Bugs[J].Journal of Software,2010,21(2):179-193.
Authors:LU Xi-Cheng  LI Gen  LU Kai and ZHANG Ying
Affiliation:LU Xi-Cheng,LI Gen+,LU Kai,ZHANG Ying(School of Computer,National University of Defense Technology,Changsha 410073,China)
Abstract:This paper presents an automatic testing method, DAIDT (dynamic automatic integer-overflow detection and testing), for finding integer overflow fatal bugs in binary code. DAIDT can thoroughly test the binary code and automatically find unknown integer overflow bugs without necessarily knowing their symbol tables. It is formally proved in this paper that DAIDT can theoretically detect all the high-risk integer overflow bugs with no false positives and no false negatives. In additional, any bugs find by DAIDT can be replayed. To demonstrate the effectiveness of this theory, IntHunter has been implemented. It has found 4 new high risk integer overflow bugs in the latest releases of three high-trusted applications (two Microsoft WINS services in Windows 2000 and 2003 Server, Baidu Hi Instant Messager) by testing each for 24 hours. Three of these bugs allow arbitrary code execution and have received confirmed vulnerabilities numbers, CVE-2009-1923, CVE-2009-1924 from Microsoft Security Response Center and CVE-2008-6444 from Baidu.
Keywords:integer overflow  integer overflow vulnerability  dynamic automatic test case generation  taint analysis  symbolic execution
本文献已被 CNKI 万方数据 等数据库收录!
点击此处可从《软件学报》浏览原始摘要信息
点击此处可从《软件学报》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号