An Intermediate Secret-Guessing Attack on Hash-Based Signatures
Multi-target Intermediate Secret-Guessing attack reducing effective security of XMSS, XMSS^MT and K2SN-MSS hash-based signatures by 10, 39 and 12 bits, with a PRF-based key-generation fix.
Schemes: XMSS, XMSS^MT, K2SN-MSS, SP 800-208
Findings (quotes checked against the source text)
-
An intermediate secret-guessing multi-target attack forges signatures on arbitrary messages against XMSS^MT and K2SN-MSS, lowering effective security below designed levels.
The attack allows an adversary to forge a signature on an arbitrary message.
-
Effective security of XMSS, XMSS^MT and K2SN-MSS is 10, 39 and 12 bits below designed levels given 2^20, 2^60 and 2^20 signatures respectively.
The attack implies that the effective security levels of XMSS (a special case of XMSS^MT), XMSS^MT, and K2SN-MSS are 10, 39 and 12 bits lower than their designed security levels given access to $2^{20}$, $2^{60}$, and $2^{20}$ signatures, respectively.
-
The attack can be avoided by modifying how a pseudorandom function is applied during key generation.
We also show that the attack can be avoided by modifying the application of a pseudorandom function for key generation.
Numbers (as extracted, not quote-checked)
- XMSS effective security loss: 10 bits
- XMSS^MT effective security loss: 39 bits
- K2SN-MSS effective security loss: 12 bits
- Signatures available to adversary for XMSS and K2SN-MSS: 2^20
- Signatures available to adversary for XMSS^MT: 2^60
For builders
When deriving hash-based signature keys, avoid replacing true randomness with a PRF applied in a way that lets an attacker guess intermediate secrets across many keys; audit multi-target bounds.
Limits
Attack evaluated on XMSS, XMSS^MT and K2SN-MSS as specified in 2021; full text not reviewed here, only the abstract was available, so the detailed analysis is unverified.
Topics: sig-hash-based cryptanalysis hash-functions standards-policy