Introduction
Hardware Trojans (HTs) represent a critical security threat in the globalized semiconductor supply chain. These malicious modifications to integrated circuits can be designed to leak sensitive information, such as cryptographic keys, or to cause catastrophic system failures. While traditional HTs typically alter the logical function of a circuit—making them detectable through logic testing or side-channel analysis—a more insidious class of Trojans exists: Path Delay Hardware Trojans (PDHTs).
PDHTs do not change the logical output of a circuit under normal operating conditions. Instead, they introduce infinitesimal delays into specific, rarely exercised paths. When a specific "trigger" input sequence is applied, the cumulative delay exceeds the clock period, resulting in a setup time violation. This causes a computational error, effectively launching a "bug attack" that is nearly impossible to distinguish from a random hardware glitch.
The Challenge of Stealth and Reversibility
Previous research into PDHTs faced two primary hurdles. First, the selection of the target path was often deterministic. If a defender understood the algorithm used to identify "rare" paths, they could replicate the process to identify and rigorously test those specific candidates. Second, the process of adding delay often relied on heuristic methods like Genetic Algorithms (GA), which are computationally expensive and lack the precision needed for optimal stealth.
This paper, originally presented at PROOFS 2018, addresses these vulnerabilities by introducing a non-reversible insertion method grounded in a new analytical metric: Gate Switching Detectability (GSD).
Proposed Methodology
Gate Switching Detectability (GSD)
The authors propose GSD as a metric to quantify the stealthiness of a gate within a circuit. Unlike static logic metrics, GSD accounts for dynamic switching activity, including glitches—temporary, non-functional signal flips that occur before a circuit settles.
As illustrated in Figure 1, the metric analyzes how transitions (rising or falling edges) propagate through a sequence of gates ($g_1, g_2, g_3$). By measuring how much a specific gate's switching influences the probability of a path being sensitized, attackers can avoid "noisy" paths with high glitching activity that would likely be caught during standard post-manufacturing tests.
Non-Reversible Path Selection
To prevent defenders from reverse-engineering the Trojan location, the authors move away from picking the single "best" path. Instead, the algorithm identifies a pool of candidate paths ($\alpha$) that meet the criteria for rarity and stealth. A randomness parameter ($\rho$) is then used to select a path from this pool. This introduction of entropy ensures that even if a defender knows the selection criteria, the number of potential paths they must verify remains computationally prohibitive.
Systematic Delay Addition
Rather than using stochastic search methods, the authors utilize a mathematical formula derived from GSD to distribute extra delay across the gates of the selected path. This analytical approach allows for fine-grained control over the Trojan's impact, ensuring the delay is sufficient to cause a fault upon triggering but small enough to remain hidden under normal operating conditions.
Experimental Evaluation
The methodology was evaluated using standard benchmark circuit architectures, specifically focusing on 32 × 2 bit multipliers. Two distinct architectures were tested: the Ripple Carry Adder (RCA), known for its simplicity, and the Kogge Stone Adder (KSA), a high-speed architecture with complex internal paths.
To measure stealthiness, the researchers conducted Monte Carlo simulations using one million random input vectors. The goal was to achieve a detection rate below $10^{-6}$, the standard failure rate for Large-Scale Integration (LSI) chips. If the Trojan triggers less frequently than a natural manufacturing defect, it becomes virtually undetectable through random testing.
Key Insights and Results
The experimental results demonstrated the high efficacy of the GSD-based approach:
- High Stealthiness: In multiple test scenarios, the detection rate was zero out of one million vectors, indicating that the Trojans would likely survive standard industry testing phases.
- Architectural Impact: The method proved particularly effective on the high-speed KSA architecture. By optimizing the delay distribution using a tuning parameter ($\lambda$), the researchers could significantly reduce the detection rate compared to non-optimized insertions.
- Randomness as Defense: The study quantified the entropy of the selection process, confirming that the non-reversible nature of the algorithm forces defenders into an exhaustive search space that is impractical to navigate.
Conclusion and Future Work
This research highlights a significant shift in Hardware Trojan design, moving from heuristic-based modifications to systematic, mathematically-driven insertions. By leveraging GSD and non-reversible selection, attackers can create PDHTs that are both highly effective and extremely difficult to detect.
Future work in this domain will likely focus on scaling these methods to more complex Systems-on-Chip (SoCs) and investigating advanced "counter-countermeasures" to protect critical infrastructure from such sophisticated timing-based attacks.
Summary updated