hiCTF 2026Reverse Engineering
Cold Circuit
Linux checker / anti-debug / reversible transforms
- Competition
hiCTF 2026
- Category
- Reverse EngineeringMedium · estimated
- Analysis status
- Locally verified
- Document
- Original PDF
01Challenge analysis
The problem
A standalone checker in cold-circuit.zip protected its input check with transformation rounds and a ptrace-dependent anti-debug path. The anti-debug condition could change the verification key and invalidate a correct mathematical candidate.
02Exploit or recovery path
How I solved it
- 01
I analyzed the check program to find its input-validation path and the transformation rounds applied to the supplied candidate.
- 02
I reversed those rounds to obtain the candidate flag instead of attempting exhaustive guessing.
- 03
A local test initially disagreed because the ptrace anti-debug check selected a different key in the analysis environment.
- 04
I isolated that environment-dependent branch and retested the recovered candidate under the intended validation state.
- 05
The original checker returned Access granted., confirming the locally recovered flag.
Result
RECOVERED FLAG
hiCTF{6e305f6a7461675f6e65656465642121}
Locally verified
- Local Verification
- Local checker returned Access granted. No platform-submission receipt was retained.
- Evidence Limitation
- The original per-round transform constants are unavailable in the retained notes; no fabricated pseudo-code is supplied.