Challenges
XOR checker crackme
Reverse engineering
Medium
x86-64 ELF: byte-by-byte XOR + rotation check
Solves: 2
XOR checker crackme
Author: CyberSamSU
Points
55
crackme is a small x86-64 Linux ELF (static, no libc: only the read, write, exit system calls). It reads one line from standard input and answers OK or NO. The file is for analysis only: it changes nothing and does not access the network.
The correct input is the flag itself: BAYROQ{...} (the last 16 characters are lowercase hex). The program XORs each byte with a 4-byte key, rotates the result left by a few bits (rol) and compares it with the corresponding element of a table. Find the key, the rotation amount and the table, and run the process in reverse.
Attached files
crackme
Log in to download
Theory: learn the topic
To submit a flag, log in.