Chunked Integrity

by sealldev
๐Ÿšฉ CTFs DawgCTF 2025 forensics
Chunked Integrity / DawgCTF 2025
Chunked Integrity

Description

This is one of my favorite images! Unfortunately something has gone wrong and I cant see the whole thing, can you help fix it?

We are given a funnyCat.png that has content missing from the bottom, appearing to have been โ€˜croppedโ€™ or corrupted. funnycat.png

We can use a checkpng utility to check if there are any issues with the image:

$ pngcheck ./funnyCat.png
./funnyCat.png  illegal (unless recently approved) unknown, public chunk EDAT

Generally the data blocks are IDAT not EDAT, so letโ€™s fix that in a hex editor. hexeditor.png

Once modified we can reopen the file and get the flag: flag.png

Flag: DawgCTF{C0rrup7_Chunkz}

Share this writeup

Contribute

Found an issue or want to improve this writeup?

Edit on GitHub