Being cautious, I check out what appears to be a hex string in the link:
2e5ef7f070966b1a50e811692bf1d362
Thinking this could be an MD5 hash, I run hashid:
This confirmed my suspicions. Now I run hashcat on the hash with the popular rockyou wordlist:
After about 16 hours, the wordlist was exhausted and I still didn’t have an answer.
I then paid a Russian hacker to get the flag for me. We settled on a nominal $9,000 USD service fee.
actual photo
Unfortunately, he wasn’t able to get the flag for me and I wasn’t able to get my money back.
I then broke out my Ouija board and attempted to contact the spirits for help:
To my surprise, the spirits were very active and willing to help point me in the right direction.
They pointed me to the letters:
L I T T L E E A R L
Combining the letters I got “LITTLEEARL”, which I refined to “Little Earl”
This made me think for a while and I realized they were trying to get me to remember that my long lost 4-th great cousin Earl, who was very small (only 2’3″) used to rave about his favorite website: tinyurl.com
I know that TinyURL is great for shortening long URLs to make it easier to hide links to flags or other information. The problem was I needed the rest of the URL to get to what I needed.
After looking through the Line corporate website (the purveyors of the CTF), I found some interesting information on this page: https://careers.linecorp.com/
I realized that the following letters and numbers were used more than any other letters and numbers on the page and they ranked in the following order ( I repeated letters based on whimsy):
I went to that website and set the parameters on the page to what I would expect to see for the unique ID of a TinyURL link (combination of 8 numbers and lowercase letters):
I added the generated password the the TinyURL link that Cousin Earl loved and come up with this:
After a little poking around, I look for a robots.txt entry:
Interesting! Now I follow the clue and look for a robots directory:
I click the link on the page for the source code and I get this:
After reviewing the code, I see that the PHP is looking for an input parameter “php_is_hard” and it runs “preg_replace()” on it and evaluates the output of that.
Analyzing this code, I see that it takes my input and looks for all instances of “suzuki_harumiya” and removes it. Then it compares the resulting string to “suzuki_harumiya”. If it is true, then it runs the “open_up()” function.
I see that I can simply manipulate my input to “ssuzuki_harumiyauzuki_harumiya” and the script will remove the single instance of “suzuki_harumiya” in it and the resulting string will, in fact, be “suzuki_harumiya”. When I feed that input, I get this:
A quick Google search tells me that Reddit is the front page of the internet, so I search for entries related to vishwactf on reddit:
I see that there is a comment indicating that another comment has been deleted:
AI hop in my time machine at Archive.org and go down memory lane:
I now have what appears to be a ciphered flag with a clue. The part about the “18th century French scholars” tells me to try decrypting it as a Vigenere cipher. I head over to dcode.fr and try it out. The automatic decryption failed, so after some contemplating, I try “VISHWACTF” as the key and I get the flag:
For this challenge, we are given the following clue and a ELF binary:
After some preliminary poking at the file, I execute it in the terminal to see what it does. I see that it waits for input from the user and replies with “EWWWW DUMBBB” and exits:
Next I load it into my debugger and inspect the code:
I see that there is cmp performed and it results in a jmp to the failure message:
I modify the jmp and fill it with NOPs:
I then provide some random input and watch for its response:
It looks like a scrambled flag. Most likely a simple shift cipher… maybe a ROT (rotation). I head over to rot13.com and decode it:
For this challenge, we are given what appears to be an emoji cipher:
After trying several emoji cipher decoders online without success, I looked a little harder at the emojis.
Knowing that the flag format starts with “utflag” and seeing what the names of the emojis are “Umbrella, Turkey, Fire, Lion, Apple, Guitar…” The first letters of the names are spelling out the flag. Going throught the full list of emojis, I get:
Apparently the princess is in another castle. I see that there is what appears to be a base64 encoded string. A quick trip over to Base64Decode and we get this:
Yet another castle. This time I have another string that appears to be a cipher along with a clue. This leads me to think it could be a Caesar Cipher. A quick trip to dcode.fr and I get this:
congratulations! you have finished the beginner cryptography challenge. here is a flag for all your hard efforts: utflag{now_youre_playing_with_crypto}. you will find that a lot of cryptography is building off this sort of basic knowledge, and it really is not so bad after all. hope you enjoyed the challenge!