> For the complete documentation index, see [llms.txt](https://ad3n.gitbook.io/ad3n/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ad3n.gitbook.io/ad3n/home/ctf-writeups/osu-gaming-ctf-2024/forensic.md).

# Forensic

* ## Nathan-on-osu

  <figure><img src="/files/l33FJAfktqYBTMoov1gz" alt="" width="563"><figcaption></figcaption></figure>

From the zipped file has a image which show chat logs but somehow it has been cropped the part that will show the flag as mentioned in the challenge above. To begin with, i start to look for image metadata using `exiftool` which there is one part caught my eyes that there is an additional data after the IEND chunk which is not normal.

<figure><img src="/files/Es6diNUCsdZxS2U9j1mR" alt="" width="563"><figcaption></figcaption></figure>

<figure><img src="/files/SUdKDbhXjMxHBbG7f4q3" alt="" width="464"><figcaption></figcaption></figure>

After doing some research about that warning, I found that windows also vulnerable to acropalypse which data leakage of google pixel phones where the cropped images that save as same file are overwritten at the start of the old one thus led to additional data after the IEND chunk. Follow this for more [information](https://isc.sans.edu/diary/Windows+11+Snipping+Tool+Privacy+Bug+Inspecting+PNG+Files/29660).&#x20;

<figure><img src="/files/3rSlI5YaSIkrFcqdAWha" alt="" width="280"><figcaption></figcaption></figure>

To recover the cropped image, I found this tool [Acropalypse-Multi-Tool](https://github.com/frankthetank-music/Acropalypse-Multi-Tool) and it is gui based tool which is pretty easy to use. Set the mode custom RGB and resolution 1920x1080 and finally got the flag!

<figure><img src="/files/hYYrTeK0K94KTtHXz8DD" alt="" width="563"><figcaption></figcaption></figure>

<figure><img src="/files/vVBBfsviXEHQoJaVhWVZ" alt="" width="563"><figcaption></figcaption></figure>

Flag: `osu{cr0pp3d_Future_Candy<3}`
