DEADFACE CTF 2026Steganography
Conduct Unbecoming
The scanned letter carries printer tracking dots: a faint grid of yellow dots that colour laser printers add to every page.
- Competition
DEADFACE CTF 2026- Category
- SteganographyMedium · estimated
- Source status
- Source-documented · not platform-verified
- Document
- PDF edition3 min read
Brief
The challenge
- Category
- STEG
- Points
- 75
- Author
- @G2Gh0st
- File
Doc_20261017_0915.jpg(saved here asdoc.jpg)
DEADFACE recently breached Night Veil University and exfiltrated a number of internal documents. We were able to recover one of those documents for analysis. We need your help to identify the asset-id that was used to create the document so we can have our investigators analysis it for more clues on how DEADFACE gained access.
Submit the flag as
deadface{flag-text}.
TL;DR
The scanned letter carries printer tracking dots: a faint grid of yellow dots that colour laser printers add to every page. Isolating the yellow channel shows an 8×13 grid in the bottom-right corner. The top row is a full row of dots that marks the grid, and each of the other 12 rows is one 7-bit ASCII byte. Together they spell out the printer's asset ID:
yellow channel → 8×13 dot grid → one ASCII byte per row → NVU-PRINT-1701
Recon
The file's SHA256 matches the one on the challenge page (6e7809f4...44f1ba). It is a 2566×3314 JPEG, roughly a US Letter page scanned at 300 DPI.
The metadata contains nothing useful:
IPTC/XMP title:
NVU Conduct NoticeSoftware:
Affinity Photo 2 2.6.5Dates:
2026-06-08T17:48:35-04:00
No asset ID, serial number or comment. Nothing is appended after the JPEG end-of-image marker either.
02
The hint
The challenge asks which asset "was used to create the document", and the challenge art shows a printer. Colour laser printers stamp a Machine Identification Code (MIC) on every page: a pattern of tiny yellow dots that is almost invisible on white paper.
03
Isolating the yellow
Yellow toner reflects red and green but absorbs blue, so (R + G) / 2 − B measures how yellow each pixel is. On white paper and black text the value is close to 0. Only 325 pixels reach 6 or more, and all of them fall inside one small box near the "Page 1 of 1" footer (x 2331–2416, y 3025–3172).
Amplifying that value ×40 across the whole page shows the dot block in the bottom-right corner:

04
Reading the grid
Zooming in shows a clean grid of 8 columns × 13 rows with a 12-pixel pitch:

Row 1 has every dot set. It is the marker row and carries no data.
Rows 2–13: the first column is always empty, which is what you get from 7-bit ASCII written MSB-first, one byte per row.
| Row bits | Char |
|---|---|
01001110 | N |
01010110 | V |
01010101 | U |
00101101 | - |
01010000 | P |
01010010 | R |
01001001 | I |
01001110 | N |
01010100 | T |
00101101 | - |
00110001 | 1 |
00110111 | 7 |
The asset ID is NVU-PRINT-17. It fits the Night Veil University naming (NVU, the same prefix used in the student ID and the document reference).
Solve script
solve.py:
import sysimport numpy as npfrom PIL import Imagepath = sys.argv[1] if len(sys.argv) > 1 else "doc.jpg"im = np.array(Image.open(path).convert("RGB")).astype(int)# Yellow toner shows up as red+green without blue.yellow = (im[..., 0] + im[..., 1]) // 2 - im[..., 2]ys, xs = np.nonzero(yellow >= 6)top, left = ys.min(), xs.min()pitch = 12rows, cols = 13, 8grid = np.zeros((rows, cols), int)for r in range(rows): for c in range(cols): y, x = top + 2 + r * pitch, left + 2 + c * pitch grid[r, c] = yellow[y - 3:y + 4, x - 3:x + 4].max() >= 6for row in grid: print("".join(map(str, row)))text = "".join(chr(int("".join(map(str, row)), 2)) for row in grid[1:])print("asset-id:", text)print("flag : deadface{%s}" % text)Output:
asset-id: NVU-PRINT-17flag : deadface{NVU-PRINT-17}Flag
Flag
deadface{NVU-PRINT-17}
Source-documented · not platform-verified
Takeaways
If a challenge asks which device "created" a printed or scanned document, check for printer tracking dots (MIC).
A simple
(R + G) / 2 − Bmap makes faint yellow stand out against black text and white paper.A first bit that is always 0 across every row is a strong sign of 7-bit ASCII.