Skip to main content
Challenges File header (magic bytes) recovery
Digital forensics Easy File header Solves: 5

File header (magic bytes) recovery

Author: CyberSamSU
Points
15

Each file format has its own specific magic bytes (header signature) at the beginning of its file — the operating system determines the file type through these byte(s) even without an extension.

The first 4 bytes (magic bytes) of the following nomalum_fayl.dat file are filled with 0 — everything else is preserved. The first 32 bytes of the file:

0000: 00 00 00 00 14 00 00 00 08 00 26 97 1e 5d 53 23
0010: e7 73 60 00 00 00 5e 00 00 00 09 00 00 00 78 61

Table of magic bytes for some popular file types:

File typeMagic bytes (hex)
ZIP / DOCX / JAR50 4b 03 04
PNG89 50 4e 47
JPEGff d8 ff
PDF25 50 44 46
GIF89a47 49 46 38

Determine the file type, restore the header (replace the first 4 bytes), then open the file and find the flag in it.

Attached files
nomalum_fayl.dat Log in to download
SHA-256 checksums
nomalum_fayl.dat: 6213d4394471ebb3b70fc14d1f7bbb21f240086570d2bc768dbeca4d28f83ba0
Hints 2
Opening a hint reduces the points you get for solving this challenge.
Hint 1 −1 pts Log in
Hint 2 −3 pts Log in
To submit a flag, log in.

First solvers

1. Лазиз 04.10.2026
2. Mirjaxon Qaxxarov 27.10.2026
3. Odam 04.11.2026
4. Doston Allayarov 12.11.2026
5. Asmaa Mottery 25.11.2026