Childhood Photo
Category: Forensics
Points: 500
Flag: KICTF{r3v3rs3d_jp3g_h34d3r_f1x3d}
Challenge Overview
We received a file named gepj.lanif. Reversed, this becomes final.jpeg.
Step 1 – Reverse File Content
The JPEG file was completely reversed at the byte level.
data = open("final.jpeg","rb").read()
open("fixed.jpeg","wb").write(data[::-1])
Step 2 – Check for Embedded Files
Using binwalk, we discovered two JPEG images embedded in the file.
We extracted the second image and found the hidden flag.