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 multiply 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 Squaring.
Files
- docker-compose.yml
-
nscnm.py
1013 B – 90d42f4eb90b69c44261e5bf6894bf27033f2c1d2201d8f637b0ee946b8e37f1
Author
Challenge Instructions
- First, download docker-compose.yml:
curl https://hackropole.fr/challenges/fcsc2022-hardware-never-skip-class-nor-multiplication/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.