Hardware Trojan detection with linear regression based gate-level characterization

Li Zhang, Chip-Hong ChangAPCCAS 2014

Abstract

Hardware Trojans (HTs) pose a significant threat to the semiconductor supply chain as manufacturing is increasingly outsourced. This paper presents a high-speed detection method that models chip power leakage as a linear regression problem. By employing normal equations for gate-level characterization (GLC) and introducing a bias term to capture malicious circuitry, the approach eliminates the need for a physical "golden" reference chip. Experimental results demonstrate high sensitivity to dormant Trojans, with reliable detection achieved when the Trojan-to-circuit gate count ratio exceeds 0.4%.

Introduction

The globalization of the semiconductor industry has led to increased outsourcing of fabrication, raising concerns about Hardware Trojans—malicious modifications that can compromise chip security or functionality. Traditional detection methods, such as destructive testing or logic-based verification, are often impractical or ineffective against dormant Trojans. Side-channel analysis, while promising, is frequently hindered by Process Variation (PV), which can mask the subtle signals of a Trojan. This work addresses these challenges by proposing a computationally efficient GLC method that accounts for PV without the need for iterative solvers.

Methodology

The proposed detection framework utilizes linear regression with multiple variables to characterize gate-level behavior. The total measured leakage current of a chip is modeled as a linear combination of nominal gate leakages, adjusted by scaling factors ($\theta_j$) representing process variation.

A critical innovation is the inclusion of a bias term ($\theta_0$). In a Trojan-free chip, this term remains near zero. However, in an infected chip, the additional leakage from the Trojan is absorbed into $\theta_0$ or causes detectable shifts in other parameters. To ensure high-speed processing suitable for high-volume manufacturing, the system is solved using normal equations ($ \theta = (X^T X)^{-1} X^T y $) and Singular Value Decomposition (SVD) to handle potential matrix instabilities.

Overview of the two-phase GLC-based Hardware Trojan detection process.

As illustrated in the workflow above, the detection process consists of two phases:

  1. Phase I (Simulation): A baseline "fingerprint" (mean and variance) of scaling factors is established using design-house simulation models.
  2. Phase II (Testing): Fabricated chips are measured, and their parameters are compared against the baseline. Significant deviations, particularly in the bias term $\theta_0$, indicate infection.

Results and Discussion

The method was evaluated using ISCAS’89 benchmarks (C499 and C880a) with a TSMC 0.18 µm CMOS library. A single NAND gate served as the Trojan model, representing a minimal footprint challenge.

The results indicate that the bias term $\theta_0$ is a highly sensitive indicator of infection. As shown in the experimental data, the variance of $\theta_0$ in infected chips is significantly higher—often by an order of magnitude—compared to genuine chips.

Comparison of mean and variance for the bias term ($\theta_0$) and selected gate scaling factors in HT-free vs. HT-infected instances.

Key findings include:

  • Sensitivity: Detection is reliable when the Trojan-to-circuit gate count ratio (TCR) is above 0.4%. In tests on the C499 circuit, the variance of the bias term in HT-infected chips was 10 to 20 times higher than in genuine chips.
  • Dormant Detection: Since leakage power is always present, the Trojan does not need to be active to be detected. This allows for the identification of "time bomb" Trojans that logic tests would miss.
  • Efficiency: The use of direct linear regression significantly reduces computational overhead compared to previous iterative GLC approaches, making it practical for testing thousands of individual units.

Conclusion

This linear regression-based GLC approach provides a fast, non-destructive, and reference-chip-free method for Hardware Trojan detection. While the current sensitivity floor is approximately 0.4% TCR, the method's ability to handle process variation and detect dormant Trojans makes it a robust tool for hardware security. Future work may involve refining thermal conditioning techniques to further improve parameter estimation accuracy in complex circuits.

Summary updated

BibTeX
@inproceedings{zhang2014hardware,
  author = {Li Zhang and Chip-Hong Chang},
  title = {{Hardware Trojan detection with linear regression based gate-level characterization}},
  booktitle = {APCCAS},
  year = {2014},
  doi = {10.1109/apccas.2014.7032768},
}
Figure