Skip to main content
Challenges Thumb firmware
Reverse engineering Hard Analysing raw Cortex-M4 (Thumb-2) firmware in Ghidra Solves: 2

Thumb firmware

Author: CyberSamSU
Points
110

A flash dump was taken from the device: fw.bin, raw firmware for an ARM Cortex-M4 (Thumb-2, little-endian). The file is loaded at address 0x08000000 (the vector table starts there: initial SP, Reset, ...). Peripheral map: USART1 0x40011000 (SR; bit 5 = RXNE) and 0x40011004 (DR), the LED output is GPIO ODR 0x40020C14.

The firmware reads 16 characters from the UART and checks them with the unlock() logic: for each character a CRC-like mixing (32-bit state, 8-step shift) is computed and compared with a table in flash. If the correct 16 characters (lowercase hex) are entered, the LED lights up. Flag: BAYROQ{THUMB_PROSHIVKA_<16 belgi>}.

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

First solvers

1. Mirjaxon Qaxxarov 25.11.2026
2. Odam 25.11.2026