encyclopegia.org

Key finding attacks

Key finding attacks are attacks on computer systems that make use of cryptography in which computer memory or non-volatile storage is searched for private cryptographic keys that can be used to decrypt or sign data. The term is generally used in the context of attacks which search memory much more efficiently than simply testing each sequence of bytes to determine if it provides the correct answer. They are often used in combination with cold boot attacks to extract key material from computers.

Key finding attacks are attacks on computer systems that make use of cryptography in which computer memory or non-volatile storage is searched for private cryptographic keys that can be used to decrypt or sign data. The term is generally used in the context of attacks which search memory much more efficiently than simply testing each sequence of bytes to determine if it provides the correct answer. They are often used in combination with cold boot attacks to extract key material from computers. Shamir and van Someren demonstrated one example of this analytical approach for finding private RSA keys where the public key is known and has a small public exponent. In the RSA system the public key is a pair (n,e) , where n=p.q with p and q being two large primes. The corresponding private key is (n,d) (or sometimes (p,q,d) or some variant thereof) where e.d\equiv1\pmod{\phi(n)} , which is to say that e multiplied by d is equivalent to 1, modulo \phi(n) where φ represents Euler's totient function and is the size of the multiplicative group modulo n. In the case of an RSA key: \phi(n)=(p-1)(q-1)=n-p-q+1 Finding the value of \phi(n) from n allows for the factorization of n and the security of the RSA cryptosystem rests on the difficulty of doing so. As such an attacker cannot determine d exactly, given e and n. An attack can however know a fair amount about what d looks like, given the knowledge that p and q are typically chosen to be the same length in bits and are both 'close' to the square root of n. Thus an attacker can approximate a guess of: \phi(n)\approx \phi '(n) = n-2\sqrt{n} and typically this approximation will be correct in the more significant half of its bits of its binary representation. The relationship of e and d means that: d = (1 + k.\phi(n))/e where the exact value of k is unknown but 0 Using this fact and the approximation \phi'(n) , the attacker can enumerate a set of possible values for the top half of the binary representation of d for each possible value of k. These binary patterns can be tested for many orders of magnitude faster than performing a trial decryption. Furthermore, in the common case of e=3 it can be shown that k=2, which allows the top half of the bits of d to be determined exactly and searched for directly. ==References==

References

  1. Least we remember: Cold boot attacks on encryption keys · retrieved 2026-11-17 · rev 1314516019
    Cite this reference

    MLA "Least we remember: Cold boot attacks on encryption keys." Halderman, J. 2026-11-17. https://en.wikipedia.org/wiki/Nadia_Heninger. Accessed 24 November 2026.

    Chicago "Least we remember: Cold boot attacks on encryption keys." Halderman, J. 2026-11-17. https://en.wikipedia.org/wiki/Nadia_Heninger.

    APA Halderman, J. (2026). Least we remember: Cold boot attacks on encryption keys. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Nadia_Heninger

  2. Reconstructing rsa private keys from random key bits · retrieved 2026-11-17 · rev 1314516019
    Cite this reference

    MLA "Reconstructing rsa private keys from random key bits." Heninger, Nadia ; Shacham, Hovav (2009-01-01). 2026-11-17. https://en.wikipedia.org/wiki/Nadia_Heninger. Accessed 24 November 2026.

    Chicago "Reconstructing rsa private keys from random key bits." Heninger, Nadia ; Shacham, Hovav (2009-01-01). 2026-11-17. https://en.wikipedia.org/wiki/Nadia_Heninger.

    APA Heninger, Nadia ; Shacham, Hovav (2009-01-01). (2026). Reconstructing rsa private keys from random key bits. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Nadia_Heninger

  3. Microsoft/NSA Info · retrieved 2016-10-11 · rev 1314516019
    Cite this reference

    MLA "Microsoft/NSA Info." 2016-10-11. https://web.archive.org/web/20000617163417/http://www.cryptonym.com/hottopics/msft-nsa/msft-nsa.html. Accessed 24 November 2026.

    Chicago "Microsoft/NSA Info." 2016-10-11. https://web.archive.org/web/20000617163417/http://www.cryptonym.com/hottopics/msft-nsa/msft-nsa.html.

    APA encyclopegia.org. (2016). Microsoft/NSA Info. Retrieved November 24, 2026, from https://web.archive.org/web/20000617163417/http://www.cryptonym.com/hottopics/msft-nsa/msft-nsa.html

  4. a b Shamir, Adi; van Someren, Nicko (1998-01-01). Playing Hide and Seek With Stored Keys . Lecture Notes in Computer Science. pp. 118– 124. CiteSeerX 10.1.1.40.4467 . {{ cite book }} : Cite uses deprecated parameter |citeseerx= ( help ) Wikipedia revision 1314516019, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1314516019
    Cite this reference

    MLA "a b Shamir, Adi; van Someren, Nicko (1998-01-01). Playing Hide and Seek With Stored Keys . Lecture Notes in Computer Science. pp. 118– 124. CiteSeerX 10.1.1.40.4467 . {{ cite book }} : Cite uses deprecated parameter |citeseerx= ( help ) Wikipedia revision 1314516019, retrieved 2026-11-18." a b Shamir, Adi; van Someren, Nicko (1998-01-01). 2026-11-17. https://en.wikipedia.org/wiki/CiteSeerX_(identifier). Accessed 24 November 2026.

    Chicago "a b Shamir, Adi; van Someren, Nicko (1998-01-01). Playing Hide and Seek With Stored Keys . Lecture Notes in Computer Science. pp. 118– 124. CiteSeerX 10.1.1.40.4467 . {{ cite book }} : Cite uses deprecated parameter |citeseerx= ( help ) Wikipedia revision 1314516019, retrieved 2026-11-18." a b Shamir, Adi; van Someren, Nicko (1998-01-01). 2026-11-17. https://en.wikipedia.org/wiki/CiteSeerX_(identifier).

    APA a b Shamir, Adi; van Someren, Nicko (1998-01-01). (2026). a b Shamir, Adi; van Someren, Nicko (1998-01-01). Playing Hide and Seek With Stored Keys . Lecture Notes in Computer Science. pp. 118– 124. CiteSeerX 10.1.1.40.4467 . {{ cite book }} : Cite uses deprecated parameter |citeseerx= ( help ) Wikipedia revision 1314516019, retrieved 2026-11-18. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/CiteSeerX_(identifier)

Cite this article

MLA

"Key finding attacks." encyclopegia.org, 2025, https://encyclopegia.org/wiki/key-finding-attacks. Accessed 24 November 2026.

Chicago

"Key finding attacks." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/key-finding-attacks.

APA

encyclopegia.org. (2025). Key finding attacks. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/key-finding-attacks

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1314516019 · 0.5 · snapshot enwiki-001314516019

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.