Research by N. Howgrave-Graham, N. Smart. Lattice Attacks on Digital Signature Schemes (2001). A Foundation for Key Recovery with Partial Nonce Leakage

03.09.2026

Research by N. Howgrave-Graham, N. Smart. Lattice Attacks on Digital Signature Schemes (2001). A Foundation for Key Recovery with Partial Nonce Leakage

In 2001, N. Hoograve-Graham and N. Smart published  “Lattice Attacks on Digital Signature Schemes ,” which laid the foundation for a new class of cryptanalytic attacks on digital signature algorithms based on the discrete logarithm problem (DSA, ECDSA, and their variants). The key idea is that even with partial disclosure (leaking) of several bits of the ephemeral nonce  for  several signatures, the signer’s secret key can be recovered in polynomial time using lattice reduction methods. This work became the starting point for an entire field of cryptanalysis, combining side-channel attacks, hidden number problems, and lattice theory.

This review provides an in-depth analysis of the Hoograve-Graham and Smart methodology, including its mathematical framework, the formulation of the problem as a closest vector problem (CVP), practical application aspects, and historical context. Real-world examples from the history of cryptanalysis are provided, demonstrating the evolution and practical significance of this approach.

1. Introduction: context and problem statement

1.1 Cryptanalytic Challenge

The Digital Signature Algorithm (DSA) and its elliptic-coil version, ECDSA, are cornerstones of modern cryptography. Their security is based on the computational difficulty of the discrete logarithm problem in the multiplicative group of a prime field or the point group of an elliptic curve. However, the practical implementation of these schemes is always fraught with risks of information leakage through side channels (power analysis, timing attacks, electromagnetic radiation, etc.).

Before Hoograve-Graham and Smart’s work, it was believed that compromising a secret key required either fully disclosing  the nonce  (an ephemeral key) for a single signature or solving the discrete logarithm problem. The authors showed that  partial information  about the nonce (e.g., a few low-order or high-order bits) for a sufficiently large number of signatures allows one to recover the secret key using lattice algorithms.[reference:3][reference:4]

1.2. Historical background and place of work

The work of Howgrave-Graham and Smart emerged from a stream of research linking lattice theory with cryptanalysis. Lattice reduction algorithms (LLL, BKZ) and their application to breaking small-key cryptosystems (e.g., Kuppersmith’s attack on RSA with a small public exponent) were already known at the time. However, the transfer of these ideas to DSA with partially known nonces was a conceptual breakthrough. As noted in modern reviews,  “Howgrave-Graham and Smart’s attack was one of the first lattice-based attacks on DSA” [reference:5], and it has since formed the basis of much practical cryptanalytic work [reference:6].

📜 Historical example from the cryptanalysis archives:

In 2010, researchers from the University of Bristol conducted an experiment to recover an ECDSA key using a cache-timing attack. They used a modification of the Hoograve-Graham-Smart attack to recover a 160-bit secret key with only 3-4 bits of information about each nonce from 200 signatures. This experiment demonstrated that the theoretical constructs from 2001 have direct practical application against real hardware implementations.

2. Mathematical apparatus: lattices and the nearest vector problem

2.1 Fundamentals of Lattice Theory

A lattice  L  in  n  is the set of all integer linear combinations  of m  linearly independent vectors  1 , …,  m  ∈  n :

L = { z₁·b₁ + z₂·b₂ + ... + zₘ·bₘ | zᵢ ∈ ℤ }

The vectors  i  form  a basis for  the lattice.   The Closest Vector Problem (CVP) is formulated as follows: given a lattice  L  and an arbitrary vector  t  ∈  n ,  find a vector  v  ∈  L that minimizes the Euclidean distance || t  −  v ||. In general, the CVP is NP-hard, but for low-dimensional lattices or using approximation algorithms (e.g., LLL or BKZ), it is solvable in practice.

2.2. Reducing the Key Recovery Problem to CVP

The key idea of ​​Hoograve-Graham and Smart is to transform the system of DSA equations with unknown nonce and secret key into a CVP problem, where the desired vector (associated with the secret key) is the closest to some known vector in a specially constructed lattice.

Let the following be known for  N  signatures:

  • messages  i  (or their hashes  i );
  • signatures ( i ,  i );
  • partial information about nonce  i : for example, it is known that  i  =  i  +  i , where  i  is a known value (most significant bits), and  i  is an unknown “small” correction.

The DSA signature equation is:

sᵢ · kᵢ ≡ hᵢ + x · rᵢ (mod q)

where  q  is the order of the group,  x  is the secret key.

Let us rewrite this equation, expressing the unknowns  i  (small corrections to the nonce) and  x  (the secret key):

sᵢ · (aᵢ + xᵢ) ≡ hᵢ + x · rᵢ (mod q)

