Taking some inspiration from my friend, Ray, I decided I’d write up some of the solutions to the various challenges I saw at this year’s BSides Raleigh CTF (capture-the-flag) events.ย And this time, I actually remembered to save some notes and screenshots!
This isn’t a record of every single challenge I saw, just a few that I thought were particularly interesting or noteworthy.
๐.html
This was a simple one…which I like, because I suck at CTF crypto challenges.ย The page was just these emoji spread out:
๐ฎ๐ฎ ๐ฎ๐ฎ๐๐ฎ ๐๐ฎ๐๐ ๐๐๐ ๐ฎ๐ฎ๐ ๐๐ฎ๐๐ฎ ๐ฎ๐ ๐๐ฎ ๐ฎ๐๐ฎ ๐ฎ ๐ฎ๐ ๐๐ฎ๐ฎ ๐ ๐ฎ๐ฎ๐ฎ๐ฎ ๐ฎ๐ฎ ๐ฎ๐ฎ๐ฎ ๐ ๐ฎ๐ฎ๐ฎ๐ฎ ๐ฎ ๐ฎ๐ฎ๐๐ฎ ๐ฎ๐๐ฎ๐ฎ ๐ฎ๐ ๐๐๐ฎ ๐ฎ๐ฎ ๐ฎ๐ฎ๐ฎ ๐ ๐ฎ๐ฎ๐ฎ๐ฎ ๐ฎ๐ฎ๐ฎ๐๐ ๐ฎ๐ ๐๐ฎ ๐๐ฎ ๐ฎ๐ฎ ๐ฎ๐ฎ๐ฎ๐ ๐ฎ ๐ฎ๐๐ฎ ๐ฎ๐ฎ๐ฎ ๐ฎ๐ฎ๐ฎ๐ฎ๐ ๐ฎ๐๐ฎ ๐๐ฎ๐๐ ๐ฎ๐ฎ๐ ๐ฎ๐๐๐ฎ ๐๐ฎ๐๐ฎ ๐ฎ๐ ๐ฎ๐ฎ๐ฎ ๐ฎ ๐๐ฎ๐ฎ
So I noticed right off the bat that there were only two emoji being used:ย ๐ฎย andย ๐.ย My initial thought was maybe this was something in binary, but I was dissuaded from that because of the variable lengths of emoji strings.
The next thought was Morse code!ย So I copied the emojis into Sublime, did a find/replace for each character, to get this:
.. ..-. -.– — ..- -.-. .- -. .-. . .- -.. – …. .. … – …. . ..-. .-.. .- –. .. … – …. …– .- -. -. .. …- . .-. … ….- .-. -.– ..- .–. -.-. .- … . -..
Running that through a Morse code translatorย yielded the message:
IFYOUCANREADTHISTHEFLAGISTH3ANNIVERS4RYUPCASED
So naturally, the flag was TH3ANNIVERS4RY.