Post

TFC CTF 2023 - DOWN BAD

Description

  • Category: Forensic
  • Difficulty: WARMUP
  • Points: 50050

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 it.

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 look what’s down:

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.