Chinese Journal of Network and Information Security ›› 2021, Vol. 7 ›› Issue (2): 110-125.doi: 10.11959/j.issn.2096-109x.2021018

• Papers • Previous Articles     Next Articles

Method for constructing function correspondence between firmware based on candidate function group

Ruiqing XIAO, Yuefei ZHU, Shengli LIU, Bin LU   

  1. State Key Laboratory of Mathematical Engineering and Advanced Computing, Zhengzhou 450001, China
  • Revised:2020-06-21 Online:2021-04-15 Published:2021-04-01
  • Supported by:
    Science and Technology Commission Foundation Enhancement Project(2019-JCJQ-ZD-113);The National Key R&D Program of China(2019QY1300);The National Key R&D Program of China(2016YFB0801505)

Abstract:

Due to the characteristics of firmware, traditional binary comparison methods are prone to mismatches during the propagation of the matching function.Aiming at the problem that the matching function propagation algorithm is not ideal, a method for constructing function correspondence based on candidate function groups was designed, and the concept of function matching in n layer local network is supplemented.Then, three candidate function group construction strategies and candidate function group matching methods are proposed, and the time overhead were analyzed.Finally, a prototype system was implemented based on the method and compared with Bindiff.Through random sampling and manual check, 86.04% of the matching results of the proposed method are consistent with Bindiff matching results, while 11.3% can correct Bindiff matching errors.

Key words: firmware, binary comparison, function matching, candidate function group

CLC Number: 

No Suggested Reading articles found!