Backwards
REV | 244 pts - 25 solves
Description:
We have a.out
ELF, and enc.enc
, some encrypted data.
Opening a.out
in Ghidra we clearly see in the main function that it's taking some files in input, and applying AES-CFB-128 encryption.
Looking at the arguments of AES_cfb128_encrypt()
function we see that it takes key at 4th parameter, IV at 5th parameter, but easier we could just patch the last arguments that appear to be encryption mode: 0x1 to encrypt, 0x0 to decrypt.
So patch this instruction:
to:
The decrypted enc.enc it's a png file.
Last updated