Tags: ecb crypto aes picoctf 

Rating:

AES-ABC is basically ECB and then some sequential addition of the data; the script also mods the intermediate results if it is too big. You can just reverse these operations to get the original ECB encrypted image; at that point, you will be able to distinguish what the picture is due to the nature of ECB.

Original writeup (https://www.willsroot.io/2019/10/some-picoctf-2019-crypto-and-web-writeups.html).