Skip to main content
Challenges Cold boot: AES key schedule
Hardware Expert Cold-boot attack: recovering an AES-128 key schedule from decayed memory (Halderman method) Solves: 2

Cold boot: AES key schedule

Author: CyberSamSU
Points
200

The memory of a frozen device was obtained by a cold boot: ram.bin (262144 bytes). The first 196608 bytes are a copy of SRAM: after the power was cut the memory decayed — each 1 bit flipped to 0 with a probability of about 6-9% (asymmetric decay: the 'ground state' is 0), and no 0-to-1 transitions were observed. The last 65536 bytes are a non-volatile (NV) window, which has not decayed.

The program stored an AES-128 key schedule (the expanded 11 round keys = 176 bytes, in FIPS-197 order: 44 words of 4 bytes each) at a 16-byte-aligned address. The program copied the schedule repeatedly: old copies of the real key remain in several places in SRAM (each decayed separately); in addition, there are schedules of other keys (some undecayed, some decayed) — not all of them are your key. The NV window contains the marker ENCBLOB: 'ENCBLOB' 0x00 | length u16 LE | IV (16 bytes) | AES-128-CBC ciphertext (PKCS#7) — the flag is encrypted here.

Recover the original key from the decayed schedule and decrypt the flag: BAYROQ{SOVUQ_YUKLASH_...}. (Note: the last 16 characters of the flag are lowercase hexadecimal digits.)

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

First solvers

1. Mirjaxon Qaxxarov 24.11.2026
2. Odam 25.11.2026