← Back to section · Hardware & Chips
Chip-Level Key Storage and Tamper Resistance: Opening the Chip Should Not Yield the Keys
Where keys live inside a chip and in what form they exist determines the difficulty of physical attack; active shield meshes, environmental sensors and triggered zeroisation make the act of opening a chip itself costly.
Once an attacker holds a physical chip, the contest moves from mathematics to physics: decapsulation, grinding, probing and microscopy take turns. Chip-level key storage and tamper-resistance design answer a direct question: where do keys live, and in what form, so that opening the chip does not yield them — and when the opening is under way, can the chip notice and destroy its secrets first? This body of design relies on no algorithmic strength; it is the very reason secure chips exist as a category distinct from ordinary chips.
Where Keys Live: Layers of Storage Form
The most fragile approach stores keys in plaintext in ordinary flash: the charge states of memory cells can be read out bit by bit with techniques such as electron microscopy, and secrets may be exhumed years after a chip leaves the market. The first improvement is wrapping: long-term keys are stored encrypted under a higher-level key, plaintext appearing only fleetingly on protected internal buses during computation and cleared from volatile memory afterwards. The wrapping key traces upward in turn, until the chain must rest on some root.
The root’s form decides the physical strength of the whole chain. One option is battery-backed tamper-resistant RAM: keys live in an always-powered region, and intrusion into the enclosure or package triggers immediate zeroisation — power loss means destruction. Another is derivation bound to physical structure: the root key is regenerated by a PUF at power-up and simply does not exist at rest, so there is nothing to read out. A third is one-time-programmable fuse storage, suited to data like root public-key hashes that need no confidentiality, only immutability. The division of labour is visible in the comparison: confidentiality comes from wrapping and derivation, integrity from fuses and signatures — choosing a storage form is essentially matching the nature of each datum to its seat. One class of detail is often overlooked: the buses and registers a key traverses inside the chip are targets too, since a probe can tap internal lines and read a key in transit; internal bus encryption and clearing registers after use are therefore the natural extension of storage design into the computation stage.
Tamper Resistance: Making Intrusion Pay First
Tamper resistance divides into passive and active means. Passive measures include hard packaging materials and potting compounds with special fillers, making grinding and decapsulation difficult and evident. Active measures are the signature of secure chips: a serpentine shield mesh (active shield) is laid out in the top metal layer — both a physical barrier and a continuously monitored circuit whose cutting, shorting or bypassing is detected. Together with environmental sensors for voltage, temperature, frequency and light, the chip stays alert to out-of-range conditions that prelude many fault-injection and intrusion operations.
What follows detection is decisive: triggered key zeroisation. A well-designed chip, on judging that it is under attack, actively erases its key regions, so that an attacker who succeeds in opening the package faces a chip that has already “lost its memory”. This sense–judge–self-destruct loop turns physical attack into a race against time: the attacker must complete everything without tripping any sensor — precisely the threshold the protection design exists to raise.
How Keys Enter the Chip: Injection and Personalisation
Keys inside a chip have three sources. The first is factory provisioning: the vendor writes root keys or root public-key hashes during manufacture or testing, which requires the production line itself to be a trusted environment and the injection process to leave audit records. The second is on-chip generation: the key pair is generated inside the chip from its true random source, the private key never exists outside, and only the public key is registered externally — the highest-assurance approach, at the price of tightly choreographed generation and registration on the personalisation line. The third is injection over a secure channel during personalisation before use: the issuer or operator writes keys through an encrypted, authenticated session — and that channel’s own keys become a new starting point of trust that must be anchored by the first two sources.
Personalisation is the most fragile moment in a key’s life: the chip is at its most “open” in this phase, receiving keys, certificates and personal data, with line equipment, operators and procedures all entering the scope of trust. Once personalisation completes, the chip must switch lifecycle state and close its injection interfaces; many real-world security incidents were not storage being breached but copies from the injection step lingering where they should not. When evaluating a chip’s key storage, asking “where do the keys come from, where are they generated, and are the interfaces truly closed after injection” often reaches the crux better than asking about the storage medium alone.
The Trade: Protection Grade against Cost
Physical protection is not “the stronger the better”; it must match the value of the keys. Payment cards and passport chips face well-equipped laboratory attackers, and their protection grades and evaluation requirements are correspondingly the highest; a secure storage area in consumer electronics mostly faces software-level adversaries, and excessive physical protection merely wastes cost. Invasive attacks demand expensive equipment and skilled operators, so the goal of protection has never been theoretical impregnability, but making the attack cost more than it gains and take longer than the keys remain valid.
There is also tension between tamper resistance and usability: over-sensitive sensors cause false-triggered zeroisation that bricks healthy devices, and shield and sensor circuitry consumes area and power that low-end products cannot afford. Post-quantum migration adds a new storage variable: post-quantum keys and signatures are significantly larger than classical ones, so secure-storage capacity planning and wrapping overheads must be recalculated. The physical ledger, in the end, must be settled together with the algorithmic one.
Tags: Key StorageTamper ResistancePhysical SecurityAnti-Tampering