MISSION WRITEUP ID: cylab-binary-digitsPublished: 2026-08-18 by AUKA
Binary Digits: ASCII Bitstream to Image
Parsing a raw ASCII bitstream (0s and 1s) from digits.bin and converting it to binary bytes to uncover an image.
Target Mission Dossier
ForensicsEasy
Target Host / IP
Offline Challenge File
Operating System
Linux / Windows
Architecture
N/A
Primary Vulnerability
Binary Data Concealment
Exposed Services:File & Forensic Analysis
Attack Kill Chain Progress1 / 3 Steps
01
Phase 1: Inspecting the Bitstream File
The challenge provides a file `digits.bin`. Opening or running `head` on it reveals that it is not raw binary bytes, but an ASCII text file filled with characters `'0'` and `'1'`.
studio@pwnbox:~/cylab-binary-digits$
02
Phase 2: Binary Parsing & Image Extraction
We convert every 8 characters of `'0'` and `'1'` into a single 8-bit byte to reconstruct the actual underlying file. Alternatively in CyberChef, apply the recipe: - **From Binary** (Byte delimiter: None) - Render Image
studio@pwnbox:~/cylab-binary-digits$
03
Phase 3: Flag Capture
Opening `recovered_image.png` displays the rendered flag:
studio@pwnbox:~/cylab-binary-digits$
Final Target Proof of Compromise
Target Root Capture Flag
STUDIO{pwn3d_fl4g_h1dd3n_h3x_00000}