You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> Oh noes! It looks like we've lost decryption keys to our super-secret archive that contains all the blackmail material we've accumulated over the years!
4
+
> Luckly, the encryption system was built with the government money by the lowest bidder, so maybe it contains some flaws.
5
+
6
+
> decrypt_the_undecryptable.tar
7
+
8
+
In this task we were given a randomish BMP picture and a binary for en-/de-crypting.
9
+
10
+
I didn't even really look at the binary - one quick glance at the image was enough to see distinct repetition patterns.
11
+
This very likely meant it was encrypted using some block cipher in ECB mode or, alternatively, xored using short repeating
12
+
key. I quickly found an offset containing the repeating part, produced a quick and dirty Python script to xor
13
+
the whole image with that 128-byte long block and save the result. The final image was not perfect, but good enough to be
0 commit comments