首页 | 官方网站   微博 | 高级检索  
     

基于代码插装的缓冲区溢出漏洞定位技术
引用本文:史胜利. 基于代码插装的缓冲区溢出漏洞定位技术[J]. 计算机工程, 2012, 38(9): 138-140
作者姓名:史胜利
作者单位:包头师范学院信息科学与技术学院,内蒙古包头,014030
摘    要:为准确快速地找到缓冲区溢出漏洞点,提出一种通过代码插装对二进制文件中的缓冲区溢出漏洞自动定位的方法。使用PIN提供的函数编写程序分析工具,在程序执行过程中记录所需的信息。当检测到内存访问错误异常时,判别破坏内存的情况,获取内存破坏点,查找到非法写内存的指令定位漏洞。实例分析表明,该方法不需要源程序且效率较高,能成功地定位常见的缓冲区溢出漏洞。

关 键 词:漏洞定位  代码插装  返回地址  函数指针  异常  缓冲区溢出
收稿时间:2011-09-09

Buffer Overflow Vulnerability Location Technology Based on Code Instrumentation
SHI Sheng-li. Buffer Overflow Vulnerability Location Technology Based on Code Instrumentation[J]. Computer Engineering, 2012, 38(9): 138-140
Authors:SHI Sheng-li
Affiliation:SHI Sheng-li(School of Information Science and Technology,Baotou Teacher College,Baotou 014030,China)
Abstract:In order to find buffer overflow vulnerability point accurately and rapidly,this paper proposes a method that can find buffer overflow vulnerabilities in binary file through code instrumentation.It uses plentiful functions PIN providing to make program analysis tool and saves information needed during program execution.When detecting memory access violation exception,it distinguishes what class of memory corruption and obtains memory corruption point and seeks illegal memory writing instruction to locate vulnerability.Example analysis shows that the method does not need source program,and has higher efficiency,it can locate popular buffer overflow vulnerabilities successfully.
Keywords:vulnerability location  code instrumentation  return address  function pointer  exception  buffer overflow
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《计算机工程》浏览原始摘要信息
点击此处可从《计算机工程》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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

京公网安备 11010802026262号