Automated Hardware Trojan Insertion in Industrial-Scale Designs This work was supported in part by the National Science Foundation under Grant No. 2238976, titled CAREER: Unified Reference-Free Early Detection of Hardware Trojans via Knowledge Graph Embeddings. The authors are with the Department of
Yaroslav Popryho , , Debjit Pal , , and Inna Partin-Vaisband · 2025
Read Automated Hardware Trojan Insertion in Industrial-Scale Designs This work was supported in part by the National Science Foundation under Grant No. 2238976, titled CAREER: Unified Reference-Free Early Detection of Hardware Trojans via Knowledge Graph Embeddings. The authors are with the Department of by Yaroslav Popryho , , Debjit Pal , , and Inna Partin-Vaisband (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2511-08703.txt.
Introduction
Yaroslav Popryho and two co-authors build a tool that plants fake hardware Trojans inside industrial chip designs, so that detection software can be tested honestly. Real system-on-chip designs hold millions of connections, while public test benchmarks are small and hand-made, and sharing genuinely malicious designs would be risky.
The pipeline reads a gate-level design as a graph and hunts rare corners using testability metrics. It then applies function-preserving graph edits that create trigger and payload pairs with the statistical footprint of stealthy Trojans. User-visible behavior stays unchanged. On the generated benchmarks, leading graph-learning detectors fail to spot the planted patterns. The authors offer the framework as reproducible challenge material that closes the gap between classroom circuits and modern chips.
Catalog record
| CREATOR | Yaroslav Popryho , , Debjit Pal , , and Inna Partin-Vaisband |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 33 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2511-08703
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Automated Hardware Trojan Insertion in Industrial-Scale Designs This work was supported in part by the National Science Foundation under Grant No. 2238976, titled CAREER: Unified Reference-Free Early Detection of Hardware Trojans via Knowledge Graph Embeddings. The authors are with the Department of Electrical and Computer Engineering, University of Illinois Chicago, Chicago, IL 60607 USA (e-mail: [email protected], [email protected], [email protected]). Yaroslav Popryho , , Debjit Pal , , and Inna Partin-Vaisband Abstract Industrial Systems-on-Chips (SoCs) often comprise hundreds of thousands to millions of nets and millions to tens of millions of connectivity edges, making empirical evaluation of hardware–Trojan (HT) detectors on realistic designs both necessary and difficult. Public benchmarks remain significantly smaller and hand-crafted, while releasing truly malicious RTL raises ethical and operational risks. This work presents an automated and scalable methodology for generating HT-like patterns in industry-scale netlists whose purpose is to stress-test detection tools without altering user-visible functionality. The pipeline (i) parses large gate-level designs into connectivity graphs, (ii) explores rare regions using SCOAP testability metrics, and (iii) applies parameterized, function-preserving graph transformations to synthesize trigger–payload pairs that mimic the statistical footprint of stealthy HTs. When evaluated on the benchmarks generated in this work, representative state-of-the-art graph-learning models fail to detect Trojans. The framework closes the evaluation gap between academic circuits and modern SoCs by providing reproducible challenge instances that advance security research without sharing step-by-step attack instructions. I Introduction Modern Systems-on-Chip (SoCs) integrate tens to hundreds of millions of logic gates at the gate level, (standard-cell instances on the order of 10^{7} – 10^{8}+ ) with overall gate-equivalents commonly reach into the billions, while total transistor counts are in the tens of billions. At this scale, the practical risk around hardware Trojans (HTs) is not only insertion but the difficulty of finding stealthy, low-activity malicious reconvergent logic buried deep in the design netlist. This detection challenge intensifies as designs scale out and heterogeneity increases, where weakly exercised logic and long reconvergences are commonplace. The community relies heavily on TrustHub [ 14 ] and circuits derived from ISCAS’85/’89 [ 2 ] . These are invaluable for taxonomy and reproducibility, but their scale is orders of magnitude smaller than contemporary SoCs: ISCAS’85/’89 designs typically contain thousands of gates, and TrustHub instances frequently wrap or modify these baselines, with the maximum of tens of thousands of gates. In contrast, production gate-level netlists routinely comprise tens to hundreds of millions of standard-cell instances , and—counting large SRAM macros in NAND2-equivalents—often reach the multi-billion-gate scale [ 17 ] . This produces a persistent simulation-to-silicon gap: detectors that excel on academic circuits often fail to generalize under industrial class imbalance. Closing this gap requires benchmarks and procedures that are faithful to industrial scale and data skew. Moreover, hand-crafted HTs bias benchmarks toward human-designed motifs and cannot cover the long tail of “rare, hard-to-drive, hard-to-observe” patterns. Existing automated insertion efforts either target narrow settings or still evaluate primarily on small designs [ 12 , 3 ] . What is missing is an automated and scalable methodology that (i) preserves I/O functionality by construction, (ii) emulates stealthy statistical signatures (rare triggers; long reconvergences; benign payload equivalents), and (iii) produces precise per-net and per-cone labels and metadata. These requirements motivate the methodology introduced next and define how artifacts should look to meaningfully stress-test detectors. This paper introduces an automated and scalable methodology for generating Trojan-like, function-preserving patterns in industry-size designs for the sole purpose of evaluating and stress-test HT detectors. Rather than prescribing attack guidelines, the framework focuses on how to stress-test detectors using automatically synthesized structural anomalies that mimic the statistical footprint of stealthy triggers and payloads. The pipeline is designed to operate over millions of edges, to integrate with commodity EDA tooling, so that artifacts remain useful for research yet safe to share. Given an industrial-scale gate-level netlist and a set of graph-based HT detectors, the objective is to automatically produce Trojanized netlists , i.e., netlist mutations that: (i) preserve original I/O functionality and timing constraints, (ii) embed rare-triggered nodes (low controllability/observability; see Section II-B ) within cones of influence (COIs) , and (iii) are labeled at the net and cone level to support supervised and semi-supervised evaluation. By constraining I/O behavior while varying the difficult-to-control internal structure, functional correctness can be decoupled from detection difficulty, and sensitivity can be quantified under controlled conditions. This creates the missing benchmark dataset on which existing graph/machine learning (ML)-based frameworks [ 20 , 5 , 8 , 21 ] can be empirically evaluated for both effectiveness and scalability on industrial-scale designs, under the extreme class imbalance inherent to HT detection (i.e., Trojan-labeled nets/COIs are significantly rare—typically \ll 0.1\% of all nodes/regions; see Sec. II-B ) , enabling head-to-head comparisons. Specifically, beyond the methodology itself, the primary contributions of this paper are as follows: • a rare-node mining strategy grounded in SCOAP testability and structural constraints that yields diverse, stealthy instances stressing HT detectors, • a reproducible evaluation framework reporting detector ability to detect and localize stealthy/unseen Trojans, resource use, and ablations across designs with millions of nodes and edges, and • a benchmark dataset with per-cone labels, metrics, and splits for fair comparison at scale. The rest of this paper is organized as follows. Section II defines HT triggers/payloads; explores detector families and their scalability; details SCOAP for fast rarity mining and quantified scale gaps when transferring from small benchmarks to modern SoCs. Section III presents the methodology, including graph construction, rare‑node mining, and instrumentation guardrails. Section IV reports large‑scale experiments and sensitivity analyses and discusses their limitations. Section V concludes and outlines directions for future research. II Background Hardware Trojans (HTs) are malicious modifications that lie dormant under normal operation and activate under rare conditions. A typical HT comprises a trigger (see Fig. 1 )—often a low‑probability internal event such as a deep state pattern, a long counter value, or an uncommon handshake—and a payload (see Fig. 2 ) that once activated perturbs behavior including data leakage, control override, denial of service, or subtle performance degradation. Effective HTs minimize switching activity and structural footprint, favoring deep, reconvergent regions with naturally low controllability and observability. This threat model creates two coupled challenges at system scale: identifying statistically rare internal events under extreme class imbalance and doing so on designs with millions of nodes and edges. The discussion therefore surveys detector families and scalability, then details SCOAP testability as a foundation for rarity mining, and finally motivates diverse, unseen benchmarks. Figure 1: Example of hardware Trojan trigger (Palindrome Data). ⬇ 1 // Triggers on a symmetric, rare data pattern. 2 assign trigger_signal = ( par_dataH [7:4] == { par_dataH [0], par_dataH [1], par_dataH [2], par_dataH [3]}); Figure 2: Example of hardware Trojan payload (Reset Disable). ⬇ 1 // Causes state corruption across multiple transactions. 2 // Original line: else if (rstCountH) recd_bitCntrH <= 0; 3 else if ( rstCountH && ! trigger_signal ) recd_bitCntrH <= 0; II-A Detector families and their scalability Formal verification. Property checking, equivalence checking, and information‑flow verification (e.g., GLIFT/IFS) offer strong guarantees when specifications are precise and complete [ 18 , 9 , 11 ] . The most visible downsides are (i) scalability : state‑space growth and deep sequential logic make proofs expensive on industrial blocks;