Skip to content
Adam Omar Saleh

DEADFACE CTF 2026 logoDEADFACE CTF 2026Cryptography

Infrequent Emojis

One DoomScroll post has a comment thread written entirely in emojis. Each emoji stands for one letter and word spacing is kept, so it's a plain monoalphabetic substitution cipher.

Category
CryptographyEasy · estimated
Source status
Source-documented · not platform-verified
Document
PDF edition2 min read

Brief

The challenge

Category
CRYPTO
Points
50
Author
@Cyan
Source
DoomScroll, post 252 by spookyboi

While DoomScrolling, our intel team came across a weird coded post with emojis all over it. One of our experts claims that the patterns point to it still being English but we don't know what it means! Can you figure it out?

Submit the answer as deadface{flag_text}

Challenge page
Challenge page

TL;DR

One DoomScroll post has a comment thread written entirely in emojis. Each emoji stands for one letter and word spacing is kept, so it's a plain monoalphabetic substitution cipher. Frequency analysis plus a few cribs (☣️💾🕯️ = the) recover the full 26-letter key. The post's image is a grid of the same emojis, and it decodes to the flag.

Text
emoji → letter (frequency analysis) → apply to the image grid → flag

01

Finding the post

The feed loads 10 posts at a time, and post IDs run up to about 265. fetch.py downloads every /post/<id> page and counts emojis on each one. One post is a clear outlier:

Text
228 6252 1024

Post 252 by spookyboi has 8 comments from DEADFACE members (spookyboi, b1tfr34k, lamia415, gh0st404, lilith) written entirely in emojis, for example:

Text
☣️💾🕯️ 🕸️🖤🖤📡🌩️🦉 ☣️💀☠️🕸️🕯️ 📟🌙 🕸️📟☢️🕯️.

02

Recognizing the cipher

  • Spaces, punctuation, ', - and even utf-8 show through untouched, so words keep their length.

  • Exactly 26 distinct emojis appear, which is one per letter.

  • The emoji frequencies follow English letter frequencies:

Text
🕯️ 96  ☣️ 94  🌙 86  📟 82  🖤 79  💀 73  🦇 67  🔮 66  🕸️ 60  💾 35 ...

03

Recovering the key

The most common 3-symbol word ☣️💾🕯️ is the, and the 2-symbol word 📟🌙 is is. Filling in the remaining letters by frequency and checking that the words still read as English gives the full key:

💀 a☠️ b⚰️ c🪦 d🕯️ e🩸 f🦴 g💾 h📟 i🔌 j📡 k🕸️ l⛓️ m
🦇 n🖤 o🦉 p👁️ q🔮 r🌙 s☣️ t🌩️ u☢️ v🔥 w🥀 x🧪 y🔏 z

The decoded thread (decoded_all.txt) describes the scheme itself:

spookyboi: the lookup table is live. all active communications must shift to this format to bypass standard string scanners.

lilith: ... if we spam long paragraphs in this format, anyone checking frequency distributions will map the characters.

That last line is exactly the attack used here.

04

Decoding the image

The post's image is a 7-column grid of the same emojis with literal {, } and _:

Flag grid
Flag grid

Reading it row by row with the key:

Text
🪦🕯️💀🪦🩸💀⚰️   → deadfac🕯️{🦉🕸️🕯️💀🌙   → e{pleas🕯️_☣️🔮🧪_🖤    → e_try_o🌩️☣️_⛓️🧪_🦇    → ut_my_n🕯️🔥_🌙☣️💀🦇   → ew_stan🪦💀🔮🪦}        → dard}

Files

  • fetch.py: downloads every post into posts.json and flags emoji-heavy posts.

  • solve_all.py: applies the key to every emoji comment on the site and writes decoded_all.txt.

  • cipher.json: the raw emoji comments from post 252.

Flag

Flag

deadface{please_try_out_my_new_standard}

Source-documented · not platform-verified

Takeaways

  • Swapping letters for emojis is still a monoalphabetic substitution cipher. Word boundaries plus a couple of paragraphs of text are enough for frequency analysis to break it.

  • When a challenge points to a social platform, scraping every post and filtering for anomalies (here, the number of emojis) is faster than scrolling.

PDF edition

Writeup PDF

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