TryHackMe
c4ptur3th3fl4g Walkthrough
Task – 1 Translation and Shifting
Question 1 – c4n y0u c4p7u23 7h3 f149?
Solution – This one’s quite simple. This is called leet in which the text is written with modified spellings with the help of numbers in place of some characters. The answer for this one is – can you capture the flag?
Question 2 – 01101100 01100101 01110100 01110011 00100000 01110100 01110010 01111001 00100000 01110011 01101111 01101101 01100101 00100000 01100010 01101001 01101110 01100001 01110010 01111001 00100000 01101111 01110101 01110100 00100001
Solution – This is written in binary as you can see that every set of 1’s and 0’s (separated by space) is a string of 8 numbers. So you can use any online resource such as rapidtables to convert binary to ascii. The answer for this is – lets try some binary out!
Question 3 – MJQXGZJTGIQGS4ZAON2XAZLSEBRW63LNN5XCA2LOEBBVIRRHOM======
HINT : Having an equal sign at the end of the string is the distinguishing feature of a particular category of encoding technique. Remember it from now on if you didn’t knew it.
Solution – The equal sign at the end signifies that this is a base encrypted string and I started with base32. So I used online tools to decrypt base32 such as boxentriq or cyberchef. This gave me the answer as – base32 is super common in CTF’s
Question 4 – RWFjaCBCYXNlNjQgZGlnaXQgcmVwcmVzZW50cyBleGFjdGx5IDYgYml0cyBvZiBkYXRhLg==
HINT : Same as above
Solution – Similar to the previous question this is a base string and thus I tried with base32 but it wasn’t the solution so I went to the next base which is base64. And this indeed was the encryption technique used upon it. This returned the answer – Each Base64 digit represents exactly 6 bits of data.
Question 5 – 68 65 78 61 64 65 63 69 6d 61 6c 20 6f 72 20 62 61 73 65 31 36 3f
HINT : There are majorly 3 different number systems which are used to represent ASCII. This is one of them. Try to identify it
Solution – The existence of numbers and characters with each other points into the direction of hexadecimal. This is further confirmed by analysing the strings where the characters haven’t exceeded letter f. So I used rapidtables to convert hexadecimal to ascii and found the answer to be – hexadecimal or base16?
Question 6 – Ebgngr zr 13 cynprf!
HINT : In the answer text field you can see that the number of charaters required in the answer is same as that in the question along with same spacing. This ensures that this is a monoalphabetic cipher. This rules out many other options and leaves you with a smaller set of ciphers to try from.
HINT : If all else fails, then rotate.
Solution – This is a very cool encryption technique called rotate13 or rot13. In this technique every character is changed by adding 13 to it considering a or A = 0, b or B = 1 upto z or Z = 25. If the value goes above 25 then it is started again with 0. You must be thinking that how did I decided that this is rot13. To tell you the truth I didn’t knew it. This comes from experience however in my case I fiddled with it for quite some time and then just started randomly using the decryption techniques upon it until I stumbled upon rot13 and saw the answer flashing in my face. Then I looked upon google and learned some things about it. So the answer for this one is – Rotate me 13 places!
Question 7 – *@F DA:? >6 C:89E C@F?5 323J C:89E C@F?5 Wcf E:>6DX
HINT : Same as above
HINT : The other version of the above solution
Solution – This is somewhat similar to the previous one. This string is encrypted with the help of rot47. In this technique the ascii value of characters having decimal value between 33 and 126 except space are formed a group. This includes 94 characters which when divided by 2 becomes 47. Then the decimal value of characters are added with 47 to encrypt and again added with 47 to decrypt. Now how did I knew that I had to apply this technique. In the previous question I read about rot13 and its wikipedia page had info about rot47. Now I used cyberchef to decrypt this string by rot47 and the answer is – You spin me right round baby right round (47 times)
Question 8 – – . ... . .. — — — .. . .. .. . – .. — .
. . .. — .. .. . –.
HINT : Having only two types of characters in a string generally leaves you with two options to try from among which one is the answer. Name them.
HINT : They are binary and morse. So which one is it.
Solution – Dots and dashes are used in morse code. Thus I converted it into its ascii form using dCode and the answer is – telecommunication encoding
Question 9 – 85 110 112 97 99 107 32 116 104 105 115 32 66 67 68
HINT : There are majorly 3 different number systems which are used to represent ASCII. This is one of them. Try to identify it
Solution – This sequence of numbers could’ve been decimal or octal. So I used rapidtables to check both of the options and it turned out to be decimal as it gave a readable ascii value. Thus the answer for this one is – Unpack this BCD
TASK 2 – Spectograms
Task – 3 Steganography
Task – 4 Security Through Obscurity
