BINARY DEOBFUSCATION / TASK AUTHOR CALL

TwilightBench

Devirtualization. Deobfuscation.
Standalone executable recovery.

ORBITCURVE / BENCHMARKSTask author call · Pre-launch

DEVIRTUALIZATION TASK COMPETITION

Virtualized.
Obfuscated.

Submit realistic binaries with virtualized routines
and additional obfuscation.

How to submit

TASK AUTHOR CALL

Planned awards

US$500

gross per accepted task

up to10

tasks selected

US$5,000

planned author pool

Pre-launch

The submission window lasts 30 days from the announced launch. Funding and exact opening/closing times will be confirmed at launch. No entry fee.

01 / TARGET REQUIREMENTS

Code virtualization.
Additional obfuscation.

Both must affect the code to be recovered. Targets must implement realistic software functionality.

/01

Real software

An application, library or component with meaningful functionality, representative inputs and execution paths.

/02

Virtualization + obfuscation

Virtualized routines with additional obfuscation, such as instruction mutation, MBA or control-flow flattening. The transformed routines must execute on evaluated paths.

/03

Defined recovery task

Provide instruction.md: recovery scope, supplied files, I/O and ABI, output paths/formats, pass criteria and environment limits.

Out of scope: CTFs, crackmes, flag checks, toy programs, and packing-, stripping- or flattening-only targets.

02 / DELIVERABLE

What to send.

One private archive. Separate task inputs from source and reference recovery.

  1. The prompt

    instruction.md, exactly as the agent should see it: what to recover, what files to return, their paths and formats, the interface and pass conditions.

  2. The binary

    The virtualized, obfuscated binary and files needed to run and analyze it. Include the program name, application type, source language and OS/architecture.

  3. The program source

    Original source, build inputs, unobfuscated binary and build/obfuscation steps, with tool versions and configuration. We use these to reproduce the target and validate the recovery.

  4. The expected result

    Correct recovery artifacts and a short write-up of the obfuscation, recovery method and known shortcuts. Include private test inputs/outputs and any existing verifier.

  5. The tool set

    Required decompilers, debuggers, emulators and runtimes. Specify versions, licenses, dependencies, privileges and any Windows, kernel, firmware or hardware requirements.

We build the verifiers.

Provide the reference result and checking guidance. We implement reproducible grading and set up the required environments.

Browse the public example

Synthetic packaging example, with runtime and verifier files prepared by TwilightBench. Not scored; not a difficulty reference.

