Challenges
Signature blinding attack
Cryptography
Medium
Blinding attack
Solves: 4
Signature blinding attack
Author: CyberSamSU
Points
40
Some servers refuse to decrypt one specific ciphertext (c* — our flag) "for security", but will freely decrypt any other ciphertext. The multiplicative (homomorphic) property of RSA breaks this protection.
The attack is called blinding: we choose a random r and send c' = c* · r^e mod n. The oracle returns m' = (c')^d = m · r mod n to us. Then m = m' · r^(-1) mod n — the flag is revealed.
Public key: e = 65537,
n =
5015994707504728034208374420305148748545910168481992241701438307
1561603861116541237835427637628670492627245118347426857105712387
51599900219778745839494299
c* (forbidden ciphertext) =
2276348191161649849903644719405002639539001423549258030439778302
1003898589215713340589838801791083405873700037466434419069873098
97380001494561812703827885
The attacker has already sent three blind requests and recorded the responses — they are in the attached oracle_log.txt file.
Each line independently yields the same flag — this is convenient for checking yourself.
Attached files
oracle_log.txt
Log in to download
SHA-256 checksums
oracle_log.txt: fafd9ffe776632f951a48bf68b7187afe40503ac8e312316b1d02fdb83158b5f
To submit a flag, log in.