← Back to HWJ CTF

NOW THIS WAS NOT TOO TOUGH

Extract plaintext flag stored inside executable .rodata section using static analysis.

Tools Used

stringsfileGhidraobjdump

Overview

Simple static analysis tools are sufficient as plaintext flag is left directly inside binary data sections.

Reconnaissance

Run strings binary to inspect printable ASCII strings.

Exploitation Strategy

The flag string hwj{3v3ryth1ng_c4n_b3_h4ck3d_325829} appears directly in output.

Solution Code

strings binary | grep hwj{
# Output: hwj{3v3ryth1ng_c4n_b3_h4ck3d_325829}

Flag

hwj{3v3ryth1ng_c4n_b3_h4ck3d_325829}