Rocket Ship Academy
RSA Chosen Ciphertext Attack
Last updated
RSA Chosen Ciphertext Attack
Last updated
Oracle: a person or thing regarded as an infallible authority on something.
Do we have one of those here?
nc 20.198.209.142 55002
The flag is in the flag format: STC{...}
Author: zeyu2001
We are given an RSA decryption oracle. We can supply any ciphertext to be decrypted, except the original, given ciphertext.
Textbook RSA is vulnerable to Chosen Ciphertext Attack (CCA), where a user is able to supply an arbitrary ciphertext to be decrypted.
Recall that
Therefore, suppose we supply a ciphertext
then decrypting this gives
Let . The solve script is as follows:
The flag is STC{ch0s3n_c1ph3rt3xt_d7b593cd54baba9e2ffa49215d33e4c657cf230a}
.