Skip to main content

c4ptur3-th3-fl4g

Task 1: Translation & Shifting

c4n y0u c4p7u23 7h3 f149?

The text is encoded in LeetSpeak. In order to decode we just have to substitute the numbers with the equivalent characters.

CharacterNumber
a4
o0
t7
r2
e3
g9

Answer

can you capture the flag

 

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

We have to convert the bits into ASCII. We can do that using CyberChef.

1

Answer

lets try some binary out!

 

MJQXGZJTGIQGS4ZAON2XAZLSEBRW63LNN5XCA2LOEBBVIRRHOM======

The ====== at the end is an indication of Base32 encoding.

2

Answer

base32 is super common in CTF's

 

RWFjaCBCYXNlNjQgZGlnaXQgcmVwcmVzZW50cyBleGFjdGx5IDYgYml0cyBvZiBkYXRhLg==

Similar to the previous one, the == is a sign of Base64 encoding.

Let's decode it using the base64 command.

$ echo "RWFjaCBCYXNlNjQgZGlnaXQgcmVwcmVzZW50cyBleGFjdGx5IDYgYml0cyBvZiBkYXRhLg==" | base64 -d
Each Base64 digit represents exactly 6 bits of data.

Answer

Each Base64 digit represents exactly 6 bits of data.

 

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

This one is in hexadecimal format.

3

Answer

hexadecimal or base16?

 

Ebgngr zr 13 cynprf!

Looks like Caesar cipher.

4

Answer

Rotate me 13 places!

 

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

Because all the characters are capitalized, we can tell that this is Rot47 encoding.

5

Answer

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

 

- . .-.. . -.-. --- -- -- ..- -. .. -.-. .- - .. --- -.

- . -. -.-. --- -.. .. -. --.

This one is Morse code.

6

Answer

TELECOMMUNICATION  ENCODING

 

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

Because this one does not have any characters, we can safely say that it is not Hexadecimal.

Therefore it has to be Decimal.

7

Answer

Unpack this BCD

 

LS0t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LS0gLi0tLS0gLi0tLS0gLS0tLS0gLS0tLS0gLS0tLS0gLi0tLS0gLi0tLS0KLS0tLS0gLi0tLS0gLi0tLS0gLS0tLS0gLS0tLS0gLi0tLS0gLS0tLS0gLi0tLS0KLS0tLS0gLS0tLS0gLi0tLS0gLS0tLS0gLS0tLS0gLS0tLS0gLS0tLS0gLS0tLS0KLS0tLS0gLi0tLS0gLi0tLS0gLS0tLS0gLS0tLS0gLS0tLS0gLi0tLS0gLi0tLS0KLS0tLS0gLi0tLS0gLi0tLS0gLS0tLS0gLS0tLS0gLi0tLS0gLS0tLS0gLi0tLS0=

This one is encoded multiple times.

In CyberChef, we can pipe our recipes such that the first one's output is the next one's input.

The exact sequence is as follows:

From Base64 > From Morse Code > From Binary > RPT47 > From Decimal

8

Answer

Let's make this a bit trickier...

 

Task 2: Spectrograms

Download the file

For this one we have to use a Spectrum analyzer tool Audacity, etc.

Answer

Super Secret Message

 

Task 3: Steganography

Decode the image to reveal the answer.

Steganography is the method of hiding data or even other files in an image files.

There are other types of steganography as well such as video steganography, sudio steganography, etc.

We can extract the hidden file using steghide.

$ steghide extract -sf stegosteg.jpg  
Enter passphrase:
wrote extracted data to "steganopayload2248.txt".

Let's read the flag.

$ cat steganopayload2248.txt 
SpaghettiSteg

Answer

SpaghettiSteg

 

Task 4: Task 4 Security through obscurity

Download and get 'inside' the file. What is the first filename & extension?

We can extract the files inside the image using binwalk.

$ binwalk -e meme.jpg 

DECIMAL HEXADECIMAL DESCRIPTION
--------------------------------------------------------------------------------
0 0x0 JPEG image data, JFIF standard 1.01
30 0x1E TIFF image data, big-endian, offset of first image directory: 8
74407 0x122A7 RAR archive data, version 5.x
74478 0x122EE PNG image, 147 x 37, 8-bit/color RGBA, non-interlaced
74629 0x12385 Zlib compressed data, default compression
  • Let's list the contents of the _meme.jpg.extracted directory that was created.
$ ls _meme.jpg.extracted 
122A7.rar 12385 12385.zlib hackerchat.png

Answer

hackerchat.png

Get inside the archive and inspect the file carefully. Find the hidden text.

If we just run strings on the hackerchat.png file, we will see the flag at the very bottom.

$ strings hackerchat

"AHH_YOU_FOUND_ME!"

Answer

AHH_YOU_FOUND_ME!