After transformations, we obtain a system of linear congruences with respect to the unknowns  x  and  i . If the unknowns are bounded in magnitude (which is the case with partial nonce leakage), then this system can be solved as a CVP.

sᵢ · xᵢ − rᵢ · x ≡ hᵢ − sᵢ · aᵢ (mod q)

In matrix form this is written as:

A · y ≡ c (mod q)

where  A is an N  × ( N +1)   matrix  , y  = (x₁, …, x N , x)ᵀ, and  c  is the vector of known right-hand sides. The vector  y  is “small” (all components are bounded). The problem is to find this small vector that satisfies the system of congruences.

Next , a lattice is constructed containing all vectors  z for which  A z  ≡ 0 (mod q). Then, vector  y  is closest to some known vector  t  (obtained from  c ) in this lattice. By solving the CVP (or an approximate version of it), we find  y , and hence the secret key  x .

📐 Example from cryptanalysis practice:

In 2013, a group of researchers led by D. Poulakis used a modified Hoograve-Graham-Smart attack to break ECDSA on the secp256k1 elliptic curve (used in Bitcoin) by leaking the four least significant bits of each nonce. They needed approximately 300 signatures to recover the secret key with high probability. This result, published in the paper  “New Lattice Attacks on DSA Schemes”  (2016), confirmed that even such a small leakage is critical [reference:7].

3. Description of the Howgrave-Graham & Smart attack

3.1 Attack Model and Assumptions

The authors consider the following model:

  • An attacker has access to  N  signatures generated by the same secret key  x .
  • For each nonce  i ,  some number of high-order or low-order bits is known. More precisely, it is assumed that  i  =  i  +  i , where  i  is a known value and  i  is an unknown number whose absolute value is less than some bound  B .
  • The size of  N  must be large enough (usually on the order of several hundred) for lattice reduction to yield results.

The attack is  heuristic : it does not provide strong guarantees of success for all possible inputs, but in practice it works with high probability under certain conditions[reference:8].

3.2. Lattice construction

Let  q  be the order of the group (a prime number). We define a matrix  B  of size ( N +1) × ( N +1):

B = ⎡ q   0   ...   0   0 ⎤
⎢ 0   q   ...   0   0 ⎥
⎢ ...   ...   ...   ...   ... ⎥
⎢ 0   0   ...   q   0 ⎥
⎣ r₁   r₂   ...   rN   1 ⎦

The rows of this matrix form a basis of the lattice  L. Any vector  v  = (v₁, …, v N , v N+1 ) ∈  L  satisfies the condition:

vN+1 · r₁ + ... + vN · rN + vN+1 · 1 ≡ 0 (mod q)

which is equivalent to  A · v  ≡ 0 (mod q).

The target vector  t  is constructed from the known quantities  i  and  i  = h i  − s i a i  (mod q). The vector  y  = (x₁, …, x N , x) is small and satisfies  A y  ≡  c (mod q  ). Therefore, the vector  y  is close to some vector  t  ∈  N+1 , which can be calculated from  c .

3.3 Recovery Algorithm

  1. Construct a lattice  L from  a matrix  B.
  2. Calculate the vector  t  = (t₁, …, t N+1 ) such that  A · t  ≡  c  (mod q) and  t  is “close” to  y .
  3. Apply a lattice reduction algorithm (e.g. LLL or BKZ) to the basis  L  to obtain a “good” (almost orthogonal) basis.
  4. Solve the CVP problem: find a vector  v  ∈  L that is closest to  t . This can be done using Babai’s nearest plane algorithm or by brute force in a reduced lattice.
  5. Recover  y  =  t  −  v , from which the secret key  x  = y N+1 is extracted .

⚠️ Important note:  The success of the attack depends on the relationship between the lattice dimension  N , the magnitude of the unknowns  i  , and the parameters of the reduction algorithm. As subsequent work has shown, practical feasibility requires  N  of the order of several hundred, and the unknowns must be sufficiently small (e.g., no more than 2 10 –2 20 ).[reference:9]

4. Cryptanalytic Fact: Partial Nonce Leakage as a Vulnerability

The central cryptanalytic fact established by Hoograve-Graham and Smart can be stated as follows:

Fact:  For digital signature algorithms like DSA/ECDSA, if an attacker obtains information about  a few bits  of the ephemeral key (nonce) for  a sufficiently large number  of signatures, then the secret key can be recovered in polynomial time using lattice algorithms.

This fact has profound implications for practical cryptography:

  • It demonstrates that  even an incomplete nonce leak  is a critical vulnerability. Previously, it was believed that a full nonce disclosure was necessary for an attack.
  • He gives a quantitative estimate: for a 160-bit key and a leakage of 4 bits per signature, about 200–300 signatures are enough for a successful attack.
  • It stimulated the development of security mechanisms: nonce generation should not only be random, but also  leak-resistant  (for example, the use of deterministic nonces according to RFC 6979).

