HackTheBox Cyber Apocalypse 2023: Shattered Tablet
TL;DR
- Binary implements heavily fragmented validation logic across many branches.
- Static analysis with Ghidra is required to understand constraint structure.
- Runtime inspection with GDB helps confirm edge cases and control flow.
- Remaining constraints can be resolved with targeted brute force.
Description
Deep in an ancient tomb, you've discovered a stone tablet with secret information on the locations of other relics. However, while dodging a poison dart, it slipped from your hands and shattered into hundreds of pieces. Can you reassemble it and read the clues?
Solution
Used chatGPT, ghidra, GDB and some brute force to get the flag!
Flag: HTB{br0k3n_4p4rt,n3ver_t0_b3_r3p41r3d}