CTFZone 2017 quals
CTFZone 2017 Qualifiers: Format, Tasks and Results
The CTFZone qualifier of July 2017 selected the teams for an attack-defense final in Moscow. This guide covers the organizer, the format, the task set, the published top of the board and what a new team can expect.
Organizer and purpose
CTFZone is a Russian capture-the-flag competition organized by BI.ZONE, a Moscow information security company, and the 2017 edition was played in two stages. The online qualifier ran on 15 and 16 July 2017 and is listed on CTFtime as event 476. The best teams of the qualifier advanced to a final in Moscow in the autumn, held in an attack-defense format at the ZeroNights conference. The qualifier therefore had a clear purpose beyond the ranking: it was the entry ticket to a different style of play.
CTFtime assigns the qualifier a weight of 23.92. That is a moderate figure, a little above the many mid-range events of 2017, and it reflects a field of 55 teams that included several of the strongest European and Asian teams of the year.
Format and categories
The qualifier is a jeopardy contest run over two days. CTFtime records five categories and 21 tasks. A board of that size leaves room for a team of four to five people to attempt nearly every task, but not to solve all of them, so the question of what to skip matters.
Typical categories of a contest like this are reverse engineering, pwn, web, crypto and a mixed or forensics group. Reverse engineering tasks hand over a binary with an anti-analysis trick, a custom virtual machine or an obfuscated check function. Pwn tasks mostly need a classic memory-corruption primitive turned into a code execution or arbitrary read. Web tasks in this series favor application logic bugs over scanner findings. Crypto tasks tend to be implementation weaknesses: a poor random number generator, a padding oracle or a mistake in a block cipher mode.
Two of the tasks are known by name on this site: Riches have wings and Decrypt the Undecryptable. The first is walked through on its own page, the second in a separate write-up. A third example from another event in the same season is in the guide to the Ekoparty 2017 task Silk Road.
The published top of the board
LC↯BC ranked first with 13,597 points, far ahead of the field. A runner-up finished on 7,807 points, nearly 5,800 behind. Third place went to p4 with 7,014, fourth to 0ops with 6,910 and fifth to TheBushwhackers with 6,223.
The shape of this table is unusual. Between the runner-up and fifth place lies a spread of about 1,600 points, while the winner stands almost double the score of the second. A margin of that size is typical when point values grow with the number of teams that have not solved a task, or when the most valuable items are solved by one team only. Whoever clears the high-value tasks that nobody else touches gets the lion’s share of the board.
Qualification for the final was not limited to the winner. The top group of the table, with the runner-up and teams such as p4 and Dragon Sector, took the places in the attack-defense stage, which means that the second half of the contest mattered as much as the first.
Why attack-defense changes preparation
The final stage differs from the qualifier in almost every way. In attack-defense every team receives an identical machine with vulnerable services. The team must find the flaws, patch its own copy and attack the services of the others to steal secrets from them, with rounds that repeat on a fixed schedule. Points come from three sources: keeping the services running, stealing flags and not losing them. The result depends on infrastructure as much as on exploit skill: traffic capture, automatic exploit launchers, patch tooling and monitoring are all part of the team’s kit.
A team that plays only jeopardy contests usually has none of that in place. Building a small framework that fires an exploit at every opponent each round, submits stolen flags and stores the captured traffic for replay is a project of several weeks. Qualifying therefore forced teams to commit to a second skill set.
What it is like for a new team
A newcomer to the qualifier would meet a smaller board than at an open contest with hundreds of teams, but a much steeper climb. With 55 teams and a field this strong, simple tasks are cleared in the first hours and the remaining ones require depth. The way to approach it is a clear split: one person scouts all 21 tasks for the first 45 minutes and sorts them by expected cost, while the others start on the cheapest ones. Keep a running list of flags submitted and time spent per task, because after the first night the team has to decide where its remaining hours go.
For file-heavy tasks, begin with the shape of the data. A trigram or digram view separates compressed streams from structured data, and the binary visualization overview shows how to read the patterns. More about how this kind of preparation is organized is on the team page, with further notes on the blog.
Where the series went later
CTFzone continued in the following years with an online qualifier and a final at the Moscow conference week. Each edition has its own CTFtime page with the task list and standings, and the organizer has used the contest to promote the attack-defense format in the Russian-speaking security community.
Questions readers ask
What was the purpose of the CTFZone qualifier?
It selected the finalists for the attack-defense stage of CTFZone, which was planned for the autumn at a security conference in Moscow. The qualifier itself was an online jeopardy with tasks in five categories, played on 15 and 16 July 2017 and organized by BI.ZONE.
Why did the winner finish so far ahead?
The first team scored 13,597 points against 7,807 for the runner-up. The board is not public in enough detail to say exactly why, but a gap of that size usually means the highest-value tasks were solved by one team only. It is unusual for a CTF.
Which tasks have write-ups on this site?
Two tasks from the qualifier are covered in separate pages: Riches have wings and Decrypt the Undecryptable. They show the reasoning on one reverse engineering task and one cryptography task, and they make a good entry point to the contest.
New to capture the flag? Formats, teams and a first-month plan in one place.
Read the CTF guide