RSA Secure Dev 2/3

hardware fault attacks FCSC 2023 solved on

star star

Description

As a new Obiture employee, you are aksed to write a code that computes an RSA signature. n attacker should not be able to retrieve the private key with one fault. You shall twhart Bellcore attack.

The documentation of the virtual machine is available on this page.

This challenge has been split into three parts:

Files

  • docker-compose.yml
  • assembly.py
    18.64 KiB – dc0970c915e15e4356a54ee592ec0c10aa39db0f31e33ddc50a38d5f80897dea
  • challenge.py
    6.91 KiB – c8c7578b5cc638ed8acf02f3aaaf79c4d362105a241da6b64b44ea306a063974
  • machine.py
    11.31 KiB – 216f14947d8daedfc71175035487674a0687d5b66ecedb61120330df1ebceff0
  • rsa_keygeneration.py
    1.64 KiB – 2bd008b8ea8d1bd289339ff589ff371a711331ba26ff808945784966640bcab0

Author

Neige

Challenge Instructions

  1. First, download docker-compose.yml:
    curl https://hackropole.fr/challenges/fcsc2023-hardware-rsa-secure-dev/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

There are no public solutions for this challenge yet, but you can submit yours after getting the flag.