Lune

CCS2017顶会

The Return of Coppersmith's Attack: Practical Factorization of Widely Used RSA Moduli

Matús Nemec, Marek Sýs, Petr Svenda, Dusan Klinec, Vashek Matyas

摘要

We report on our discovery of an algorithmic aw in the construction of primes for RSA key generation in a widely-used library of a major manufacturer of cryptographic hardware. e primes generated by the library su er from a signi cant loss of entropy. We propose a practical factorization method for various key lengths including 1024 and 2048 bits. Our method requires no additional information except for the value of the public modulus and does not depend on a weak or a faulty random number generator. We devised an extension of Coppersmith's factorization a ack utilizing an alternative form of the primes in question. e library in question is found in NIST FIPS 140-2 and CC EAL 5+ certi ed devices used for a wide range of real-world applications, including identity cards, passports, Trusted Platform Modules, PGP and tokens for authentication or so ware signing. As the relevant library code was introduced in 2012 at the latest (and probably earlier), the impacted devices are now widespread. Tens of thousands of such keys were directly identi ed, many with signi cant impacts, especially for electronic identity documents, so ware signing, Trusted Computing and PGP. We estimate the number of a ected devices to be in the order of at least tens of millions. e worst cases for the factorization of 1024 and 2048-bit keys are less than 3 CPU-months and 100 CPU-years on single core of common recent CPUs, respectively, while the expected time is half of that of the worst case. e a ack can be parallelized on multiple CPUs. Worse still, all susceptible keys contain a strong ngerprint that is veri able in microseconds on an ordinary laptop -meaning that all vulnerable keys can be quickly identi ed, even in very large datasets.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 12 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • SafetyPin: Encrypted Backups with Human-Memorable Secrets 引用了 A Touch of Evil: High-Assurance Cryptographic Hardware from Untrusted Components
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper12

  1. On Bounded Distance Decoding with Predicate: Breaking the "Lattice Barrier" for the Hidden Number ProblemMartin R. Albrecht, Nadia HeningerEUROCRYPT 2021 · 31 次引用
  2. True2F: Backdoor-Resistant Authentication TokensEmma Dauterman, Henry Corrigan-Gibbs, David Mazières, Dan Boneh 等S&P 2019 · 24 次引用
  3. SafetyPin: Encrypted Backups with Human-Memorable SecretsEmma Dauterman, Henry Corrigan-Gibbs, David MazièresOSDI 2020 · 22 次引用
  4. EVOKE: Efficient Revocation of Verifiable Credentials in IoT NetworksCarlo Mazzocca, Abbas Acar, A. Selcuk Uluagac, Rebecca MontanariUSENIX Security 2024 · 22 次引用
  5. Prime and Prejudice: Primality Testing Under Adversarial ConditionsMartin R. Albrecht, Jake Massimo, Kenneth G. Paterson, Juraj SomorovskyCCS 2018 · 21 次引用

它引用的 Paper1

  1. A Touch of Evil: High-Assurance Cryptographic Hardware from Untrusted ComponentsVasilios Mavroudis, Andrea Cerulli, Petr Svenda, Dan Cvrcek 等CCS 2017 · 30 次引用

相关 Paper

  1. The Million-Key Question - Investigating the Origins of RSA Public KeysPetr Svenda, Matús Nemec, Peter Sekan, Rudolf Kvasnovský 等USENIX Security 2016 · 38 次引用
  2. Open to a fault: On the passive compromise of TLS keys via transient errorsGeorge Arnold Sullivan, Jackson Sippe, Nadia Heninger, Eric WustrowUSENIX Security 2022
  3. Jolt: Recovering TLS Signing Keys via Rowhammer FaultsKoksal Mus, Yarkin Doröz, M. Caner Tol, Kristi Rahman 等S&P 2023
  4. Util: : Lookup: Exploiting Key Decoding in Cryptographic LibrariesFlorian Sieck, Sebastian Berndt, Jan Wichelmann, Thomas EisenbarthCCS 2021 · 7 次引用
  5. TPM-FAIL: TPM meets Timing and Lattice AttacksDaniel Moghimi, Berk Sunar, Thomas Eisenbarth, Nadia HeningerUSENIX Security 2020
黄昏的海面,两侧是细线勾勒的悬崖