计算机科学 ›› 2012, Vol. 39 ›› Issue (7): 302-204.

• 体系结构 • 上一篇    下一篇

基于中断向量表重构的固件代码反汇编技术

崔晨,李清宝,胡刚,王炜   

  1. (解放军信息工程大学信息工程学院 郑州 450002)
  • 出版日期:2018-11-16 发布日期:2018-11-16

Firm-code Disassembly Technology Based on IVT Reconstruction

  • Online:2018-11-16 Published:2018-11-16

摘要: 反汇编是固件代码逆向分析的重要研究内容,其正确性直接影响固件代码逆向分析的准确性。固件代码结构具有特殊性,针对上层应用程序的反汇编算法大都不能直接用于固件代码的反汇编。中断向量表是固件代码的重要组成部分,从中断向量开始对中断服务子程序进行反汇编,可提高固件代码反汇编的精度。通过对固件代码结构特点的研究分析,介绍了中断向量表的重构方法,提出了一种基于中断向量表重构的固件代码反汇编技术。经测试分析,与传统的静态反汇编技术相比,基于中断向量表重构的固件代码反汇编技术不仅能够对固件代码中的主函数进行反汇编,还能够对中断服务子程序进行反汇编,反汇编精度平均提高了8.72%.

关键词: 逆向分析,固件代码,反汇编,中断向量表

Abstract: Disassembly is an important part of firmware reverse engineering analysis, whose correctness directly influences the precision of FREA. At present,most of the disassembly methods focus on practical program. However,these methods could not be directly used in firm-code disassembly due to its particularity. IV T (Interrupt Vector Fable) is the core of firm-code. Effective interrupt vectors are available by reconstructing the IVT. The more interrupt vectors we obtwin, the more precise the disassembly result is. The structural characteristics of firm-code were studied, and the IV T reconstruction method was introduced. Moreover, a disassembly technology based on the reconstruction of IVT was proposed. The experimental results show that the proposed technology can effectively improve the precision of firm-code disassembly, by which both of main function and interrupt subprograms could be disassembled, compared with traditional static disassembly methods. The disassembly precision is increased by 8. 72 0 in average.

Key words: Reverse analysis, Firm-code, Disassembly, IVT

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!