Never Skip Class Nor Multiplication

hardware fault attacks FCSC 2022 solved on

star

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

Author

Ker

Challenge Instructions

  1. 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
  2. Launch the challenge by executing in the same folder:
    docker compose up
  3. Then, in another console, access the challenge with Netcat:
    nc localhost 4000
⚠️ Important: You must solve the challenge by interacting with the Docker container through the exposed network port. Any other way is not considered valid.

In case you encounter problems, please consult the FAQ.

Flag

Share my success on Fediverse, Twitter, Linkedin, Facebook, or via email.

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.

Writeups

I've been looking for a long time and I still can't find the flag!

You can vote for the solutions you prefer by using the on their respective pages.

DateAuthor Language Tags Vote
2023-11-29
ribt
🇫🇷