信息工程大学,河南 郑州 450001
[ "徐宇航(2002- ),男,信息工程大学硕士生,主要研究方向为HT防御和内生安全。" ]
[ "于洪(1988- ),女,博士,信息工程大学副研究员,主要研究方向为网络空间内生安全和拟态防御。" ]
[ "郑锐(1999- ),男,信息工程大学硕士生,主要研究方向为芯片设计与验证和高速互联结构设计。" ]
收稿:2025-11-01,
修回:2026-03-25,
录用:2026-03-25,
纸质出版:2026-04-25
移动端阅览
徐宇航, 于洪, 郑锐. 基于图Transformer的门级硬件木马检测方法[J]. 网络与信息安全学报, 2026, 12(2): 118-131.
Xu Yuhang, Yu Hong, Zheng Rui. Gate-level hardware trojan detection method based on graph Transformer[J]. Chinese Journal of Network and Information Security, 2026, 12(2): 118-131.
徐宇航, 于洪, 郑锐. 基于图Transformer的门级硬件木马检测方法[J]. 网络与信息安全学报, 2026, 12(2): 118-131. DOI: 10.11959/j.issn.2096-109x.AQ25240.
Xu Yuhang, Yu Hong, Zheng Rui. Gate-level hardware trojan detection method based on graph Transformer[J]. Chinese Journal of Network and Information Security, 2026, 12(2): 118-131. DOI: 10.11959/j.issn.2096-109x.AQ25240.
图神经网络能够有效学习并检测门级网表中恶意植入的硬件木马(HT),但现有方法通常基于同构、同工艺电路进行训练,导致模型泛化能力受限于训练集的工艺与结构特性,难以应对目标电路与训练集差异所引起的图结构分布偏移。为此,提出了基于图Transformer的门级HT检测方法。首先,将门级网表转换为通用图结构,设计多维特征提取模块捕捉节点的本征属性与拓扑信息。其次,采用三层堆叠图Transformer进行特征编码,捕捉节点间全局依赖关系,融合多层次特征以增强表达能力。最后,引入带梯度反转层的双任务分类器,抑制电路异构性带来的域偏移。在Trust-Hub公共库的实验表明:所提方法在新思90 nm通用库SAED上实现了95.2%的召回率,且相较现有主流方法在F1分数上有所提高;在基于TRIT的大规模数据集上实现了87.9%的平均召回率和85.0%的平均F1分数,能够有效提升HT检测模型在跨工艺或异构网表中的鲁棒性。
Graph neural networks can effectively learn and detect maliciously implanted hardware trojans (HT) in gate-level netlists. However
existing methods were usually trained on isomorphic and same-process circuits
which resulted in the generalization ability of the models being limited by the process and structural characteristics of the training set
making it difficult to cope with the graph structure distribution shift caused by the differences between the target circuit and the training set. To address this issue
a gate-level HT detection method based on graph transformer was proposed. Firstly
the gate-level netlist was converted into a general graph structure
and a multi-dimensional feature extraction module was designed to capture the intrinsic attributes and topological information of nodes. Secondly
a three-layer stacked graph Transformer was adopted for feature encoding to capture the global dependencies between nodes
and multi-level features were fused to enhance the expression ability. Finally
a dual-task classifier with a gradient reversal layer was introduced to suppress the domain shift caused by circuit heterogeneity. Experiments at the Trust-Hub public library showed that the proposed method achieved a recall rate of 95.2% on the synopsys 90 nm general library SAED
and its F1-score was improved compared with existing mainstream methods. On the large-scale dataset based on TRIT
it achieved an average recall rate of 87.9% and an average F1-score of 85.0%. This method effectively improves the robustness of HT detection models in cross-process or heterogeneous netlists.
Xiao K , Forte D , Jin Y , et al . Hardware trojans: lessons learned after one decade of research [J ] . ACM Transactions on Design Automation of Electronic Systems , 2017 , 22 ( 1 ): 1 - 23 .
Zhang J , Yuan F , Wei L X , et al . VeriTrust: verification for hardware trust [J ] . IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems , 2015 , 34 ( 7 ): 1148 - 1161 .
Lyu Y D , Mishra P . Automated trigger activation by repeated maximal clique sampling [C ] // Proceedings of the 2020 25th Asia and South Pacific Design Automation Conference (ASP-DAC) . Piscataway : IEEE Press , 2020 : 482 - 487 .
Elshamy M , Di Natale G , Sayed A , et al . Digital-to-analog hardware Trojan attacks [J ] . IEEE Transactions on Circuits and Systems I: Regular Papers , 2022 , 69 ( 2 ): 573 - 586 .
Tebyanian M , Mokhtarpour A , Shafieinejad A . SC-COTD: hardware Trojan detection based on sequential/combinational testability features using ensemble classifier [J ] . Journal of Electronic Testing , 2021 , 37 ( 4 ): 473 - 487 .
Pan Z X , Mishra P . A survey on hardware vulnerability analysis using machine learning [J ] . IEEE Access , 2022 , 10 : 49508 - 49527 .
Vaswani A , Shazeer N , Parmar N , et al . Attention is all you need [C ] // Proceedings of the 31st International Conference on Neural Information Processing Systems . New York : ACM Press , 2017 : 6000 - 6010 .
Li P , Wang Y , Wang H , et al . Distance encoding: design provably more powerful neural networks for graph representation learning [J ] . Advances in Neural Information Processing Systems . 2020 , 33 : 4465 - 4478 .
Dwivedi V P , Bresson X . A generalization of transformer networks to graphs [PP ] . arXiv ( 2021-01-24 )[ 2025-11-01 ] . arXiv: arXiv. 2012 . 09699 .
Shakya B , He T , Salmani H , et al . Benchmarking of hardware trojans and maliciously affected circuits [J ] . Journal of Hardware and Systems Security , 2017 , 1 ( 1 ): 85 - 102 .
Yu S C , Gu C Y , Liu W Q , et al . Deep learning-based hardware Trojan detection with block-based netlist information extraction [J ] . IEEE Transactions on Emerging Topics in Computing , 2022 , 10 ( 4 ): 1837 - 1853 .
Fyrbiak M , Wallat S , Reinhard S , et al . Graph similarity and its applications to hardware security [J ] . IEEE Transactions on Computers , 2020 , 69 ( 4 ): 505 - 519 .
梅波 , 郭威 , 曹志鹏 , 等 . 基于GSCPN的HT攻击建模与安全性分析 [J ] . 网络与信息安全学报 , 2024 , 10 ( 4 ): 72 - 84 .
Mei B , Guo W , Cao Z P , et al . Modeling and security analysis of hardware Trojan attack based on GSCPN [J ] . Chinese Journal of Network and Information Security , 2024 , 10 ( 4 ): 72 - 84 .
武玲娟 , 朱嘉诚 , 唐时博 , 等 . 基于可满足性无关项的HT设计与检测 [J ] . 网络与信息安全学报 , 2021 , 7 ( 2 ): 35 - 42 .
Wu L J , Zhu J C , Tang S B , et al . Design and detection of hardware Trojan based on satisfiability don’t cares [J ] . Chinese Journal of Network and Information Security , 2021 , 7 ( 2 ): 35 - 42 .
Piccolboni L , Menon A , Pravadelli G . Efficient control-flow subgraph matching for detecting hardware trojans in RTL models [J ] . ACM Transactions on Embedded Computing Systems , 2017 , 16 ( 5 ): 1 - 19 . .
Chen X M , Liu Q Y , Yao S , et al . Hardware Trojan detection in third-party digital intellectual property cores by multilevel feature analysis [J ] . IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems , 2018 , 37 ( 7 ): 1370 - 1383 .
Shen H H , Tan H Z , Li H W , et al . LMDet: a “naturalness” statistical method for hardware Trojan detection [J ] . IEEE Transactions on Very Large Scale Integration (VLSI) Systems , 2018 , 26 ( 4 ): 720 - 732 .
Kipf T N , Welling M . Semi-supervised classification with graph convolutional networks [PP ] . arXiv ( 2017-02-22 ) [ 2025-11-01 ] .arXiv: arXiv. 1609.02907.
Veličković P , Cucurull G , Casanova A , et al . Graph attention networks [PP ] . arXiv ( 2018-02-04 ) [ 2025-11-01 ] . arXiv: arXiv. 1710.10903.
Hamilton W L , Ying R , Leskovec J . Inductive representation learning on large graphs [PP ] . arXiv ( 2018-09-10 ). arXiv: arXiv. 1706 . 02216 .
Yasaei R , Yu S Y , Al Faruque M A . GNN4TJ: graph neural networks for hardware Trojan detection at register transfer level [C ] // Proceedings of the 2021 Design , Automation & Test in Europe Conference & Exhibition (DATE) . Piscataway : IEEE Press , 2021 : 1504 - 1509 .
Yasaei R , Chen L K , Yu S Y , et al . Hardware Trojan detection using graph neural networks [J ] . IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems , 2025 , 44 ( 1 ): 25 - 38 .
史江义 , 温聪 , 刘鸿瑾 , 等 . 基于图神经网络的门级HT检测方法 [J ] . 电子与信息学报 , 2023 , 45 ( 9 ): 3253 - 3262 .
Shi J Y , Wen C , Liu H J , et al . Hardware Trojan detection for gate-level netlists based on graph neural network [J ] . Journal of Electronics & Information Technology , 2023 , 45 ( 9 ): 3253 - 3262 .
Ma P J , Li J , Liu H J , et al . Hardware Trojan detection methods for gate-level netlists based on graph neural networks [J ] . IEEE Transactions on Computers , 2025 , 74 ( 5 ): 1470 - 1481 .
Yasaei R , Faezi S , Al Faruque M A . Golden reference-free hardware Trojan localization using graph convolutional network [J ] . IEEE Transactions on Very Large Scale Integration (VLSI) Systems , 2022 , 30 ( 10 ): 1401 - 1411 .
Li S , Song S J , Huang G , et al . Domain invariant and class discriminative feature learning for visual domain adaptation [J ] . IEEE Transactions on Image Processing , 2018 , 27 ( 9 ): 4260 - 4273 .
Lin T Y , Goyal P , Girshick R , et al . Focal loss for dense object detection [C ] // Proceedings of the 2017 IEEE International Conference on Computer Vision (ICCV) . Piscataway : IEEE Press , 2017 : 2999 - 3007 .
Ganin Y , Lempitsky V . Unsupervised domain adaptation by backpropagation [PP ] . arXiv ( 2015-02-27 ) [ 2025-11-01 ] . arXiv: arXiv. 1409 . 7495 .
Hasegawa K , Hidano S , Nozawa K , et al . R-HTDetector: robust hardware-Trojan detection based on adversarial training [J ] . IEEE Transactions on Computers , 2023 , 72 ( 2 ): 333 - 345 .
0
浏览量
0
下载量
0
CSCD
关联资源
相关文章
相关作者
相关机构
京公网安备11010802024621