SHA2017 Junior CTF - All about the Base
We found this encoded message. Can you decode it?
Show Solution …
This challenge gives the following ciphertext to analyze:
If you have seen Base64 encoding before, you will immediately know that is what this is. Base64 encoding is very common to see and is extensively used in CTFs to obscure text. If this is new to you, take note of the pattern. You see a highly random grouping of uppercase, lowercase, and numbers, finally ending with two = signs. These are the telltale indicators of a Base64 encoded string. The = signs at the end are optional; there could be anywhere between 0-2 of them, and they will only ever appear at the end (they are used for padding). There are no other symbols anywhere in the rest of the string (though the occassional “+” and “/” is also acceptable if you see those).
Now that we identified this as being Base64 encoded, all we need to do is decode it. Since this is an encoding, there is no key to be concerned with, hence we are decoding not decrypting. Any web-based decoder will be fine, or you can use Linux to do the same thing. Just remember this is all one long encoded string, not four encoded strings. You’ll need to combine them first.
The flag for this challenge is
Review & Lessons Learned
If you see a highly random grouping of uppercase, lowercase, numbers, and 0-2
= at the end with no other symbols (besides maybe
/), you should instantly recognize it as a Base64 encoded string. Always decode it when you see it; you will see these over and over again.