A Kelsey–Kohno Attack Variant against SHA-2 Message Digests in HSS/LMS and XMSS
Multi-target second-preimage attack on SHA-256 and SHA-256/192 message hashing in HSS/LMS and XMSS, pooling signatures across keys via herding and state collisions; cuts security by 100 bits for SHA-256.
Schemes: HSS, LMS, XMSS, SHA-256, SHA-256/192, SHAKE256, Kelsey-Kohno herding, Kelsey-Schneier expandable message
Findings (quotes checked against the source text)
-
For SHA-256 with 2^64 signatures spread over any number of keys, the cost falls from nominal 2^256 to about 2^166 for messages up to 4 GiB, a 100-bit loss.
For SHA-256 with NIST's bound of $2^{64}$ signatures, which may be spread over any number of keys, the cost in compression-function calls falls from the nominal $2^{256}$ to about $2^{166}$ for messages of up to 4 GiB and to about $2^{156}$ in the formal limit of maximal message length, a loss of 100 bits.
-
For SHA-256/192, digest matching costs about 2^153 for 2^64 signatures of any length, a 39-bit loss.
For SHA-256/192, digest matching costs about $2^{153}$ for $2^{64}$ signatures of any length, a loss of 39 bits.
-
Pooling signatures across keys means even the first signature of an individual key contributes to ecosystem-wide exposure.
Because the attack pools signatures across keys, even the first signature of an individual key contributes to a potential overall exposure of an ecosystem.
-
The attack exploits SHA-256 chaining state being narrower than twice the targeted security level; SHAKE256 parameter sets are not affected.
The attacks exploit the chaining state of SHA-256, which is narrower than twice the targeted security level; the SHAKE256 parameter sets are not affected.
Numbers (as extracted, not quote-checked)
- SHA-256 multi-target attack cost, 2^64 signatures, messages up to 4 GiB: about 2^166 compression calls (nominal 2^256)
- SHA-256 multi-target attack cost, formal maximal message length: about 2^156 compression calls
- SHA-256/192 digest-matching attack cost, 2^64 signatures: about 2^153 (39-bit loss)
For builders
If using HSS/LMS or XMSS with SHA-256 or SHA-256/192 in a PQ chain, prefer SHAKE256 parameter sets or otherwise account for the multi-target loss when sizing security margins.
Limits
Abstract-only input; full text not read. Attack is on message hashing of stateful schemes, not on the signatures themselves; cost figures are the paper's estimates.
Topics: hash-functions sig-hash-based sig-stateful cryptanalysis