VampireKiller
Challenge
A CIPHER-Wiki puzzle (ctf313.com/cipher-wiki): the Castlevania box art as VampireKiller.jpg, plus a poem that described every layer.
Approach
Each line of the poem named the next step.
- Steghide (“eight rows of eight squares”, the 8 by 8 JPEG DCT blocks). The capitals in Whose, Puzzle, In and Has rearrange to the passphrase
whip. - Base64 to a small JPEG reading “Many masks, a vampire’s spell, / A matryoshka where secrets dwell”, with a 7z appended (“human and monster locked together”). The password is
vampire. - yEnc, decoded by hand, with a matching CRC.
- ASCII85 (“fourscore and five”).
- WIM (“an archival collection”) holding
Broccoli.br. - Brotli (“a quantum of whim”) gives an iNES ROM, a hacked Castlevania titled “SECURITY BSIDES CTF EDITION”.
The ROM’s text encoding puts A at 0xE0 and digits at 0xD0, which I worked out from the HUD. At offset 0x103A3 there is a 4 by 4 metatile that reads FLAG over 7EBZ, and rendering the levels in an emulator showed the block in stages 2, 3 and 19.
Flag
7EBZ