Skip to main content
Challenges Syscall number in the shellcode
PWN Easy Shellcode Solves: 6

Syscall number in the shellcode

Author: CyberSamSU
Points
15

Shellcode is typically a very small sequence of bytes given directly to the processor, often executing a single system call (syscall). In x86-64 Linux, the syscall number is written to the RAX register. Below is a part of the syscall table for this system:

Syscall numberName
0read
1write
2open
3close
9mmap
10mprotect
59execve
60exit
61wait4
231exit_group

To evade malware detection (signature detection), an "important" byte inside the shellcode is often encoded with a single XOR key, while the remaining spaces are filled with 0x90 (NOP — an instruction that does nothing). The following sequence of bytes (in decimal) is given: [144, 144, 191, 144]. The encoded byte here — 191 — is the real syscall number encrypted with the XOR key 88.

Find the real syscall number (using XOR), then match it with its name from the table above.

Send the answer in the format BAYROQ{PWN_SYSCALL_<NOM>} (the name in uppercase).

Theory: learn the topic
Hints 3
Opening a hint reduces the points you get for solving this challenge.
Hint 1 −1 pts Log in
Hint 2 −3 pts Log in
Hint 3 −4 pts Log in
To submit a flag, log in.

First solvers

1. anonym 27.10.2026
2. Mirjaxon Qaxxarov 27.10.2026
3. Odam 04.11.2026
4. Furqat Turayev 11.11.2026
5. AGENT X 20.11.2026
6. Doston Allayarov 28.11.2026