Back to Search Start Over

Hamming Weight Attacks on Cryptographic Hardware — Breaking Masking Defense

Authors :
Mirosław Kutyłowski
Marcin Gomułkiewicz
Source :
Computer Security — ESORICS 2002 ISBN: 9783540443452, ESORICS
Publication Year :
2002
Publisher :
Springer Berlin Heidelberg, 2002.

Abstract

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 subkey 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 Twofish) combined with the usage of addition might be a serious danger.

Details

ISBN :
978-3-540-44345-2
ISBNs :
9783540443452
Database :
OpenAIRE
Journal :
Computer Security — ESORICS 2002 ISBN: 9783540443452, ESORICS
Accession number :
edsair.doi...........b9dcb0ca1155d0c0f21b2085a405465c