DownUnderCTF: recovering flag-checking equations
Target: DownUnderCTF 2023 masked squares flag checker, stripped Linux ELF
Author / attribution: REA showcase team; original project authors credited in sources
Source review date:
Review status: Sources reviewed; author tests not independently rerun.
The question
How can input validation be recovered without symbols or source code?
What REA did
REA finds prompt strings and cross-references, analyzes the checker and reads masks and target tables. Z3 solves 26 constraints; process capture checks the original challenge binary.
Author-reported results
The official record shows Correct! / exit 0 for the correct candidate and Incorrect! / exit 255 for an incorrect candidate. The solution is then checked against the organizers’ source and metadata.
Limitations and unverified claims
The solver assumes a common flag format and character set. A second-model search timed out, so uniqueness was not proved.
What to learn
After static reasoning produces a candidate, run both correct and incorrect inputs through the original program.
REA usage evidence in the source
Fresh inspection and process captures on 8 October 2026, using the published REA 4.1.0 packageExcerpt formatting is simplified. Read the original source for full context.
Original sources
Independent editorial summary. Credit belongs to the original authors. Target software, installers and complete decompiler output are not redistributed here.