← Back to HWJ CTF

GIBBERISH GOD

Extract hidden image from DOCX archive media folder.

Tools Used

unzipexiftoolstrings

Overview

A DOCX file contains meaningless visible text, but the flag is hidden inside an embedded image in the DOCX archive structure.

Reconnaissance

Since DOCX files are ZIP archives, we rename the file extension to .zip and extract it.

Exploitation Strategy

Inspect the extracted media directory word/media/ and view image1.png or run strings on media files to reveal hidden text.

Solution Code

cp docx.docx docx.zip && unzip docx.zip
strings word/media/*
# Flag: hwj{d0c_1s_4l50_a_z1p}

Flag

hwj{d0c_1s_4l50_a_z1p}