Skip to content
Adam Omar Saleh

Thryve CTF 2026 placeholder badge (unofficial)Thryve CTF 2026Forensics / Steganography

A File That Was Not a JPG

Title unconfirmed

magic-byte inspection / encrypted PDF / layered Base64 / hidden 7z

Competition
Thryve CTF 2026 placeholder badge (unofficial)Thryve CTF 2026
Category
Forensics / SteganographyEasy · estimated
Analysis status
Reported solved · platform unverified
Document
Original PDF

01Challenge analysis

The problem

A file with a .jpg extension hid a chain of unrelated containers and encodings. The solution relied on identifying its true file type at each step instead of trusting its name.

02Exploit or recovery path

How I solved it

  1. 01

    I examined the header of the purported JPEG and established it was not an ordinary JPEG file.

  2. 02

    I located an encrypted PDF stage and opened it with password trustno1 recovered in the challenge sequence.

  3. 03

    I decoded the extracted material through three consecutive Base64 layers; an intermediate clue read 1@M_th3_M4sk!!.

  4. 04

    I located the hidden 7z archive and extracted the final file fsociety_final.txt.

  5. 05

    I read the recovered flag from that final text artifact.

Result

RECOVERED FLAG

Thryve{d0nt_trust_th3_f1l3_ext3ns10n_follow_th3_s1gnal}

Reported solved · platform unverified

Local Verification
Flag and source-to-output progression are preserved in the earlier August 14 chat.
Evidence Limitation
Exact filename, 7z extraction command and original archive hash are not available; no command is fabricated.

Original document

Original PDF

The writeup as I first documented it.