CTF Team at the University of British Columbia

[UTCTF 2020] Galois (1072)

12 Mar 2020 by Arctic

The full challenge writeup can be found here.

TL;DR

  • taking advantage of nonce repetition
    1. Collect pairs of ciphertexts and their tags encrypted under the same nonce
    2. Generate h(x) for each pair and find the root(s)
    3. Decide that the root that appeared the most times must be the correct value of H
    4. Profit!