Skip to content
Adam Omar Saleh

FortID CTF placeholder badge (unofficial)FortID CTFOSINT

breaking_bad

A Breaking Bad themed chain. Bluesky leads to a Pastebin, which leads to a git repo whose commit dates draw the passphrase on a contribution graph.

Competition
FortID CTF placeholder badge (unofficial)FortID CTF
Category
OSINTHard · estimated
Source status
Source-documented · not platform-verified
Document
PDF edition2 min read

Brief

The challenge

Category
OSINT
File
newspaper_cover.png

A newspaper reports the arrest of Karl Heisenburger. Find out why he did what he did.

TL;DR

A Breaking Bad themed chain. Bluesky leads to a Pastebin, which leads to a git repo whose commit dates draw the passphrase on a contribution graph. The suspect's GitHub has the encryption tool, and a photo posted by the investigator leaks the link to the encrypted file.

Text
Bluesky → Pastebin → secret-key.zip (commit graph = passphrase)GitHub image-encryptor (tool) + Hank's beer photo (Pastebin → .enc) → decrypt → flag

01

Bluesky

The article names Karl Heisenburger and says neighbours saw him active on Bluesky. Searching leads to walter-white-hat.bsky.social, with a post: "If you see this I'm in custody or dead… if a certain file leaks, this paste will help you open it", plus the Pastebin ID BmwCR1aR.

02

The passphrase in the commit graph

The paste links to secret-key.zip on Google Drive. It contains a git repo with 480 one-line README commits. The README hints at its author's "best contributions", and another post links a tweet about GitHub contribution charts.

Plotting the commit dates on a weeks × days grid (dates.txt) spells:

Text
The secret key is: 14m7h30neWh0Kn0ckzzz

("I am the one who knocks".)

03

The encryption tool

The repo's git identity is w4l73r-8l4ck-H4t / karlheisenburger@gmail.com. That GitHub account has image-encryptor: it encrypts PNGs with Scrypt + AES-GCM into files starting with IMGCRYPT. Now there is a key and a tool, but no encrypted file.

04

Dead end: the newspaper image

The PNG carries ChatGPT C2PA provenance data and its hash still matches (c2pa_hash.py), so nothing was hidden in it after generation. Bit planes and crops (planes.py, crops.py) confirmed nothing there.

05

The deleted post and the investigator

The profile's post count didn't match the visible posts. The Wayback Machine had a deleted post: "I think we might have been compromised… burn the hard drives". A backlink index (Constellation) showed it was liked and replied to by Hank Brewman (hank-loves-brewing.bsky.social), the investigator.

06

The beer photo

Hank posted a beer photo celebrating the arrest. Behind the bottle, his monitor shows an email: "Digital evidence report arrived… the only file that matters", with a Pastebin link partly covered by the bottle.

Hank's screen
Hank's screen

Zooming in and trying the possible characters (paste_try.py) gave i8AgnpB5, which links to why_i_did_what_i_did.png.enc.

07

Decrypt

Shell
python3 image-encryptor/decrypt_image.py why_i_did_what_i_did.png.enc "14m7h30neWh0Kn0ckzzz"
Decrypted image
Decrypted image

Flag

Flag

FortID{1_d1d_i7_4_m3_._1_l1k3d_it._1_w45G00d_4t_17}

Source-documented · not platform-verified

Walter White's line from the finale: "I did it for me. I liked it. I was good at it." The flag is split over three lines in the image; if the above is rejected, try ..._1_w45_G00d_4t_17}.

PDF edition

Writeup PDF

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