Black Hat MEA CTF 2026Misc / Cryptography
Base64 and XOR Recovery
Title unconfirmedEncoded path / Base64 / single-byte XOR
- Competition
Black Hat MEA CTF 2026
- Category
- Misc / CryptographyEasy · estimated
- Analysis status
- Flag reported (title unconfirmed)
- Document
- Original PDF
01Challenge analysis
The problem
The puzzle hid the necessary transformation information in an encoded path. Decoding the path exposed a simple XOR instruction rather than directly exposing the flag.
02Exploit or recovery path
How I solved it
- 01
I inspected the encoded path string and recognized Base64 as an outer encoding layer.
- 02
I decoded that layer and recovered the instruction indicating a single-byte XOR transformation.
- 03
I applied XOR with byte 0x01 across the encoded flag data to reverse the transformation.
- 04
I decoded the output into text and recovered the FlagY string reported in the original session.
Result
RECOVERED FLAG
FlagY{c002ae7b19e980cf07debb55c8d57450}
Flag reported (title unconfirmed)
- Local Verification
- Earlier session reported a completed Base64/XOR decode and the exact flag.
- Evidence Limitation
- Original encoded bytes, official challenge title and submission proof are not available here.