Skip to content
Adam Omar Saleh

SpookyCTF 2026 "Phobias" logoSpookyCTF 2026Misc

Tormented Tanny

The flag is split into three pieces stored in three different PNG metadata chunks: the tEXt Title, the XMP description inside iTXt, and the EXIF data inside eXIf. Join them in that order.

Competition
SpookyCTF 2026 "Phobias" logoSpookyCTF 2026
Category
MiscEasy
Source status
Source-documented · not platform-verified
Document
PDF edition1 min read

Brief

The challenge

Category
jtjnjit
Difficulty
Easy
Points
50
File
TormentedTanny.png

An image was captured of a vicious beast while guarding his castle. The cameraman may have found just what makes this beast so furious. Unfortunately, the cameraman seems to have gone missing. Maybe the photo contains the answer.

Challenge page
Challenge page

TL;DR

The flag is split into three pieces stored in three different PNG metadata chunks: the tEXt Title, the XMP description inside iTXt, and the EXIF data inside eXIf. Join them in that order.

01

Recon

The image is a normal 1086×1448 RGB PNG of a very angry poodle. There's nothing appended after IEND, so the next place to check is the metadata. Walking the chunk list gives:

Text
IHDR  13tEXt  30   Title\0spooky{tormented_tanner_iTXt  472  XML:com.adobe.xmp ...eXIf  100  MM\0* ... vetsulin} ...IDAT  ...IEND  0

The tEXt chunk already starts the flag, and the EXIF chunk clearly ends it.

02

The three pieces

tEXt Title:

Text
spooky{tormented_tanner_

XMP description inside the iTXt chunk, written by ExifTool 12.76:

XML
<dc:description> <rdf:Alt>  <rdf:li xml:lang='x-default'>hates_his_</rdf:li> </rdf:Alt></dc:description>

EXIF ImageDescription (tag 0x010E) inside the eXIf chunk:

Text
vetsulin}

Vetsulin is insulin for dogs and cats, which is "just what makes this beast so furious."

exiftool TormentedTanny.png shows all three fields at once (Title, Description, Image Description).

03

Solve script

solve.py parses the PNG chunks and joins the three pieces:

Text
$ python solve.pytEXt Title     : spooky{tormented_tanner_XMP description: hates_his_EXIF           : vetsulin}flag           : spooky{tormented_tanner_hates_his_vetsulin}

Flag

Flag

spooky{tormented_tanner_hates_his_vetsulin}

Source-documented · not platform-verified

Takeaways

  • Before trying LSB or other pixel stego, check every metadata location: PNG text chunks, XMP and EXIF can each hold part of the answer.

  • A flag split across chunks is easy to miss if you only run strings | grep flag. Here only the first piece contained spooky{.

PDF edition

Writeup PDF

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