- Website: https://2024.crewc.tf/
- CTFtime: https://ctftime.org/event/2223/
- Writeups: https://github.com/Thehackerscrew/CrewCTF-2024-Public
Table of Contents
Team
Our team Hague Hackers placed #53 with 523 points.
Early on we almost got into the top 10, but oh well π
Sniff one
- category: hardware
- README.pdf
- The flag is in
flag{}
format
The complete setup with Saleae Logic 8 sniffer.
We can open the capture.sal file with Salea Logic 2.
The CardKB Mini Keyboard communicates via I2C.
- SDA: channel 0
- SCL: channel 1
- I2C address:
0x5F
(datasheet)
So we need to look for reads to 0x5F
in the sniffed data and for βflagβ which would be 0x66, 0x6C, 0x61, 0x67
according to the data sheet.
Surely enough we (Ardemium actually) found 0x66 followed by 0x6C.
I wrote a simple script to parse the text and ignore 0x0 and 0x1 values.
Waiting For a Flag
- category: hardware
- author: Oshawk
I first tried to decompile the game with Godot RE Tools but the project was encrypted so it required a key. Later I saw other people reverse engineered the binary anyway with IDA.
Then I tried to do it the intended(?) way since it looked kinda fun.
As we learn in the tutorial levels, we need to turn on the LED with the button switches and the AND, OR, NAND, NOT
gates.
- All the button switches are on the top level: 126 on the left, 116 on the right, total 242.
- There are 71 layers to the level.
- You have to deduce what kind of logic gates there are and in which direction their output is. This makes it especially challenging to know whether a gate is an OR or a NAND gate.
I started tracing and marking the relevant switches, nodes and gates in order to keep track of them.
I did not finish the challenge in time since I made a huge mistake in trying to get to the bottom layer. I assumed the LED was all the way at the bottom layer at layer 71, but it was simply in the middle of the top layer, connected to something else at layer 62 π€¦
At least I activated the line on the lowest layer by enabling inputs 78 and 43, starting from the left. If you look really close you can notice that line is now red.
I still have no idea where it leads to further on π€·