Processing math: 0%

The Book of Gehn

I found 4 posts.


Cut and Paste ECB blocks

Tags: cryptography, matasano, cryptonita, ECB, forgery, forge

July 1, 2018

In this game we control partially a plaintext that is encrypted under ECB mode with a secret key.

This time the idea is not to reveal the key but to forge a plaintext.

– Spoiler Alert! –

Welcome to the ECB cut-and-paste challenge!


Breaking ECB

Tags: cryptography, matasano, cryptonita, ECB

June 10, 2018

– Spoiler Alert! –

In the previous post we built an ECB/CBC oracle; now it’s time to take this to the next level and break ECB one byte at time.


ECB/CBC Oracle

Tags: cryptography, matasano, cryptonita, ECB, CBC, oracle PKCS#7

June 9, 2018

In this post will review the Cipher Block Chaining mode (or CBC) and how we can build an ECB/CBC detection oracle to distinguish ECB from CBC using cryptonita

– Spoiler Alert! –

This will be the bases for breaking ECB in a later post.


Detecting Penguins

Tags: cryptography, matasano, cryptonita, ECB, electronic code block

May 20, 2018

The ECB encrypted image on the right and its plaintext original version on the left. Image taken from wikipedia.

– Spoiler Alert! –

Can you see the penguin?

- Martin Di Paola