DVCTF 2025 - Davinciclick

Context
This is a PE (made for Windows OS) game binary that was created using Unity game engine, called Davinciclick1.exe
:
We have to click 10 million times to get the flag.
Of course, an autoclicker won’t make it at time…
Strategy
Without diving into the source code, we can assume that there is a function that compares the number of clicks with 10000000.
If we modify this value into the memory, we can reduce the number of clicks and get the flag !
Let’s use Cheat Engine tool.
Cheat Engine
Launch the binary and Cheat Engine, attach the process (should be called Davinciclick 1
) and set :
- Value : 10000000
- Scan type : Exact value
- Value type : All
Then click on First scan
: you should see few addresses. Select them all and put them in the address list (by clicking on the red arrow) :
Select all the adresses in the address list and right click to show the options. Then, click on Change record > Value
and put 5. You should see this :
Notes : If the binary crashes it is completely normal because we “bruteforce” all the addresses that points to value 10000000 and it can be things important to the process (like pointers).
If it happens, don’t panic and launch the binary again: don’t forget to attach the new process in Cheat Engine.
Now go back to the binary and click 6 times to retrieve the flag !