14 April 2020
2048Challenge Source: VirSecCon2020
Challenge Category: Scripting
There were a couple of hints upfront to get you started:
2048 is a puzzle game where you keep combining pairs of tiles.
The challenge text was a b64 encoded message that decoded to something to the effect of “plzhelpme”.
Since the attached file was a large encoded message, with the hints given it was safe to assume that the flag was b64 encoded over and over again.
A Python3 script can be written to solve this:
Alternatively, CyberChef is a great resource for problems like this.
Using a loop in CyberChef and loading the file as an input:
As a side note, there’s a function called “Magic” in CyberChef that works really well if you don’t know the encoding, or different types were utilized. It didn’t work for this problem, however, probably because of the depth.Tags: VirSecCon, ctf, scripting