Skip to content

Files for building the CSGames IoT challenge 2024

Notifications You must be signed in to change notification settings

niftic/meta-csgames-2024

Repository files navigation

meta-csgames-2024

This repository contains all the necessary files to build the firmware images for the IoT competition of the 2024 CSGames.

There are 2 images:

  • The image for the players contains only one flag, which they get for successfully extracting the filesystem. This is the one that the players reverse engineer.
  • The image with all the flags which has to be put on a real device. This is the one that get exploited with the knowledge aquired.

The images are built for the Raspberry Pi 3.

How to build

This repository uses kas to manage the layers. You can run it however you want, including by using the provided Dockerfile.

docker build -t kas .
./run_docker.sh

Then, you can build either one of the images with its corresponding kas file.

kas build kas_csgames_iot_with_flags.yml
# or
kas build kas_csgames_iot_for_players.yml

The resulting .rpi-sdimg images will be located in build/tmp/deploy/images/raspberrypi3.

Troubleshooting

Depending on your internet speed, you might get a fetch error for the Raspberry Pi Linux kernel repository.

Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://github.com/raspberrypi/linux.git;name=machine;branch=rpi-5.15.y;protocol=https')

This is just a timeout caused by the considerable size of the repository. You can simply restart the build a few times until the download succeeds.

About

Files for building the CSGames IoT challenge 2024

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published