Challenges
XOR key recovery
Reverse engineering
Medium
XOR encryption and reversal
Solves: 6
XOR key recovery
Author: CyberSamSU
Points
40
In this binary program, the password is not stored in plaintext — the simple strings command will no longer help you.
The developer encrypts each byte of the entered password via a XOR operation with a specific single static key, and compares it with the expected array in memory.
Analyze the program with a disassembler (e.g. objdump, gdb, Ghidra or IDA), find the XOR key and the expected byte array, and recover the original password!
Attached files
reverse-xor-kalit
Log in to download
Theory: learn the topic
Learning paths:
Reverse engineering 101
To submit a flag, log in.