Skip to main content
Challenges Intel HEX firmware
Hardware Easy Converting Intel HEX to binary (checksum, extended address) and XOR Solves: 4

Intel HEX firmware

Author: CyberSamSU
Points
15

The microcontroller manufacturer sent the firmware as firmware.hex (Intel HEX). Format: each line is :LLAAAATT<ma'lumot>CC — LL is the length, AAAA is the address, TT is the type (00 data, 01 end of file, 04 the upper 16 bits of the extended linear address, 05 start address), and CC is the checksum (the sum of all bytes must be 0 mod 256).

In the firmware image, the production secret is stored after the MFG_SECRET: marker: the flag (ending with \0) is XOR-ed with a single-byte key. The key is written in the image itself, in a configuration string (xor_key=...). During transfer the file was slightly corrupted: the checksum of one record is wrong.

Convert the hex to binary (placing the addresses correctly) and reveal the secret. Flag format: BAYROQ{...} (the last 16 characters are lowercase hexadecimal digits).

Attached files
firmware.hex Log in to download
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. Mirjaxon Qaxxarov 24.11.2026
2. Asmaa Mottery 25.11.2026
3. Odam 25.11.2026
4. Doston Allayarov 28.11.2026