Paper 2026/2071

Soft Analytical Side-Channel Attacks on SHA-2 and HMAC

Maxime Lecomte
Julien Maillard
Antoine Moran
Guénaël Renault
Benjamin Smith
Abstract

We investigate the use of bit-level Soft Analytical Side-Channel Attacks (SASCA) to recover secret inputs of the SHA-256 hash function, and secret keys of HMAC-SHA-256, using Sentential Decision Diagrams to overcome the computational challenge posed to classical Belief Propagation by multiple-word modular addition. Our attack on HMAC requires no control nor knowledge of the input, and exploits its double manipulation of the key to improve key-recovery performance. We make comprehensive simulations to evaluate the attacker’s recovery capacity for both SHA-256 and HMAC-SHA-256. Finally, we study the profiling capabilities of load instructions in a multiposition EM probe setup on a STM32F303RET6 microcontroller, and use these results to evaluate the capability of our attack against software implementations of HMAC-SHA-256 in a realistic scenario.

PDF
BibTeX
ePrint ↗
@misc{cryptoeprint:2026/2071,
      author = {Maxime Lecomte and Julien Maillard and Antoine Moran and Guénaël Renault and Benjamin Smith},
      title = {Soft Analytical Side-Channel Attacks on SHA-2 and HMAC},
      howpublished = {Cryptology {ePrint} Archive, Paper 2026/2071},
      year = {2026},
      url = {https://eprint.iacr.org/2026/2071}
}
Category
Attacks and cryptanalysis
License
CC BY-SA
Submitted
Versions

Report a problem

Comments

Log in or create an account

Privacy