Power Analysis of the Advanced Encryption Standard: Attacks and Countermeasures for 8-bit Microcontrollers
Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE creditsStudent thesis
The Advanced Encryption Standard is one of the most common encryption algorithms. It is highly resistant to mathematical and statistical attacks, however, this security is based on the assumption that an adversary cannot access the algorithm’s internal state during encryption or decryption. Power analysis is a type of side-channel analysis that exploit information leakage through the power consumption of physical realisations of cryptographic systems. Power analysis attacks capture intermediate results during AES execution, which combined with knowledge of the plaintext or the ciphertext can reveal key material. This thesis studies and compares simple power analysis, differential power analysis and template attacks using a cheap consumer oscilloscope against AES-128 implemented on an 8-bit microcontroller. Additionally, the shuffling and masking countermeasures are evaluated in terms of security and performance. The thesis also presents a practical approach to template building and device characterisation. The results show that attacking a naive implementation with differential power analysis requires little effort, both in preparation and computation time. Template attacks require the least amount of measurements but requires significant preparation. Simple power analysis by itself cannot break the key but proves helpful in simplifying the other attacks. It is found that shuffling significantly increases the number of traces required to break the key while masking forces the attacker to use higher-order techniques.
Place, publisher, year, edition, pages
2015. , 92 p.
power analysis, template attacks, countermeasures, microcontroller, AES
IdentifiersURN: urn:nbn:se:liu:diva-122718ISRN: LiTH-ISY-EX--15/4907--SEOAI: oai:DiVA.org:liu-122718DiVA: diva2:874463
Sectra Communications AB
Subject / course
2015-11-06, Systemet, 14:15 (English)
Larsson, Jan-Åke, Docent