hiCTF 2026Reverse Engineering
Warden's Maze
Signed 8-bit wraparound / map mutation
- Competition
hiCTF 2026
- Category
- Reverse EngineeringMedium · estimated
- Analysis status
- Local win triggered
- Document
- Original PDF
01Challenge analysis
The problem
The checker used signed 8-bit arithmetic for map offsets. An intended out-of-range value could therefore wrap into a negative displacement and affect a different map location.
02Exploit or recovery path
How I solved it
- 01
I inspected the map indexing and found the signed-byte narrowing path that converted 144 into -112.
- 02
I derived a route through coordinate (4,14) that would make the wrapped access target the vault wall at (12,9).
- 03
I reproduced the offset arithmetic, used the resulting mutation, and continued through the modified maze.
- 04
The local program reached its win branch and returned the flag.
Result
RECOVERED FLAG
hiCTF{warden_vault_cleared_845f9b65}
Local win triggered
- Local Verification
- The local checker produced the win/flag outcome. The platform did not verify the submission.
- Evidence Limitation
- The full map and source were not preserved in the retrieved notes.