What is Hardware Trojan?

Malicious circuitry inserted during design or manufacturing to leak information or disable operation. It activates only under rare conditions, making it hard to detect.

Field: Hardware Security

Japanese name: ハードウェアトロイ

Trigger and payload

A hardware Trojan is usually described in two parts. The trigger is the condition that activates it, such as a rare 32-bit input value, a specific command sequence or a counter reaching billions of cycles. The payload is what happens once it fires: leaking a secret key through an output pin or a side channel such as power consumption, corrupting a computation, or disabling the chip. Some Trojans have no trigger at all and leak information continuously in a way that is hard to notice.

Where it can be inserted

A modern chip passes through many organizations: third-party IP vendors, EDA tools, design contractors, external foundries, and packaging and test houses. Malicious logic could be added in RTL, during synthesis or layout, by modifying masks, or, as research has demonstrated, by subtly changing transistor doping without adding visible gates. Because the change is physically part of the circuit, it cannot be patched or removed by a software update after shipping, which makes prevention far more important than repair.

Why ordinary testing misses it

Manufacturing test checks that the specified functions work and that no structural defects exist; it does not hunt for extra behavior. A trigger built around conditions that functional and random test patterns almost never produce stays dormant, so the chip looks healthy. A Trojan may also need only a handful of transistors among billions, so its effect on area, power and delay can hide within normal process variation, complicating both visual inspection and side-channel detection.

Countermeasures across the flow

Defense is spread over the whole design and manufacturing chain: using trusted tools, IP and foundries; controlling and independently reviewing changes to design data; formal equivalence checking between design stages; deprocessing sample chips and comparing layer images with the layout; comparing power, delay or electromagnetic signatures against known-good chips; and splitting manufacturing so that no single fab sees the complete design. On-chip monitors can add detection of anomalous behavior at run time.

Try it: questions about Hardware Trojan

Which describes a hardware Trojan?

  1. AMalicious circuitry inserted during design or manufacturing to leak information or disable operation
  2. BA dedicated circuit that removes software viruses
  3. CA clock circuit wired in a tree shape
Show answer and explanation

Answer: A. Malicious circuitry inserted during design or manufacturing to leak information or disable operation

Chips are often designed by combining IP from many companies and manufactured in another company's fab, involving many organizations and people. Along the way, malicious circuitry could be added that, for example, leaks a key under some condition or stops operating at a set date. This is called a hardware Trojan. It cannot be removed by software updates after manufacturing, so countermeasures are needed across the entire design and manufacturing flow.

FAQ

Can a hardware Trojan be removed with a firmware update?

No. It is part of the physical circuitry, so software cannot delete it; at best firmware can avoid or monitor a known trigger. Countermeasures must act during design and manufacturing.

Why are hardware Trojans hard to detect?

They activate only under extremely rare conditions that tests do not produce, and they can be tiny compared with the rest of the chip, so their effects on power and timing blend into normal variation.

What is the difference between a hardware Trojan and a counterfeit chip?

A counterfeit is a fake, recycled or remarked part sold as genuine, usually a reliability risk. A hardware Trojan is deliberately added malicious functionality inside a design; both are supply-chain threats.

Questions that mention Hardware Trojan (3)

Hardware Trojan appears in 4 practice questions across 2 topics, including Hardware Security, Hardware Security: Advanced Topics and Trends.

  1. What is the main reason hardware Trojans are hard to find with ordinary testing?
  2. Which is NOT a countermeasure against hardware Trojans?
  3. Which is an appropriate way to think about security when combining chiplets from several companies in one package?

Books on Hardware Security Ad

As an Amazon Associate I earn from qualifying purchases.

This page was drafted with AI and fact-checked by a separate AI review before publication. Our Editorial policy explains how we write and check content. If you spot an error, please tell us on our Contact page.

Back to the glossary