Tags: hackthebox cyberapocalypse2021 ctf base64 nintendobase64 

Rating:

# CTF HackTheBox 2021 Cyber Apocalypse 2021 - Nintendo Base64

Category: Crypto, Points: 300

![https://github.com/evyatar9/Writeups/raw/master/CTFs/2021-CTF_HackTheBox/Cyber_Apocalypse_2021/Crypto-Nintendo_Base64/images/info.JPG](https://github.com/evyatar9/Writeups/raw/master/CTFs/2021-CTF_HackTheBox/Cyber_Apocalypse_2021/Crypto-Nintendo_Base64/images/info.JPG)

And attached file [https://raw.githubusercontent.com/evyatar9/Writeups/master/CTFs/2021-CTF_HackTheBox/Cyber_Apocalypse_2021/Crypto-Nintendo_Base64/output.txt](https://raw.githubusercontent.com/evyatar9/Writeups/master/CTFs/2021-CTF_HackTheBox/Cyber_Apocalypse_2021/Crypto-Nintendo_Base64/output.txt)

# Nintendo Base64 Solution

It is very simpe challenge.

Let's look at attached output.txt:

![https://github.com/evyatar9/Writeups/raw/master/CTFs/2021-CTF_HackTheBox/Cyber_Apocalypse_2021/Crypto-Nintendo_Base64/images/b648.JPG](https://github.com/evyatar9/Writeups/raw/master/CTFs/2021-CTF_HackTheBox/Cyber_Apocalypse_2021/Crypto-Nintendo_Base64/images/b648.JPG)

So we can see the text nintendo64x8

Let's take the b64 characters to [CyberChef](https://gchq.github.io/CyberChef/#recipe=From_Base64('A-Za-z0-9%2B/%3D',true)From_Base64('A-Za-z0-9%2B/%3D',true)From_Base64('A-Za-z0-9%2B/%3D',true)From_Base64('A-Za-z0-9%2B/%3D',true)From_Base64('A-Za-z0-9%2B/%3D',true)From_Base64('A-Za-z0-9%2B/%3D',true)From_Base64('A-Za-z0-9%2B/%3D',true)From_Base64('A-Za-z0-9%2B/%3D',true)&input=ICAgICAgICAgICAgVm0gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAwdyAgICAgICAgICAgICAgIGVFNUdiRmRXVyAgICAgICAgIEdoVCAgICAgICAgICAgIFYwZDRWVll3WgogICAgICAgICAgICBHOSAgICAgICAgICAgICAgWFYgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIG14ICAgICAgICAgICAgICB5V2sgICAgWk9WICAgICAgIDFKdGVEICAgICAgICAgICBCYVYgICAgIFdSSAogICAgICAgICAgICAgICAgICAgICAgICAgICAgWVcgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHhhICAgICAgICAgICAgIGMxICAgICAgICAgICAgICBOc1dsIGRTICAgTTEgICBKUSBXViAgICAgICBkNApTMlJIVmtsalJtICBScCBVakpvTWxaclpIIHBsUm1SSFYgbTVXYVZKdFVsIGhVVkVaTFpWWmsgICBWMVZyWkZwV01VICBwSFZERmFWMVogIHRTa2RYYXpsWFlXICAgdHdkbCAgIFl4ICAgIFdtIEZqICBiSEJGVld4V1RsWgpYZHogICAgIEJXYSAyTSB4VlQgICAgIEZTYyAgMWQgICB1VGwgICAgIGhpIFIyaCAgICAgWFdXIHRhUyAgICAgMWRHIFZYaCAgICAgWGJVIFpUVCAgICAgVmRTIGVsWXkgICAgIGN6ICAgICBGV00gICAga1kyVm10d1YyCkpVICAgICAgIFJYIGRaIGFrICAgICAgIFpyICBVMCAgIFpPYzJKR1dtbFMgYTMgICAgICAgQlkgVjEgICAgICAgZDAgWVYgICAgICAgbFYgTUggICAgICAgaGogUlZwWVlsVmFWRlJXVyAgbUYgbFYgIG10ICAgICAgIDNWCmxSICAgICAgIEdWIDAxIEVSICAgICAgIGtoICBaYWsgIDVyVmogICBKRmUgVlIgICAgICAgWWEgRmRoYSAgIDNCSVYgbXBHVSAgIDJOdFIga2RYICAgICBiV3ggICAgICAgICAgb1QgICBUQiAgIEtXIFZZeFcgICBsTlNNCld4ICAgICAgIFhXIGtWIGtWICAgICAgIG1KICBHV2xSWiBiWE14WTJ4V2MgMVYgICAgICAgc1ogIEZSaVIxSjVWakogIDBhMVl5U2tkaiAgIFJWcFdWbXhLViAgICAgICAgICAgMVYgICAgICAgICAgICBHUlRsUVVUMDkK) by the following link.

We need to make Base64 8 times to get the decrypted flag: ```CHTB{3nc0d1ng_n0t_3qu4l_t0_3ncrypt10n}```.

Original writeup (https://github.com/evyatar9/Writeups/tree/master/CTFs/2021-CTF_HackTheBox/Cyber_Apocalypse_2021/Crypto-Nintendo_Base64).