Journal of Xidian University ›› 2023, Vol. 50 ›› Issue (3): 142-150.doi: 10.19665/j.issn1001-2400.2023.03.014

• Computer Science and Technology & Cyberspace Security • Previous Articles     Next Articles

RELIC-GNN:an efficient state register identification algorithm

DONG Meng1(),GAO Yiming1(),PAN Weitao1(),QIU Zhiliang1(),YANG Jianlei2(),DI Zhixiong3(),ZHENG Ling4()   

  1. 1. State Key Laboratory of Integrated Services Networks,Xidian University,Xi’an 710071,China
    2. School of Computer Science and Engineering,Beihang University,Beijing 100191,China
    3. School of Information Science and Technology,Southwest Jiaotong University,Chengdu 611756,China
    4. School of Communications and Information Engineering,Xi’an University of Posts and Telecommunications,Xi’an 710121,China
  • Received:2022-08-22 Online:2023-06-20 Published:2023-10-13
  • Contact: Weitao PAN E-mail:mdong@stu.xidian.edu.cn;gyming@stu.xidian.edu.cn;wtpan@mail.xidian.edu.cn;zlqiu@mail.xidian.edu.cn;jianlei@buaa.edu.cn;dizhixiong2@126.com;lingzheng@xupt.edu.cn

Abstract:

With the horizontalization of integrated circuit (IC) design and globalization of manufacturing,a large number of hardware ICs produced by third-party vendors are used in the chip design,which raises concerns about design backdoors/hardware Trojan horses being inserted into chips.Reverse engineering can recover the design netlist of IC chips,and designers can determine whether the design functions have been tampered with by extracting high-level descriptions and analyzing the key logic.However,the poor readability of the reverse netlist with its data paths and control logic mixed makes it difficult to abstract the high-level descriptions quickly and accurately.In this paper,the problem is equivalently defined as the classification problem of the netlist path structure,and an efficient state register identification algorithm based on the graph neural network is proposed.First,pre-processing of the netlist is conducted to eliminate the differences of the process library and to reduce the modeling complexity.Second,the netlist is modeled as the directed graph and the path structure of each register is extracted.Then the graph neural network model is used to map corresponding features of each register with the path structure inputted.Finally,the features are clustered so as to classify the registers into status registers and control registers.Experimental results prove that the algorithm can run correctly on a million-gate netlist with the average recognition accuracy reaching 88.37%,which is improved in recognition accuracy,operation speed and migratability compared with the existing algorithms.

Key words: reverse engineering, register classification, control logic extraction, graph neural networks

CLC Number: 

  • TN406