Thryve CTF 2026Reverse Engineering
Double Virtual Machine
Title unconfirmednested custom VM / encrypted opcodes / ptrace handling
- Competition
Thryve CTF 2026
- Category
- Reverse EngineeringHard · estimated
- Analysis status
- Reported solved · platform unverified
- Document
- Original PDF
01Challenge analysis
The problem
This reverse-engineering challenge nested its validation logic in two virtual-machine layers. Anti-debugging changed the execution environment and complicated attempts to inspect instructions.
02Exploit or recovery path
How I solved it
- 01
I identified that ordinary static strings were insufficient because core instructions were encrypted.
- 02
I separated the two VM layers and traced the effect of the opcode translation steps.
- 03
I accounted for the ptrace anti-debugging behavior so the validation state matched expected execution.
- 04
I reversed the inner and outer transformations in the correct order to recover the CTF flag.
Result
RECOVERED FLAG
Thryve{d0ubl3_VM_1n_4_m1rr0r_0pc0d35_n3v3r_5t4y}
Reported solved · platform unverified
- Local Verification
- Flag and high-level VM approach are preserved in the earlier conversation.
- Evidence Limitation
- Instruction bytes and an executable validation trace are not retained; no fake opcodes or algorithms are added.