Paper 2024/2056
Exact Template Attacks with Spectral Computation
Abstract
The so-called Gaussian template attacks (TA) is one of the optimal Side-Channel Analyses (SCA) when the measurements are captured with normal noise. In the SCA literature, several optimizations of its implementation are introduced, such as coalescence and spectral computation. The coalescence consists of averaging traces corresponding to the same plaintext value, thereby coalescing (synonymous: compacting) the dataset. Spectral computation consists of sharing the computational workload when estimating likelihood across key hypotheses. State-of-the-art coalescence leverages the Law of Large Numbers (LLN) to compute the mean of equivalent traces. This approach comes with a drawback because the LLN is just an asymptotic approximation. So it does not lead to an exact Template Attack, especially for a few number of traces. In this paper, we introduce a way of calculating the TA exactly and with the same computational complexity (using the spectral approach), without using the LLN, regardless of the number of messages. For the experimental validation of this approach, we use the ANSSI SCA Database (ASCAD), with different numbers of messages and different amounts of samples per trace. Recall that this dataset concerns a software implementation of AES-128 bits, running on an ATMEGA-8515 microprocessor.
Note: Version presented this week at the Kobe University AsianHOST 2024 conference.
Metadata
- Available format(s)
- Category
- Implementation
- Publication info
- Published elsewhere. AsianHOST 2024
- Keywords
- Spectral approachTemplate AttackMultivariate analysisAttack speed-upCoalescenceLaw of Large Numbers (LLN).
- Contact author(s)
-
meriem mahar @ etud univ-paris8 fr
ouladj maamar @ gmail com
sylvain guilley @ secure-ic com
hacenebelbachir @ gmail com
farid mokrane @ univ-paris8 fr - History
- 2024-12-22: approved
- 2024-12-20: received
- See all versions
- Short URL
- https://ia.cr/2024/2056
- License
-
CC BY
BibTeX
@misc{cryptoeprint:2024/2056, author = {Meriem Mahar and Mammar Ouladj and Sylvain Guilley and Hacène Belbachir and Farid Mokrane}, title = {Exact Template Attacks with Spectral Computation}, howpublished = {Cryptology {ePrint} Archive, Paper 2024/2056}, year = {2024}, url = {https://eprint.iacr.org/2024/2056} }