Skip to main content
Challenges U-Boot: two-copy env
Hardware Medium Redundant U-Boot env: CRC32 and the flags rule Solves: 3

U-Boot: two-copy env

Author: CyberSamSU
Points
40

env.bin was extracted from the flash: two copies of the U-Boot environment (redundant environment), each 0x2000 bytes, placed one after the other. The structure of each copy: CRC32 (4 bayt, little-endian) + flags (1 bayt) + ma'lumot. The CRC32 (standard zlib/IEEE) is computed only over the data part (from the 5th byte of the copy to the end). The data consists of kalit=qiymat\0 strings, ending with \0\0.

The U-Boot rule: among the copies with a correct CRC, the one with the larger flags value is used (a copy with an incorrect CRC is ignored). Both copies contain secret_token and they differ; find the one in the copy that the device actually uses. The token is base64-encoded. Flag format: BAYROQ{...} (the last 16 characters are lowercase hexadecimal digits).

Attached files
env.bin Log in to download
Hints 3
Opening a hint reduces the points you get for solving this challenge.
Hint 1 −4 pts Log in
Hint 2 −8 pts Log in
Hint 3 −12 pts Log in
To submit a flag, log in.

First solvers

1. Mirjaxon Qaxxarov 24.11.2026
2. Odam 25.11.2026
3. Asmaa Mottery 28.11.2026