CIDADAXSEC CTF
← Back to CTF
Reverse EngineeringHard500 points

Stripped ELF

A stripped C binary stores the password and flag in XORed form.

The Nordvik internal tool is a small stripped ELF binary. Run without arguments and it only says “Access denied”. The password and flag do not appear as plain strings.

Objective

Reverse the binary, find the accepted password, then run it to print the flag.

Useful tools
Ghidraobjdumpgdbstringsltrace/strace
Files
vault (ELF x86-64)

Run chmod +x after downloading.

Download
Hints
Hint 1
Download vault, then chmod +x vault. Run ./vault and ./vault test. Try strings vault; the password and flag do not appear in full.
Hint 2
Open it in Ghidra, IDA Free, or objdump -d vault. Look for loops that XOR bytes with 0x33 for the password and 0x5a for the flag.
Hint 3
The decoded password is nordvik-admin. Run ./vault nordvik-admin and the flag prints. If you only need speed: ltrace/strace, or patch the check with gdb.