网络与信息安全学报 ›› 2021, Vol. 7 ›› Issue (2): 110-125.doi: 10.11959/j.issn.2096-109x.2021018

• 学术论文 • 上一篇    下一篇

基于候选函数组的固件间函数对应关系构建方法

肖睿卿, 祝跃飞, 刘胜利, 芦斌   

  1. 数学工程与先进计算国家重点实验室,河南 郑州 450001
  • 修回日期:2020-06-21 出版日期:2021-04-15 发布日期:2021-04-01
  • 作者简介:肖睿卿(1992- ),男,黑龙江牡丹江人,数学工程与先进计算国家重点实验室博士生,主要研究方向为二进制分析。
    祝跃飞(1962- ),男,浙江兰溪人,数学工程与先进计算国家重点实验室教授、博士生导师,主要研究方向为安全协议和密码学。
    刘胜利(1973- ),男,河南周口人,数学工程与先进计算国家重点实验室教授、博士生导师,主要研究方向为网络设备安全和网络攻击检测。
    芦斌(1982-),男,山西灵石人,数学工程与先进计算国家重点实验室副教授,主要研究方向为信息安全、机器学习。
  • 基金资助:
    科技委基础加强项目(2019-JCJQ-ZD-113);国家重点研发计划(2019QY1300);国家重点研发计划(2016YFB0801505)

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)

摘要:

由于固件的特点,传统二进制比对方法在匹配函数节点传播匹配的过程中易产生误匹配。针对匹配函数传播效果不理想的问题,设计了基于候选函数组的函数对应关系构建方法,并引入了函数n层局部网络匹配的概念。然后,结合3种候选函数组构造策略形成候选函数组构造方法及候选函数组匹配方法,并分析了时间开销。最后,基于所提方法实现了原型系统,并与 Bindiff 进行比较。通过随机抽样和人工核对,所提方法匹配结果的86.04%与Bindiff匹配结果一致,所提方法匹配结果的11.3%可以修正Bindiff的匹配错误,缓解了传播带来的误匹配问题。

关键词: 固件, 二进制比对, 函数匹配, 候选函数组

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

中图分类号: 

No Suggested Reading articles found!