truix Request resume

blog

Flare-On 13: All Nine Challenges in Under Three Hours

I worked through the whole Flare-On 13 reverse engineering contest with an AI agent doing the heavy lifting. Here is how it went, which challenges fought back, and where the full writeup lives.

4 minute read

Flare-On is the reverse engineering contest the FLARE team at Mandiant runs every year. Nine challenges, getting harder each time, one flag per challenge. The 13th edition closed tonight at 8 PM Eastern, and my full writeup is now public.

I held everything back until the contest ended. The repo sat private behind a scheduled workflow that refused to publish before the deadline, so nothing leaked while other people were still solving.

How I did it

I did this with an AI agent doing most of the reversing while I steered, checked its work and decided what to try next. It recovered all nine flags in 2 hours and 54 minutes of working time, start of the first download to the last accepted answer. Every timestamp comes from a log the tooling wrote as it went, so the timing table in the writeup is measured, not remembered.

The agent talked to the contest platform through a small client I wrote, which fetched each challenge, extracted it, and logged when a flag was found and when it was accepted. That log is where the numbers come from.

What stood out

FLAreCAPTCHA fell in half a minute, but only because the flag depends on how the browser measures a function's own source text. Line endings change the answer.

FlareOn13.doc was my favorite. One file is a DOS program, a PDF, a CD image, a ZIP and a disk image at the same time, and it hides six pieces of a key in six different formats. You have to find all of them before the checker will give up the flag.

ToxicMiner was a backdoored crypto miner whose key comes from the volume serial number of the author's own drive. That is a 32 bit search, so the plan was to sweep all four billion values and trust that a filter on printable text would leave exactly one survivor. It did.

FlareCalc took the longest at 50 minutes. The payload hides in the executable's own signature certificate, and a divide by zero with the right history on the calculator wakes it up.

crux wants the input to be a primality certificate, a proof that a giant number is prime, wrapped in encryption. Reading the target number the wrong way round gives a composite, which is the trap.

NeonOutRun has a decoy. The victory screen prints something that looks exactly like a flag, with a digit swapped into the domain. I submitted it twice before finding the real gate, which is a float identity buried four layers deep. The writeup documents both the decoy and the real path.

Where it is honest about gaps

Challenge 5 stops short. I verified the transport and where the flag lives, but the inner encryption of the stolen files was not fully recovered, and the writeup says so rather than guessing. Four of the earlier challenges were reconstructed afterward from saved analysis, with each key step re-run to confirm it.

Every section ends with a command that was actually executed before it shipped. The challenge files themselves are not in the repo, since the FLARE team publishes those. The writeup text is CC BY 4.0 and the scripts are MIT.

If you reverse for fun or for work and you are curious about any of the nine, start with the writeup site. It has a glossary of the techniques that come up, so the later challenges read cleanly even if you skipped the earlier ones.

Nit's take

My friend Nit (Justin Mazzola, @justmazz) is the one who called me up and got me to give this a shot. He worked the same nine challenges with the same harness and tools, and the only real difference was the model behind them. He put my numbers next to his own in his posts, which he did not have to do, so thanks, Nit.

His side of it:

  • His comparison post has both runs side by side, challenge by challenge, with time, cost and how often each of us had to step in. His run was a single prompt, and he stepped in 17 times. His point is that if you defend software, you should assume whoever is looking at it can get through it in hours.
  • His writeups walk all nine challenges start to finish from his run, with the disassembly, the exact commands and the dead ends. The flags are blurred until you click, so you can try each one first.
  • A third run, where he pointed another model at the same nine on a $50 a month plan. It solved all nine, with two hints on challenge 6 that he got by asking my old session. Then it wrote its own post about the run, which he published unedited.