DamCTF is a cybersecurity Capture the Flag competition, hosted by the OSU Security Club. This past weekend was our first public offering of the event, and I am very pleased with how it went. This blog post describes a sequence of challenges I built where the player takes the role of a malware researcher at a fictitious company called IcyRetina, analzying a new threat and working to compromise the actor’s systems. I will go over some of the factors that went into the design of the challenge, and my solutions to each phase.

Parts of this scenario are lightly based on some work I did at a past cybersecurity company on an intership, whose name bears no resemblance to this challenge

Scenario

The challenge had 5 phases, each building on the last and uncovering more information about the malware and it’s operators:

  1. Finding the malware sample in a PCAP file
  2. Extracting the malware’s config from a single sample
  3. Automating the config extraction process
  4. Compromising the Command & Control (C2) server
  5. Compromising the operator’s administrative web panel

Players found themselves working for a fictitious cybersecurity company called IcyRetina, and would receive new information from other analysts on their team as they worked through each of the challenges.

The source code for the entire challenge is available here.

I am publishing each phase’s writeup as it’s own post, as it was getting much too long for just one. Currently, phases one, two, and three are published, and I hope to get 4 and 5 done later today.