Debian Codegraph @

README

raw
1 RSAKeyFinder 1.0 (2008-07-18)
2 By Nadia Heninger and J. Alex Halderman
3
4 This program illustrates automatic techniques for locating RSA
5 private and public keys in a captured memory image, as described in
6 Section 6.2 of the research paper:
7
8 J. A. Halderman, S. D. Schoen, N. Heninger, W. Clarkson, W. Paul,
9 J. A. Calandrino, A. J. Feldman, J. Appelbaum, and E. W. Felten.
10 "Lest We Remember: Cold-Boot Attacks on Encryption Keys."
11 Proc. 17th USENIX Security Symposium (Sec '08), San Jose, CA, July 2008.
12
13 For more information, see: http://citp.princeton.edu/memory/
14
15
16 There are two simple approaches:
17
18 a) The first method requires a modulus from a known public key. The
19 program searches for the modulus and attempts to parse the surrounding
20 data as a BER-encoded public or private key.
21
22 b) The second method does not require any knowledge of the key. The
23 program searches for a fixed pattern--the BER-encoded RSA version
24 field followed by the integer type of the following field in an RSA
25 key--and attempts to parse the surrounding data as a BER-encoded
26 private key.
27
28 We successfully tested these techniques on a Linux system running
29 Apache 2.2.3 with mod_ssl. However, RSA implementations that store
30 keys in memory using a different format will not be susceptible.
31
32
33 USAGE:
34
35 rsakeyfind MEMORY-IMAGE [MODULUS-FILE]
36
37 If MODULUS-FILE is specified, the program uses method (a) and attempts
38 to locate private and public keys; the MODULUS-FILE should contain a
39 hex-encoded version of the RSA modulus. Otherwise, it uses method (b)
40 and attempts to locate only private keys.