This page looks best with JavaScript enabled

WpiCTF Writeup

 ·  ☕ 2 min read

block gate

This is a writeup for the ‘block gate’ challenge from WPICTF 2020.

2020-04-21_19-00

This is a forensics challenge, and we are given a minecraft world.

As soon as we enter the world, we see a column of water falling–wrecking redstone circuits doubtlessly important to the whole affair.

2020-04-21_18-06_1

So, after reloading the world, we can use gnembon’s carpet mod to stop the flow of water using the /tick freeze command. This is how it looks after that:

2020-04-21_18-04

Now, we can take our time in clearing out the water by filling that region with air using the /fillcommand:

2020-04-21_18-09

To see the effects, we need to un-freeze the game using /tick freeze and boom, the water disappears:

2020-04-21_18-09_12020-04-21_18-51

Now, we can start looking at the redstone circuit. A closer look shows us that two of the connections might be missing:2020-04-21_18-10

And we have 2 vacant inputs for the output panel as well: 2020-04-21_18-09_2

We can try connecting them so the circuit is complete:2020-04-21_18-20

(The repeaters are for extending the signal)

Finally, we can look at the output. It looks like they are 7 segment displays, and a quick google search gives us the corresponding symbols:

2020-04-21_18-23

We can see the 7 segment displays, and their corresponding symbols.

Now we have practically solved the challenge. All we need to do is read the displays as they light up and we can get our flag! However, since this is repeating in a cyclic pattern, we need to figure out the beginning of the sequence. We do know that the flag is supposed to start with WPI{, so we can use that to find the start of the sequence.

To make writing down the sequence easier, we can use /tick rate 10 to halve the speed of the sequence(or /tick rate 5 for quarter speed and so on). Now all we need to do is write down the flag as it appears and we get our flag!

Share on

Pranav Gade
WRITTEN BY
Pranav Gade
Software Hacker