Abstract
HaTCh (Hardware Trojan Catcher) is a rigorous pre-silicon detection tool that uses a "whitelisting" approach to identify malicious circuitry in third-party IP cores. Unlike previous methods that can be bypassed by sophisticated, stealthy designs, HaTCh provides provable security guarantees and can detect an exponentially large class of deterministic Trojans ($H_D$) with polynomial computational complexity.
Introduction
Modern System-on-Chip (SoC) designers often use third-party Intellectual Property (IP) cores to save time and reduce costs. However, these cores are often provided as gate-level netlists without source code, creating a significant security risk: Hardware Trojans (HTs). These malicious modifications can be triggered under specific conditions to leak information or disable the system.
Existing detection tools like FANCI and VeriTrust have a fundamental flaw: they are designed to catch a small, fixed set of known Trojan benchmarks. Attackers have already developed "stealthy" Trojans (such as those from the DeTrust framework) that bypass these tools by spreading malicious logic across multiple clock cycles or using "implicit behavior"—where the Trojan triggers but doesn't immediately produce an error that a functional tester would notice. HaTCh aims to break this cat-and-mouse cycle by providing a detection algorithm with a rigorous mathematical foundation.
Methodology
HaTCh operates on a "whitelisting" principle rather than looking for specific "bad" patterns. Its methodology consists of two main phases:
- The Learning Phase: The tool performs extensive logic testing on the IP core using functional specifications. It monitors internal wire transitions and identifies which combinations are "legitimate" (used during normal operation). Any transition not seen during this phase is added to a "blacklist."
- The Tagging Phase: HaTCh transforms the IP core by adding "tagging circuitry." This extra logic monitors the blacklisted transitions during the chip's actual operation. If a blacklisted transition occurs—indicating the potential activation of a hidden Trojan—the circuit raises a
TrojanDetectedflag.
The authors introduce a formal class of Trojans called $H_D$ (deterministic Trojans) characterized by parameters like trigger dimension ($d$) and payload delay ($t$). By focusing on these behavioral traits rather than specific implementations, HaTCh can provide a provable upper bound on false negatives.
Evaluation and Results
The authors evaluated HaTCh using several key benchmarks, including the industry-standard TrustHub suite, DeTrust Trojans designed to evade state-of-the-art tools, and a newly designed k-XOR-LFSR Trojan to test the limits of detection.
Key results include:
- 100% Detection: HaTCh successfully detected all Trojans in the TrustHub suite, as well as advanced DeTrust and LFSR-based Trojans that bypass other SOTA tools.
- Low Area Overhead: On average, the added tagging circuitry resulted in an area overhead of only 4.18% for non-pipelined designs.
- Efficiency and Scalability: For most benchmarks, the "blacklist" stabilized quickly (100 to 10,000 patterns). For a 128-input AND gate, HaTCh's complexity is orders of magnitude lower than competitors.
Discussion
A major insight of this work is the distinction between explicit and implicit malice. HaTCh is specifically designed to account for the "stealth" period where a Trojan is triggered but the output remains normal for several cycles. Furthermore, the paper moves away from heuristic-based detection, proving that the probability of a false negative decreases exponentially ($2^{-\lambda}$) as learning iterations increase.
While HaTCh is currently limited to trigger-activated digital Trojans and does not address "always-on" or side-channel Trojans, it represents a significant step forward in pre-silicon verification. Future work will explore non-deterministic Trojans and further minimize area overhead for large-scale designs.
Summary updated