Skip to main content
Challenges Serial number check chain
Reverse engineering Medium Serial check Solves: 8

Serial number check chain

Author: CyberSamSU
Points
40

Many "serial number" checkers use a rolling checksum: acc = (acc * K + kod) mod 256, where acc is the current checksum, and kod is the ASCII code of the next character. The program saves the acc value after each character as a "checkpoint".

Given: initial acc0 = 2, K = 173. The checkpoints after each character (acc1, acc2, ...):

156 173 66 236 203 128 251 241 16 38 13 60 241 79 204 61 165 228 124
45 210 88 245

At each step, if acc_i and the previous acc_(i-1) are known, the character code can be found directly via kod = (acc_i - K * acc_(i-1)) mod 256.

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

First solvers

1. W.o.X 09.09.2026
2. Qodirxon Yoqubjonov 18.09.2026
3. Faxriddin Oripov 02.10.2026
4. Абдул 09.10.2026
5. Mirjaxon Qaxxarov 27.10.2026
6. anonym 27.10.2026
7. Odam 05.11.2026
8. arcanum 11.11.2026