Write-ups/hacksvctf-2025/forensics/whats-a-macro.md
2025-01-27 21:50:17 +05:30

427 B

Flag: hacks{y0u_f0unD_M3}

Unzipping the .pptm file, we find a bunch of "macros" in a folder all containing "Not the flag!" but one

.../file.pptm/ppt/slideMasters/_rels $ fd . -t f -X du -b | grep -v '^12'
57      ./maliciousMacroDetails752/macro.vba

The flag is there, hex encoded.

.../file.pptm/ppt/slideMasters/_rels $ cat ./maliciousMacroDetails752/macro.vba | unhex
hacks{y0u_f0unD_M3}