TryHackMe(c4ptur3-th3-fl4g) walkthrough part 1
By: Cyber Defecers
Tags: Capture The Flag, Cryptography, Tryhackme, Cyber Defecers, Mayur Parmar

Hello friends this is my second writeup. in this i will discuss about how i solved cryptography challenges. in most of the Capture The Flag competitions crypto category will be there. so this blog will help you to solve beginner level crypto challenges.

Link of challenge:

[Task 1] Translation & Shifting

c4n y0u c4p7u23 7h3 f149?

Answer: can you capture the flag?

This is an amazing challenge. many of us are heard of fancy usernames of hackers. so this basic cipher called Leet Code encoding.

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

Answer: lets try some binary out!

it looks like binary values. so we have to decode it to a readable format that is a text format.

Binary to text

3. MJQXGZJTGIQGS4ZAON2XAZLSEBRW63LNN5XCA2LOEBBVIRRHOM======

Answer: base32 is super common in CTF’s

this text looks like base 32 text. as I played many ctfs I see that base32 encoded text much more equal to(=) signs. so I decoded to base 32 and I was correct.

base32 decoding

4.

RWFjaCBCYXNlNjQgZGlnaXQgcmVwcmVzZW50cyBleGFjdGx5IDYgYml0cyBvZiBkYXRhLg==

answer: Each Base64 digit represents exactly 6 bits of data.

As per the previous question, we saw that the base encoding has an equal sign. as I know base64 encoding have == sign at the end of the encoded string.

base64 decding

5. 68 65 78 61 64 65 63 69 6d 61 6c 20 6f 72 20 62 61 73 65 31 36 3f

Answer: hexadecimal or base16?

As we already know this is in Hexadecimal format.so we have to decode to to text format to get the flag.

Hexadecimal decoding

6. Ebgngr zr 13 cynprf!

Answer: Rotate me 13 places!

as I see in the question some hint is already there. 13 was the direct hint to solve this challenge. in crypto, there is one ROT encoding to encode the text.

ROT13 Decoding

7.

*@F DA:? >6 C:89E C@F?5 323J C:89E C@F?5 Wcf E:>6DX

Answer: You spin me right round baby right round (47 times)

this cipher is totally new for me because I never saw this encoding in previous ctfs I played. so I quickly searched on google with some I examples I got to know that this is ROT47 cipher.

ROT47 decoding

8. — . .-.. . -.-. — — — — ..- -. .. -.-. .- — .. — — -.

. -. -.-. — — -.. .. -. — .

Answer: TELECOMMUNICATION ENCODING

this is a known encoding technique for every ctf player.because in most of the beginner level ctf you will get this type of decoding challenges. so it was Morse code cipher,

Morse code decoding

9. 85 110 112 97 99 107 32 116 104 105 115 32 66 67 68

Answer: Unpack this BCD

so at very first look, these numbers look like normal numbers,

right?

but we are wrong for every computer/technical personal know that is decimal numbers. so yes it’s very easy to identify this number. so that was decimal number decoding.

Decimal to text decoding

10. LS0tLS0gLi0tLS0gLi0tLS0gLS0tLS0gLS0tLS0gLi0tLS0gLi0tLS0gLS0tLS0KLS0tLS0gLi0tLS0gLi0tLS0gLS0tLS0gLS0tLS0gLi0tLS0gLS0tLS0gLi0tLS0KLS0tLS0gLS0tLS0gLi0tLS0gLS0tLS0gLS0tLS0gLS0tLS0gLS0tLS0gLS0tLS0KLS0tLS0gLi0tLS0gLi0tLS0gLS0tLS0gLS0tLS0gLS0tLS0gLS0tLS0gLS0tLS0KLS0tLS0gLi0tLS0gLS0tLS0gLi0tLS0gLi0tLS0gLi0tLS0gLi0tLS0gLi0tLS0KLS0tLS0gLi0tLS0gLi0tLS0gLS0tLS0gLS0tLS0gLS0tLS0gLS0tLS0gLS0tLS0KLS0tLS0gLS0tLS0gLi0tLS0gLS0tLS0gLS0tLS0gLS0tLS0gLS0tLS0gLS0tLS0KLS0tLS0gLi0tLS0gLi0tLS0gLS0tLS0gLS0tLS0gLS0tLS0gLS0tLS0gLS0tLS0KLS0tLS0gLi0tLS0gLi0tLS0gLS0tLS0gLS0tLS0gLS0tLS0gLS0tLS0gLS0tLS0KLS0tLS0gLi0tLS0gLi0tLS0gLS0tLS0gLS0tLS0gLi0tLS0gLS0tLS0gLi0tLS0KLS0tLS0gLS0tLS0gLi0tLS0gLS0tLS0gLS0tLS0gLS0tLS0gLS0tLS0gLS0tLS0KLS0tLS0gLi0tLS0gLi0tLS0gLS0tLS0gLS0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tLS0gLS0tLS0gLi0tLS0gLi0tLS0KLS0tLS0gLS0tLS0gLi0tLS0gLS0tLS0gLS0tLS0gLS0tLS0gLS0tLS0gLS0tLS0KLS0tLS0gLi0tLS0gLi0tLS0gLS0tLS0gLS0tLS0gLS0tLS0gLi0tLS0gLi0tLS0KLS0tLS0gLi0tLS0gLi0tLS0gLS0tLS0gLS0tLS0gLi0tLS0gLS0tLS0gLi0tLS0KLS0tLS0gLS0tLS0gLi0tLS0gLS0tLS0gLS0tLS0gLS0tLS0gLS0tLS0gLS0tLS0KLS0tLS0gLi0tLS0gLi0tLS0gLS0tLS0gLS0tLS0gLS0tLS0gLi0tLS0gLi0tLS0KLS0tLS0gLi0tLS0gLi0tLS0gLS0tLS0gLS0tLS0gLi0tLS0gLS0tLS0gLi0tLS0KLS0tLS0gLS0tLS0gLi0tLS0gLS0tLS0gLS0tLS0gLS0tLS0gLS0tLS0gLS0tLS0KLS0tLS0gLi0tLS0gLi0tLS0gLS0tLS0gLS0tLS0gLS0tLS0gLi0tLS0gLi0tLS0KLS0tLS0gLi0tLS0gLi0tLS0gLS0tLS0gLS0tLS0gLi0tLS0gLS0tLS0gLi0tLS0=

Answer: Let’s make this a bit trickier…

so let’s start for the battle for the last challenge of task 1.

so very first moment i confused that i first see this last challenge. but when i scroll down i see = at the end of the string. so think that it might be base encoding.

now chain will be

Base64 -> Morse code -> Binary ->ROT47 -> Decimal

this type of challange require logical thinking. from = to flag.

this multiple encoding challenger over.