RSA Cryptanalysis: Factoring, Small Exponent and Timing Attacks
Three ways to break RSA — attacking the mathematics, the protocol and the device. Most real-world breaks happen in the last group.
Summary
The lecture splits attacks on RSA into three layers: mathematical (trial division, Fermat, Pollard ρ and p−1, GNFS and factoring records), protocol-level (small exponent e and Håstad broadcast, Wiener and Boneh–Durfee, common modulus) and implementation attacks (Kocher timing attack, SPA/DPA, EM and acoustic channels, Bellcore fault attack). Each attack is matched to its countermeasure (OAEP, safe primes, large |p−q|, d > n^0.5, unique modulus, blinding, constant-time code) in one matrix, followed by Shor's algorithm and the quantum threat, and Python implementations of the Fermat and Wiener attacks.
Key terms
Lecture outline
- Attack taxonomy — three layers
- The factoring problem and its complexity
- Fermat, Pollard ρ and Pollard p−1 methods
- GNFS and the history of factoring records
- Small public exponent and the Håstad broadcast attack
- The Wiener attack and the common-modulus attack
- Timing and side-channel attacks
- Countermeasure matrix
- Shor's algorithm, Python and conclusions