It is believed that masking is an effective countermeasure against power analysis attacks: before a certain operation involving a key is performed in a cryptographic chip, the input to this operation is combined with a random value. This has to prevent leaking information since the input to the operation is random. We show that this belief might be wrong. We present a Hamming weight attack on an addition operation. It works with random inputs to the addition circuit, hence masking even helps in the case when we cannot control the plaintext. It can be applied to any round of the encryption. Even with moderate accuracy of measuring power consumption it determines explicitly sub key bits. The attack combines the classical power analysis (over Hamming weight) with the strategy of the saturation attack performed using a random sample. We conclude that implementing addition in cryptographic devices must be done very carefully as it might leak secret keys used for encryption. In particular, the simple key schedule of certain algorithms (such as IDEA and Two fish) combined with the usage of addition might be a serious danger.
CITATION STYLE
Gomułkiewicz, M., & Kutyłowski, M. (2002). Hamming weight attacks on cryptographic hardware – Breaking masking defense. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 2502, pp. 90–103). Springer Verlag. https://doi.org/10.1007/3-540-45853-0_6
Mendeley helps you to discover research relevant for your work.