Post

TFC CTF 2023 - DOWN BAD

Description

  • Category: Forensic

The flag is right there!

Download:

Resolution

When we open the image, there is an error.

Let’s find the error and repair it:

1
2
3
$ pngcheck down_bad.png
down_bad.png  CRC error in chunk IHDR (computed 1d9c52c0, expected a9d5455b)
ERROR: down_bad.png

We change the CRC using ImHex:

Repair

And we can now open it:

Repaired image

It seems that the challenge and the content of the picture don’t want us to look down, so let’s do that.

I’m using TweakPNG which is a great tool for manipulating PNGs easily (only available for Windows but you can run it with WINE):

TweakPNG

Let’s increase the height to see what’s below:

Change height

We save our modification, and now we can see the flag: TFCCTF{28ae25c96850245ffdd70a880158f9f3}

Flag

This post is licensed under CC BY 4.0 by the author.