Skip to content
Adam Omar Saleh

DEADFACE CTF 2026 logoDEADFACE 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.

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 as doc.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:

Text
yellow channel → 8×13 dot grid → one ASCII byte per row → NVU-PRINT-17

01

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 Notice

  • Software: Affinity Photo 2 2.6.5

  • Dates: 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:

Yellow channel, whole page
Yellow channel, whole page

04

Reading the grid

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

Dot grid, zoomed
Dot grid, zoomed
  • 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 bitsChar
01001110N
01010110V
01010101U
00101101-
01010000P
01010010R
01001001I
01001110N
01010100T
00101101-
001100011
001101117

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:

Python
import sys​import numpy as npfrom PIL import Image​path = 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, 8​grid = 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() >= 6​for 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:

Text
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 − B map 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.

PDF edition

Writeup PDF

Formatted edition of this walkthrough, built from my source notes · 6 pages.