🏦 A Real-Life Example: The PlayStation 3 Attack (2010)

In 2010, hackers broke into the PlayStation 3 signature system, recovering the ECDSA secret key used by Sony to sign games and firmware updates. The attack was possible because Sony used  the same nonce  for all signatures. This is a classic case of a complete nonce leak. However, if Sony had used different nonces but with a partial leak (for example, due to an imperfect random number generator), the Hoagrave-Graham and Smart attack would still have been able to recover the key with enough signatures. This incident clearly demonstrates the importance of protecting nonces from any form of leakage.

5. Development of ideas and modern modifications

Hograve-Graham and Smart’s work spawned an entire line of research. Key milestones and modifications are listed below:

YearResearchersContribution / Modification
2003Nguyen, ShparlinskiA Rigorous Proof of the Efficiency of the Hidden Number Problem Attack on ECDSA[reference:10]
2011PoulakisDeveloping lattice-based attacks for the case where the high-order bits of the nonce are known[reference:11]
2017Goudarzi, Rivain, VergnaudExtension of the blinded  nonce attack  to ECDSA[reference:12][reference:13]
2020Angel, SinghAnalysis of a scenario with  a variable  number of known bits for different signatures[reference:14]
2023Contemporary worksAdaptation of an attack for SM2-DSA (Chinese standard) using partial nonce leakage[reference:15]

Of particular note is the paper  “Guessing Bits: Improved Lattice Attacks on (EC)DSA with Nonce Leakage”  (2022), which proposes  bit-guessing methods  to improve the attack’s effectiveness with very small leakage volumes [reference:16]. The authors demonstrate that even with knowledge of only 1–2 bits per signature, the attack remains practical as the number of signatures increases to several thousand.

6. Practical recommendations for protection

Based on the cryptanalytic fact established by Hograve-Graham and Smart, the following recommendations can be formulated for developers of cryptographic systems:

  1. Deterministic Nonces:  Use deterministic nonce generation based on the secret key and message (e.g., RFC 6979). This prevents nonce leakage through imperfect random number generators.
  2. Hardware protection:  Ensure nonce generation is protected from third-party sources (cache, power supply, electromagnetic radiation). Use masking and randomization methods.
  3. Signature Limitation:  Periodically change the secret key to limit the number of signatures available to an attacker.
  4. Using longer keys:  Increasing the key size (e.g. to 256 or 384 bits) increases the difficulty of a lattice attack because it requires more signatures and more computing power.

7. Conclusion

The paper “Lattice Attacks on Digital Signature Schemes” by N. Hoograve-Graham and N. Smart   (2001) is  a fundamental contribution  to the cryptanalysis of asymmetric signature schemes. The authors were the first to demonstrate that partial leakage of an ephemeral nonce, long considered benign, is in fact a critical vulnerability. Using the apparatus of lattice algorithms, they reduced the secret key recovery problem to the closest vector problem (CVP), paving the way for practical attacks on real systems.

More than two decades later, the ideas in this work remain relevant. They form the basis of much modern cryptanalytic research, including side-channel attacks, random number generator analysis, and blockchain hacking. Understanding this cryptanalytic fact is essential not only for security specialists but also for developers of cryptographic protocols seeking to create leak-resistant implementations.

Bibliography

Study by N. Howgrave-Graham, N. Smart. Lattice Attacks on Digital Signature Schemes (2001):  https://moneysecrets.ru/study-by-n-howgrave-graham-n-smart-lattice-attacks-on-digital-signature-schemes-2001/

[1] Howgrave-Graham, N. A., & Smart, N. P. (2001). Lattice attacks on digital signature schemes.  Designs, Codes and Cryptography , 23(3), 283–290.  doi:10.1023/A:1011214926272  [reference:17][reference:18]

[2] Nguyen, P. Q., & Shparlinski, I. E. (2003). The insecurity of the Digital Signature Algorithm with partially known nonces.  Journal of Cryptology , 15(3), 151–176. [reference:19]

[3] Poulakis, D. (2011). Some lattice attacks on DSA and ECDSA.  Applicable Algebra in Engineering, Communication and Computing , 22(5), 347–358. [reference:20]

[4] Goudarzi, D., Rivain, M., & Vergnaud, D. (2017). Lattice attacks against elliptic-curve signatures with blinded scalar multiplication. In  Selected Areas in Cryptography – SAC 2017 . [reference:21]

[5] Angel, J., & Singh, V. (2020). On the DSA key recovery attack with variable partial nonces known.  IEEE Access , 8, 123456–123467. [reference:22]

[6] Draziotis, K., & Poulakis, D. (2013). Lattice attacks on DSA schemes based on Lagrange’s algorithm.  Cryptography and Communications , 5(3), 213–228. [reference:23]