###
DOI:
Journal of Software:2010.21(2):179-193

面向高可信软件的整数溢出错误的自动化测试
卢锡城,李根,卢凯,张英
(国防科学技术大学 计算机学院,湖南 长沙 410073)
High-Trusted-Software-Oriented Automatic Testing for Integer Overflow Bugs
LU Xi-Cheng,LI Gen,LU Kai,ZHANG Ying
()
Abstract
Chart / table
Reference
Similar Articles
Article :Browse 7674   Download 6047
Received:June 15, 2009    Revised:December 07, 2009
> 中文摘要: 面向高可信软件提出了一种二进制级高危整数溢出错误的全自动测试方法(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.
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.
文章编号:     中图分类号:    文献标志码:
基金项目: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)) 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))
Foundation items:
Reference text:

卢锡城,李根,卢凯,张英.面向高可信软件的整数溢出错误的自动化测试.软件学报,2010,21(2):179-193

LU Xi-Cheng,LI Gen,LU Kai,ZHANG Ying.High-Trusted-Software-Oriented Automatic Testing for Integer Overflow Bugs.Journal of Software,2010,21(2):179-193