Skip to content
Adam Omar Saleh

SpookyCTF 2026 "Phobias" logoSpookyCTF 2026Forensics

Stash the Hash

The "password" in the account file is an unsalted MD5 that cracks to newjerseydevils (Jersey Devil theme).

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

Brief

The challenge

Category
Forensics / Password Cracking
Difficulty
Medium
Points
75
Author
jtjnjit
File
StashTheHash.zip

A file was found that seems to contain detailed information about an infamous and high-profile cryptid. Their account is known to contain forbidden supernatural information. If you can find out what their password is you may be able to obtain this information for yourself.

Challenge page
Challenge page

TL;DR

Text
UserAccountInfo.txt → MD5 password → crack with rockyou → newjerseydevils→ 7z password → secretKnowledge.png → red-channel LSB bit plane → flag

The "password" in the account file is an unsalted MD5 that cracks to newjerseydevils (Jersey Devil theme). That opens the password-protected secretKnowledgeFolder.7z, which holds a PNG. The flag is hidden in the PNG's red-channel least-significant-bit plane.

01

Contents

The outer zip extracts without a password into two files:

Text
StashTheHash/UserAccountInfo.txt      (280 B)StashTheHash/secretKnowledgeFolder.7z (1.4 MB, password-protected)

UserAccountInfo.txt:

Text
Username: dleedsPassword: ad7bcd7ab3cc113f496e1840bc582bbdFull Name: Daniel LeedsDisplay Name: DevilLeedsEmail: dleeds@galloway.comDepartment: Horror ManagementEmployee ID: NJ-062805...

Every field screams Jersey Devil: Daniel/Mother Leeds, Galloway Township NJ, the NJ- employee ID, "DevilLeeds". The cryptid in the prompt is the Jersey Devil.

02

Cracking the password

The Password field is 32 hex characters — an unsalted MD5 hash, not the real password. The challenge literally says "if you can find out what their password is", so the hash has to be cracked.

Python
import gzip, hashlibtarget = "ad7bcd7ab3cc113f496e1840bc582bbd"for line in gzip.open("rockyou.txt.gz", "rb"):    w = line.rstrip(b"\r\n")    if hashlib.md5(w).hexdigest() == target:        print(w); break

It appears in rockyou.txt:

Text
newjerseydevils

(Online rainbow-table lookups miss it, but it's a plain rockyou entry — on the thematic nose for a Jersey Devil challenge.)

03

Opening the 7z

newjerseydevils is the password for secretKnowledgeFolder.7z:

Python
import py7zrwith py7zr.SevenZipFile("secretKnowledgeFolder.7z", "r", password="newjerseydevils") as z:    z.extractall(path="secret_out")

Inside is a single file, secretKnowledge.png — a 700×700 piece of grotesque cryptid artwork:

secretKnowledge.png
secretKnowledge.png

04

Finding the flag in the PNG

The image has no flag text, no appended data after IEND, no tEXt/eXIf chunks, and the alpha channel is uniformly 255. That points to LSB stego. Rendering the least-significant bit of the red channel as black/white reveals the flag drawn across the top:

Red-channel LSB bit plane
Red-channel LSB bit plane
Text
spooky{dleeds_isa_devil}

Solve script

Full chain in solve.py (download rockyou.txt.gz next to it first). Output:

Text
password: newjerseydevilsflag    : spooky{dleeds_isa_devil}

Flag

Flag

spooky{dleeds_isa_devil}

Source-documented · not platform-verified

Takeaways

  • A 32-hex-char "password" is a hash. Crack it instead of using it directly.

  • Theme is a cracking hint: a Jersey Devil challenge → newjerseydevils is in rockyou even when online lookups fail.

  • When an extracted image has no metadata/appended data and a flat alpha channel, go straight to the bit planes — the flag here is painted into the red LSB plane.

PDF edition

Writeup PDF

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