Skip to main content

Week 10: The leakage taxonomy

Putting one rubric under seven individually-argued channels, and attaching a number to what each of them actually reveals

26 April 2027

"It leaks" is not a finding until it is a number; mutual information makes seven channels argued on their own terms comparable on one.

Open the slides

Weeks 2 through 8 each argued one channel on its own terms, and were built so that no two of those arguments were the same shape. The cost of that choice is that nothing so far has let you say whether the acoustic channel is a worse problem than the thermal one, or whether either is worth attending to before the cache. This lecture supplies the missing rubric: the six axes below, applied to all seven channels at once.

Four of the axes are descriptive and you have the answers already from your own Bench notes. Two are not. Rate and volume — how much one measurement tells you, and how many you need — have been treated informally since week 3, where “average enough traces” stood in for a quantity nobody put a number on. Mutual information is that number:

I(S; M) = H(S) − H(S | M)

the reduction in uncertainty about a secret S produced by observing a measurement M of it. Zero means the measurement told you nothing. H(S) means it told you everything. Everything this course has called a leak sits somewhere strictly between, and where it sits is the difference between a channel that needs one trace and one that needs ten million — a distinction that decides whether an attack is a paper or a product.

The taxonomy is not a classification exercise, and this is the lecture’s actual argument. Ordering the seven channels by what it costs an attacker to use them produces one list; ordering them by what it costs a defender to close them produces a different list, and the two disagree more than they agree. A channel that is cheap to exploit and cheap to close is a bug, and gets fixed. A channel that is expensive to exploit and expensive to close is somebody else’s threat model. The channels that matter are the ones where the two orderings diverge — cheap to exploit, expensive to close — and the only way to find them is to build both orderings and compare them, which is what this week’s Bench does with your own measurements rather than with supplied examples.

Outline

The axes

Medium
which physical quantity carries the information out of the device
Proximity
how close the attacker has to get, and for how long
Availability
whether the leak can be collected during the computation or only afterwards
Rate
how many bits of the secret one measurement carries, on average
Volume
how many measurements are needed before the estimate is usable
Cost to close
what a defender gives up to remove the channel, in money, throughput or function

Readings

  1. Francois-Xavier Standaert, Tal G. Malkin and Moti Yung (2009). A Unified Framework for the Analysis of Side-Channel Key Recovery Attacks. EUROCRYPT 2009, LNCS 5479, 443-461.
  2. Suresh Chari, Josyula R. Rao and Pankaj Rohatgi (2002). Template Attacks. CHES 2002, LNCS 2523, 13-28.
  3. Qian Ge, Yuval Yarom, David Cock and Gernot Heiser (2018). A Survey of Microarchitectural Timing Attacks and Countermeasures on Contemporary Hardware. Journal of Cryptographic Engineering 8(1), 1-27.

Teaching team