This repository contains detailed write-ups for various RSA focused cryptography challenges from the CyLab Security Academy. Each write-up walks through the challenge set-up, steps to solve, and technical explanation on the mathematical vulnerability exploited.
| Rank | Challenge | Difficulty Score (0-100) | Tier |
|---|---|---|---|
| 1 | rsa_oracle |
77 | Hard |
| 2 | Sum-O-Primes |
72 | Hard |
| 3 | b00tl3gRSA3 |
68 | Hard |
| 4 | rsa-pop-quiz |
65 | Hard |
| 5 | ClusterRSA |
60 | Hard |
| 6 | college-rowing-team |
50 | Medium |
| 7 | miniRSA |
46 | Medium |
| 8 | Crack the Power |
46 | Medium |
| 9 | b00tl3gRSA2 |
40 | Medium |
| 10 | StegoRSA |
30 | Easy |
| 11 | EVEN RSA CAN BE BROKEN??? |
28 | Easy |
The security of the RSA cryptosystem lies in the difficulty of factoring a large modulus into its original prime factors. RSA keys are generated using large prime factors, and utilizing modular arithmetic to encrypt and decrypt messages.
First, two large distinct prime numbers must be chosen,
Then the modulus
Euler's Totient
Next, the public exponent
Finally, the private exponent
A plaintext message
Conversely, the ciphertext is decrypted using the private exponent
Since the private exponent
Following Euler's theorem:
For any