+ All Categories
Home > Documents > 2012 - Ron Was Wrong, Whit is Right

2012 - Ron Was Wrong, Whit is Right

Date post: 06-Apr-2018
Category:
Upload: franck-dernoncourt
View: 217 times
Download: 0 times
Share this document with a friend
17
Ron was wrong, Whit is right Arjen K. Lenstra 1 , James P. Hughes 2 , Maxime Augier 1 , Joppe W. Bos 1 , Thorst en Kleinj ung 1 , and Christophe Wachter 1 1 EPFL IC LACAL, Station 14, CH-1015 Lausanne, Switzerland 2 Self, Palo Alto, CA, USA Abstract. We performed a sanity check of public keys collected on the web. Our main goal was to test the validity of the assumption that dierent random choices are made each time keys are generated. We found that the vast majority of public keys work as intended. A more disconcerting nding is that two out of every one thousand RSA moduli that we collected oer no security. Our conclusion is that the validity of the assumption is questionable and that generating keys in the real world for “multiple-secrets” cryptosystems such as RSA is signicantly riskier than for “single-secret” ones such as ElGamal or (EC)DSA which are based on Die-Hellman. Keywords: Sanit y chec k, RSA, 99.8% securit y , ElGamal, DSA, ECDSA, (batc h) factori ng, discrete logarithm, Euclidean algorithm, seeding random number generators, K 9 . 1 Introduction Various studies have been conducted to assess the state of the current public key infrastruc- ture, with a focus on X.509 certicates (cf. [4]). Key generation standards for RSA (cf. [23]) have been analysed and found to be satisfactory in [19]. In [13] and [27] (and the references therein) several problems have been identied that are mostly related to the way certicates are used. In this paper we complement previous studies by concentrating on computational and randomness properties of actual public keys, issues that are usually taken for granted. Compared to the collection of certicates considered in [13], where shared RSA moduli are “not very frequent”, we found a much higher fraction of duplicates. More worrisome is that among the 4.7 million distinct 1024-bit RSA moduli that we had originally collected, 12720 have a single large prime factor in common. That this happens may be crypto-folklore, but it was new to us, and it does not seem to be a disappearing trend: in our current collection 3 of 11.4 million RSA moduli 26965 are vulnerable, including ten 2048-bit ones. When exploited, it could aect the expectation of security that the public key infrastructure is intended to achieve. We summarize our ndings, referring to later sections for details. We collected as many openly accessible public keys as possible from the web, while avoiding activities that our system admini strator s may have frown ed upon. The result ing set of 11.7 million public key s contains 6.4 million distinct RSA moduli. The remainder is almost evenly split between ElGamal keys (cf. [11]) an d DSA key s (cf. [26]), plu s a single ECDSA key (c f. [26]). Th e frequency of keys blacklisted due to the Debian OpenSSL vulnerability (cf. [29]) is comparable to [13]. All keys were checked for consistency such as compositeness, primality, and (sub)group membership tests. As the sheer number of keys and their provenance precluded extensive cryptanalysis and the sensibility thereof, a modest search for obvious weaknesses per key was carried out as well. These eorts resulted in a small number of inconsistent or weak keys. 3 Except for this sentence and Appendix A everything in this paper is based on our original dataset.
Transcript
Page 1: 2012 - Ron Was Wrong, Whit is Right

8/3/2019 2012 - Ron Was Wrong, Whit is Right

http://slidepdf.com/reader/full/2012-ron-was-wrong-whit-is-right 1/17

Page 2: 2012 - Ron Was Wrong, Whit is Right

8/3/2019 2012 - Ron Was Wrong, Whit is Right

http://slidepdf.com/reader/full/2012-ron-was-wrong-whit-is-right 2/17

Page 3: 2012 - Ron Was Wrong, Whit is Right

8/3/2019 2012 - Ron Was Wrong, Whit is Right

http://slidepdf.com/reader/full/2012-ron-was-wrong-whit-is-right 3/17

Page 4: 2012 - Ron Was Wrong, Whit is Right

8/3/2019 2012 - Ron Was Wrong, Whit is Right

http://slidepdf.com/reader/full/2012-ron-was-wrong-whit-is-right 4/17

Page 5: 2012 - Ron Was Wrong, Whit is Right

8/3/2019 2012 - Ron Was Wrong, Whit is Right

http://slidepdf.com/reader/full/2012-ron-was-wrong-whit-is-right 5/17

Page 6: 2012 - Ron Was Wrong, Whit is Right

8/3/2019 2012 - Ron Was Wrong, Whit is Right

http://slidepdf.com/reader/full/2012-ron-was-wrong-whit-is-right 6/17

Page 7: 2012 - Ron Was Wrong, Whit is Right

8/3/2019 2012 - Ron Was Wrong, Whit is Right

http://slidepdf.com/reader/full/2012-ron-was-wrong-whit-is-right 7/17

Page 8: 2012 - Ron Was Wrong, Whit is Right

8/3/2019 2012 - Ron Was Wrong, Whit is Right

http://slidepdf.com/reader/full/2012-ron-was-wrong-whit-is-right 8/17

Page 9: 2012 - Ron Was Wrong, Whit is Right

8/3/2019 2012 - Ron Was Wrong, Whit is Right

http://slidepdf.com/reader/full/2012-ron-was-wrong-whit-is-right 9/17

Page 10: 2012 - Ron Was Wrong, Whit is Right

8/3/2019 2012 - Ron Was Wrong, Whit is Right

http://slidepdf.com/reader/full/2012-ron-was-wrong-whit-is-right 10/17

Page 11: 2012 - Ron Was Wrong, Whit is Right

8/3/2019 2012 - Ron Was Wrong, Whit is Right

http://slidepdf.com/reader/full/2012-ron-was-wrong-whit-is-right 11/17

Page 12: 2012 - Ron Was Wrong, Whit is Right

8/3/2019 2012 - Ron Was Wrong, Whit is Right

http://slidepdf.com/reader/full/2012-ron-was-wrong-whit-is-right 12/17

Page 13: 2012 - Ron Was Wrong, Whit is Right

8/3/2019 2012 - Ron Was Wrong, Whit is Right

http://slidepdf.com/reader/full/2012-ron-was-wrong-whit-is-right 13/17

Page 14: 2012 - Ron Was Wrong, Whit is Right

8/3/2019 2012 - Ron Was Wrong, Whit is Right

http://slidepdf.com/reader/full/2012-ron-was-wrong-whit-is-right 14/17

Page 15: 2012 - Ron Was Wrong, Whit is Right

8/3/2019 2012 - Ron Was Wrong, Whit is Right

http://slidepdf.com/reader/full/2012-ron-was-wrong-whit-is-right 15/17

Page 16: 2012 - Ron Was Wrong, Whit is Right

8/3/2019 2012 - Ron Was Wrong, Whit is Right

http://slidepdf.com/reader/full/2012-ron-was-wrong-whit-is-right 16/17

Page 17: 2012 - Ron Was Wrong, Whit is Right

8/3/2019 2012 - Ron Was Wrong, Whit is Right

http://slidepdf.com/reader/full/2012-ron-was-wrong-whit-is-right 17/17


Recommended