Posts KKS CTF Open 2020
Post
Cancel

KKS CTF Open 2020

KKSCTF was a 24 hour CTF challenge that was held from Sat, 12 Dec. 2020, 14:30 IST — Sun, 13 Dec. 2020, 14:30 IST

This is one of the very interesting and annoying tasks. 😂

motor_sounds

This was tagged as a miscellaneous task.

Description

Жжжжжжжжжж, виииив, виииив, жжжжжжжж…

Zhzhzhzhzhzhzhzhzhzh, viiiiv, viiiiv, zzhzhzhzhzhzhzh …

Resources

This was the file that was provided

Solution

We first looked into the file type and it returned that it is an ASCII text file

And on opening the file we saw that it had around 30,4543 lines of code. And that was definitely not gonna help.

But I noticed that every line starts with G0, G1 or something similar.

After a proper Google search, I figured that this is G-Code, which is a language used for CNC printer machines. And we found a website which helps us visualise the G-Code.

Gcode Viewer

We changed the file to a gcode file and uploaded it to the website. There we were able to view the 2D and 3D models.

On inspecting and playing around with model, we found that the 3D model had 3 layers. The first layer said “KKS 2020” and the last layer said “happy new year!”

And the middle layer started with “kks{“. If you move the model around a lot you can figure out the entire text, thus giving you the flag.

Flag

kks{W3_c@N_1n_3D!}

This post is licensed under CC BY 4.0 by the author.
Recent Update
Trending Tags
Contents

Trending Tags