NtNDet: Hardware Trojan detection based on pre-trained language models

被引:0
作者
Kuang, Shijie [1 ]
Quan, Zhe [1 ]
Xie, Guoqi [1 ]
Cai, Xiaomin [2 ,3 ]
Li, Keqin [4 ]
机构
[1] Hunan Univ, Coll Comp Sci & Elect Engn, Changsha 410082, Peoples R China
[2] Hunan Univ Finance & Econ, Sch Comp Sci & Technol, Changsha, Peoples R China
[3] Acad Mil Sci, Beijing, Peoples R China
[4] SUNY Coll New Paltz, Dept Comp Sci, New Paltz, NY 12561 USA
关键词
Gate-level netlists; Hardware Trojan detection; Large language model; Netlist-to-natural-language; Transfer learning;
D O I
10.1016/j.eswa.2025.126666
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Hardware Trojans (HTs) are malicious modifications embedded in Integrated Circuits (ICs) that pose a significant threat to security. The concealment of HTs and the complexity of IC manufacturing make them difficult to detect. An effective solution is identifying HTs at the gate level through machine learning techniques. However, current methods primarily depend on end-to-end training, which fails to fully utilize the advantages of large-scale pre-trained models and transfer learning. Additionally, they do not take advantage of the extensive background knowledge available in massive datasets. This study proposes an HT detection approach based on large-scale pre-trained NLP models. We propose a novel approach named NtNDet, which includes a method called Netlist-to-Natural-Language (NtN) for converting gate-level netlists into a natural language format suitable for Natural Language Processing (NLP) models. We apply the self-attention mechanism of Transformer to model complex dependencies within the netlist. This is the first application of large-scale pre- trained models for gate-level netlists HT detection, promoting the use of pre-trained models in the security field. Experiments on the Trust-Hub, TRIT-TC, and TRIT-TS benchmarks demonstrate that our approach outperforms existing HT detection methods. The precision increased by at least 5.27%, The True Positive Rate (TPR) by 3.06%, the True Negative Rate (TNR) by 0.01%, and the F1 score increased by about 3.17%, setting a new state-of-the-art in HT detection.
引用
收藏
页数:13
相关论文
共 48 条
  • [1] Trojan detection using IC fingerprinting
    Agrawal, Dakshi
    Baktir, Selcuk
    Karakoyunlu, Deniz
    Rohatgi, Pankaj
    Sunar, Berk
    [J]. 2007 IEEE SYMPOSIUM ON SECURITY AND PRIVACY, PROCEEDINGS, 2007, : 296 - +
  • [2] Alrahis L., 2022, P 41 IEEE ACM INT C, P1
  • [3] Hardware Trojan Detection Using Unsupervised Deep Learning on Quantum Diamond Microscope Magnetic Field Images
    Ashok, Maitreyi
    Turner, Matthew J.
    Walsworth, Ronald L.
    Levine, Edlyn, V
    Chandrakasan, Anantha P.
    [J]. ACM JOURNAL ON EMERGING TECHNOLOGIES IN COMPUTING SYSTEMS, 2022, 18 (04)
  • [4] Hardware Trojan Attacks: Threat Analysis and Countermeasures
    Bhunia, Swarup
    Hsiao, Michael S.
    Banga, Mainak
    Narasimhan, Seetharam
    [J]. PROCEEDINGS OF THE IEEE, 2014, 102 (08) : 1229 - 1247
  • [5] A fine-grained detection method for gate-level hardware Trojan base on bidirectional Graph Neural Networks
    Cheng, Dong
    Dong, Chen
    He, Wenwu
    Chen, Zhenyi
    Liu, Ximeng
    Zhang, Hao
    [J]. JOURNAL OF KING SAUD UNIVERSITY-COMPUTER AND INFORMATION SCIENCES, 2023, 35 (10)
  • [6] ReIGNN: State Register Identification Using Graph Neural Networks for Circuit Reverse Engineering
    Chowdhury, Subhajit Dutta
    Yang, Kaixin
    Nuzzo, Pierluigi
    [J]. 2021 IEEE/ACM INTERNATIONAL CONFERENCE ON COMPUTER AIDED DESIGN (ICCAD), 2021,
  • [7] Devlin J, 2019, 2019 CONFERENCE OF THE NORTH AMERICAN CHAPTER OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS: HUMAN LANGUAGE TECHNOLOGIES (NAACL HLT 2019), VOL. 1, P4171
  • [8] Design of Hardware Trojans and its Impact on CPS Systems: A Comprehensive Survey
    Dhavlle, Abhijitt
    Hassan, Rakibul
    Mittapalli, Manideep
    Dinakarrao, Sai Manoj Pudukotai
    [J]. 2021 IEEE INTERNATIONAL SYMPOSIUM ON CIRCUITS AND SYSTEMS (ISCAS), 2021,
  • [9] Natural Language Processing for Hardware Security: Case of Hardware Trojan Detection in FPGAs
    Dofe, Jaya
    Danesh, Wafi
    More, Vaishnavi
    Chaudhari, Aaditya
    [J]. CRYPTOGRAPHY, 2024, 8 (03)
  • [10] Hardware Trojans in Chips: A Survey for Detection and Prevention
    Dong, Chen
    Xu, Yi
    Liu, Ximeng
    Zhang, Fan
    He, Guorong
    Chen, Yuzhong
    [J]. SENSORS, 2020, 20 (18) : 1 - 37