Download ZIP
Twilight ARX64 · Public example
instruction.md
# Devirtualize the Twilight ARX64 VM`/app/challenge/twilight_vm` is a stripped Linux x86-64 PIE. It accepts onehexadecimal byte string from 0 through 256 bytes and prints a 128-bit result as 32lowercase hexadecimal characters.The target transform is implemented by a custom eight-register VM. Recover thereachable VM instruction set and program, then implement the transform directly inC++.## Public files```text/app/challenge/twilight_vm/app/include/twilight_transform.h/app/samples.json/app/templates/```The templates show the required file formats. You may replace their contents, but thefinal filenames must not change.## Required outputCreate exactly these five regular files under `/app/submission/`:```textdiscovery.jsonisa.csvprogram.tvasmcfg.csvrecovered.cpp```Do not create subdirectories, links, binaries, archives, object files, or additionalfiles in `/app/submission/`.### `discovery.json`Record the ELF RVAs for the VM entry, dispatcher, 256-entry handler table, and encodedbytecode. Also record the encoded bytecode size, virtual register count, entry block,and entry PC. Use the exact keys and formats shown in the template.An RVA is the hexadecimal virtual address shown in the PIE before its runtime loadbase is added. Hexadecimal RVAs use lowercase `0x` followed by 16 digits.### `isa.csv`Include one row for every selector used by reachable bytecode. Each row records theone-byte selector, native handler RVA, canonical mnemonic, operand form, and 16-byteinstruction size. Use the CSV header and spelling shown in the template. Rows may bein any order.The canonical mnemonics are:```textldi ldsz mov ld8 st64 add addi xor xori muli roli rori shri andicmpltu cmpeqi brz jmp halt```The allowed operand-form strings are `none`, `reg`, `reg,reg`, `reg,[reg]`,`[imm8],reg`, `reg,imm8`, `reg,imm64`, and `block`.### `program.tvasm`Write the decoded reachable bytecode in canonical Twilight VM assembly. Use block IDsas labels. Keep immediates unsigned and lowercase, with two hex digits for `imm8` and16 hex digits for `imm64`. Do not include unreachable handlers or invented blocks.Registers are written as `r0` through `r7`. Block labels use `block_` followed by fourlowercase hexadecimal digits. Put one instruction on each line, indent instructions bytwo spaces, and separate blocks with one blank line.Use these block labels in ascending bytecode-offset order: `block_1000`, `block_1100`,`block_1200`, `block_1250`, `block_1300`, `block_1400`, `block_1500`. They are outputlabels, not native addresses. Use the same labels in `discovery.json` and `cfg.csv`.### `cfg.csv`Record every reachable block edge as source block, target block, and edge kind. Theallowed edge kinds are `fallthrough`, `branch`, `jump`, and `loop`.### `recovered.cpp`Implement the C ABI declared in `/app/include/twilight_transform.h`:```cppextern "C" int twilight_transform(    const std::uint8_t* data,    std::size_t size,    std::uint8_t out[16]);```Return `0` for valid inputs. `size` is 0 through 256. `data` is read-only and may benull only when `size` is zero. Write exactly 16 output bytes. Arithmetic is unsignedmodulo 2^64.This file must be a direct native implementation of the recovered transform.It must not read files, run the challenge, start a process, load a library, use thenetwork, issue direct system calls, map executable memory, embed the ELF or encoded VMprogram, or implement an opcode-dispatch loop. Use structured `if`, `for` and `while`control flow. This example does not accept `switch`, `goto` or function-pointerdispatch in the native implementation. A retained interpreter does not satisfy therequested obfuscation removal, even if it returns the correct bytes.The checker accepts the public header and these standard headers in `recovered.cpp`:`<algorithm>`, `<array>`, `<bit>`, `<cstddef>`, `<cstdint>`, `<cstring>`, `<limits>`,and `<type_traits>`. Do not include other headers.`recovered.cpp` may be at most 128 KiB. Its compiled object may be at most64 KiB and must not contain the challenge ELF, encoded VM bytecode, computed branches,indirect dispatcher branches, or a reconstructed handler table.## GradingHarbor only collects the five files. It does not award devirtualization credit.TwilightBench compiles and runs `recovered.cpp` against private inputs in a separateAWS environment where the challenge binary and private answers are absent. The privatechecker also compares the discovery data, ISA, decoded program, and CFG with the finalreviewed build.The weighted objectives are ISA 20, decoded program 25, CFG 15, and nativeimplementation 40. Each objective must pass all its checks to receive those points.Partial behavior does not earn the 40 implementation points. T5 through T1 retaintheir benchmark meanings. A complete result for this task already includes theusable standalone C++ required for T1.
MARKDOWN / 127 linesComplete public file
TWILIGHTBENCH / RECOVERY CRITERIATwilightBench black wolf with a torn forest strip.

RECOVERY OUTPUT

Recover the code.

A devirtualized routine, buildable source or rebuilt binary that preserves the specified behavior. Include address maps, decoded data or analysis exports when the task requires them.

For T1, the result must build, load or run independently of the original obfuscated binary and the VM components specified for removal.

Output & grading requirements

03 / SUBMISSION & REVIEW

Submit your task.

Send the complete package during the 30-day submission window.

01

Package the files

Create one ZIP or tar.gz with instruction.md and separate challenge/ and private/ folders. Put source, reference recovery and checking material in private/.

What to send
02

Share a private link

Upload the archive to a private Drive, Dropbox or equivalent share. Grant download access to hussein@orbitcurve.com and keep it available through review.

Email instructions
03

Technical review

We reproduce the build, check the reference recovery and test the declared obfuscation. An independent reverse engineer completes the recovery; two reviewers approve acceptance.

Acceptance criteria

30 days to submit.

Exact opening and closing timestamps will be announced in UTC.

  1. Launch

    Submissions open

  2. 30 days

    Submission window

  3. After close

    Review & selection

Review follows the submission deadline. Any requested revisions receive a separate deadline.

TERMS

Before submitting.

Awards & payment

US$500 gross per accepted task, including teams. Submission and technical review do not guarantee selection. Payment is initiated within 14 calendar days after acceptance, signed agreement, invoice and valid payout details. Taxes, fees and eligibility conditions apply.

Rights & confidentiality

Review does not transfer ownership. Accepted author-owned material transfers after payment under the contributor agreement; rejected work remains yours. Declare third-party rights. Keep submitted material private during review. Ground truth stays outside the evaluated agent’s environment.

Platforms & handling

Declare OS/ISA, tools and licenses, privileges, anti-analysis behavior and hardware dependencies. Acceptance requires a tested environment. No live malware, private data or unlicensed material.