Differential Power Analysis of XMSS and SPHINCS
Side-channel study of hash-based signatures: shows XMSS DPA resistance reduces to its PRNG, and recovers at least 32 bits of a SPHINCS-256 secret key via DPA on hardware.
Schemes: XMSS, XMSS^MT, SPHINCS-256, SHA-2 PRNG, BLAKE-256 PRF
Findings (quotes checked against the source text)
-
Timing and simple power analysis attacks are unpromising against XMSS, but XMSS differential power analysis resistance reduces to that of its underlying PRNG.
While timing and simple power analysis attacks are unpromising, we show that the differential power analysis resistance of XMSS can be reduced to the differential power analysis resistance of the underlying pseudorandom number generator.
-
A DPA attack recovers at least a 32-bit chunk of the SPHINCS secret key, enabled by SPHINCS's stateless construction.
Furthermore, we show that at least a 32-bit chunk of the SPHINCS secret key can be recovered using a differential power analysis attack due to its stateless construction.
-
The SPHINCS attack compromises a hardware implementation of SPHINCS-256 using a BLAKE-256-based PRF.
The second one compromises the security of a hardware implementation of SPHINCS-256.
-
The XMSS attack does not threaten current XMSS versions unless a customised PRNG is used.
The first attack is not threatening current versions of XMSS, unless a customised pseudorandom number generator is used.
Numbers (as extracted, not quote-checked)
- SPHINCS secret key bits recoverable by DPA: at least 32 bits
For builders
Protect hash-based signers against DPA in hardware, especially SPHINCS's PRF and XMSS's PRNG, and avoid customised PRNGs.
Limits
Attacks are in the Hamming weight model on specific simulated SHA-2 PRNG and a hardware BLAKE SPHINCS-256 implementation; abstract-only reading, full text not reviewed.
Topics: sig-hash-based sig-stateful implementation-sidechannel hash-functions cryptanalysis