9 ms·
This is neat. How was the NDS CTF challenge structured? Did someone write it up? I'm kind of fascinated by the concept of fundamental block cipher cryptanalysis
by tptacek 7y ago
This is neat. How was the NDS CTF challenge structured? Did someone write it up? I'm kind of fascinated by the concept of fundamental block cipher cryptanalysis being a CTF challenge, since my perception is that it's virtually never at play in real systems you might want to attack (unlike lots of other cryptographic flaws!).
Certainly, I wouldn't want to make the case that you should use this toy cipher (but I don't know that its author is making that case either, since they too use the word "toy" to describe it). I'm saying: simple flawed ciphers are extremely useful just as a model for learning how to actually code attacks.
- nneonneo 7y agoSorry for the late reply. The event was BSides Ottawa; an attendee forwarded the challenges to me and made writeups of the crypto challenges here: https://rctcwyvrn.github.io/posts/2019-12-02-bsides_crypto.html https://rctcwyvrn.github.io/posts/2019-12-02-bsides_crypto.h.... The challenge was quite straightforward; they created a secure random key, displayed an encrypted flag, then let you en/decipher anything you wanted except the encrypted flag (NDS is symmetric so encryption = decryption). Some of the latest crypto-heavy CTFs have also featured pretty sophisticated "fundamental" attacks on ciphers. I've seen attacks on custom LCG-based stream ciphers (Google CTF), fancy math attacks on RSA variants (hxp 36C3 CTF just last week), and even the odd differential attack. Good crypto CTF challenges are really interesting and are great opportunities to learn and build classic attacks :)