Challenge
A binary that appears to do nothing useful. No obvious strings in the binary.
Approach
- Open in Ghidra. The
mainfunction builds a string byte-by-byte on the stack (classic stack-string obfuscation). - Extract the stack-pushed bytes manually or with a script to reconstruct the key string.
- A second buffer is XOR-ed against that key to produce the flag.
- Recover both buffers and XOR them:
| |
Flag
boroCTF{I_H8_M@7ing_StR1ng5_cHals}