Side channels and physical attacks, without the mystique
Isolation on paper is not isolation in physics. Power, timing, electromagnetic emissions and faults all leak information, and every serious hardware security design has to account for them.

Leaking through physics
A circuit performing a cryptographic operation draws slightly different current depending on the data it processes, takes slightly different time on different paths and radiates slightly different electromagnetic fields. None of these effects is part of the specification, and all of them can carry information. Simple power analysis reads a secret almost directly from a single trace; differential and correlation power analysis use thousands of traces and statistics to tease out key bits.
Fault attacks are the active counterpart. A voltage glitch, a clock glitch, a laser pulse or an electromagnetic pulse can make a processor skip an instruction or flip a bit at a chosen moment, sometimes enough to bypass a signature check or leak a key through a faulty result.
Inside large processors
Trusted execution environments on application processors face a different family of channels. Shared caches, branch predictors and memory controllers let one context observe the timing effects of another. Transient execution attacks, which exploit speculative execution, showed from 2018 onwards that architectural isolation could be bypassed in surprising ways. Several attacks have targeted enclave and confidential virtual machine designs specifically.
Vendors have responded with microcode updates, partitioning and changes in later generations. The general lesson for confidential computing is humility: the threat model must say explicitly which side channels are in scope, and attestation reports increasingly include microcode and firmware versions so that Verifiers can refuse vulnerable configurations.
Countermeasures and how to read them
Masking splits each sensitive value into random shares that are processed separately and never recombined in the clear, so that individual power samples reveal nothing on their own. Hiding techniques add noise or shuffle the order of operations. Constant-time programming removes data-dependent branches and memory accesses. Sensors detect glitches and abnormal light. Each raises the number of traces, the precision of equipment or the skill required.
When reading a security claim, look for numbers: how many traces were collected, with what equipment, using which statistical test. Test vector leakage assessment, which compares fixed-input and random-input traces with a t-test, is a common, assumption-light way of detecting leakage. A claim that a device is immune to side channels should make you more suspicious, not less.
- Common Criteria and attack potential ratings
- Test vector leakage assessment (TVLA)
- Constant-time coding guidance