Skip to main content
Challenges Firmware diff: new backdoor
IoT Hard Firmware analysis: the difference between two versions, a cpio (newc) archive and recovering a hidden scheme Solves: 6

Firmware diff: new backdoor

Author: CyberSamSU
Points
90

The IoT gateway manufacturer released the 1.3 firmware as a «security improvement». You obtained both images (fw_v1.2.bin and fw_v1.3.bin) in firmware.zip and suspect that the new version contains a technical («factory») access that was quietly left in.

Image format: a 32-byte header (the SMSFW2 marker, u16 major, u16 minor, u32 payload length, u32 CRC32 of the payload, ...; all little-endian), followed by a gzip payload of that length, then 0xFF padding. Inside the gzip there is a cpio (newc, 070701) file system archive.

The archive is extracted like a normal cpio -i: if the same name occurs several times, the later one overwrites the earlier one.

Task: find the new/changed files of v1.3, read their logic, open the secret (vault) that the device stored, and find the flag in the secret= value: BAYROQ{...} (the last 16 characters are lowercase hex). Note: the old v1.2 image has a similar vault too, but the flag belongs to v1.3.

Attached files
firmware.zip Log in to download
Hints 3
Opening a hint reduces the points you get for solving this challenge.
Hint 1 −9 pts Log in
Hint 2 −18 pts Log in
Hint 3 −27 pts Log in
To submit a flag, log in.

First solvers

1. Mirjaxon Qaxxarov 25.11.2026
2. Odam 25.11.2026
3. leshiy 27.11.2026
4. trzviy 27.11.2026
5. Глеб Гой 27.11.2026
6. Shcherbakov Nikita 27.11.2026