DawgCTF 2025 - Space Game

Published: April 22, 2025 | CTF: DawgCTF 2025
CTF Web Space Game

Space Game 1 (WEB)

Category FWN (Forensics, Web, Network)
Points 250
Difficulty Medium

This challenge was in the FWN category (forensics, web, network) and involved building a game client to access and play the game hosted on the server by the competition. They provided some documentation that gives a breakdown of the structure of the game and some message types that need to be used.

Space Game Challenge Description
Challenge Description: The challenge provided documentation about game requirements and communication protocols needed to interact with the server.
Space Game Protocol Documentation Space Game Server Documentation

The documentation included message types that needed to be used to properly communicate with the server and allow the game to properly run. This challenge was a bit difficult because my actual client I created with a UI kept having issues connecting to the server, so I had to make a simpler version that had no interaction but did let me collect log information on players and positions which ended up being all that was needed for the first challenge.

Because my client didn't have a UI, I was unable to do part 2 as I had to move my player to a different sector to find another player, but my movement was not working properly. I tried to implement a teleport function to simply move my player to the sector and collect the data on players but this didn't end up working either so I had to call it at that point and move on. I think I missed a hint either on the challenge itself or in the documentation that stated player values were in the wrong endian format in the documentation.

Space Game Client Output with Flag

After connecting the client to the server, the logs start dumping and we can see a flag. This is the name of the other player that is in the starting quadrant and gives us the value of the flag for Space Game 1. This was a bit of luck because previous times when I connected, the entire flag value was not visible, possibly due to server issues. The server was having some trouble staying up, so connectivity was inconsistent.

Since this looks like a complete flag, I took that value and submitted it.

Space Game Flag Submission
FLAG: DawgCTF{FL4GS_1N_SP4444C3!!!!}