Description
You have access to a server that performs RSA signatures on arbitrary messages. During the connection, this server also sends you the encrypted flag that you need to decrypt.
The server is compromised and it is possible to inject glitchs to skip the square operations in the square and multiply algorithm used to perform the modular exponentiation of RSA.
Find the decryption key and recover the flag.
Note: Another similar challenge is available here: Never Skip Class Nor Multiplication.
Files
- docker-compose.yml
-
nscns.py
976 B – 57d89f70e554e56d38c39c3b9fafa9b22a121028a759ed4813716db03150e99e
Author
Challenge Instructions
- First, download docker-compose.yml:
curl https://hackropole.fr/challenges/fcsc2022-hardware-never-skip-class-nor-squaring/docker-compose.public.yml -o docker-compose.yml
- Launch the challenge by executing in the same folder:
docker compose up
- Then, in another console, access the challenge with Netcat:
nc localhost 4000
In case you encounter problems, please consult the FAQ.
Flag
Submit your solution
You can submit your writeup for this challenge. Read the FAQ to learn how to proceed.
You need to be logged in to submit a writeup.