Published November 24, 2026 | Version 1.0.0

CRISOL-MBA-x64: Certified Neuro-Symbolic Deobfuscation of x86-64 Machine-Code Slices via Hybrid CEGIS and Lean 4 bv_decide

  • 1. Independent Researcher — Computer Engineer (FIUBA, University of Buenos Aires)

Description

Mixed Boolean-Arithmetic (MBA) obfuscation remains a primary barrier in binary reverse engineering, malware analysis, and security auditing. Algebraic simplifiers such as SiMBA, GAMBA, ProMBA, and RUMBA achieve high speed on pure expression trees, yet fail when obfuscation is compiled into real x86-64 machine code entangled with carry-flag propagation (ADC/SBB), 32-to-64-bit zero-extension, arithmetic shifts (SAR), and bit rotations (ROL/ROR). Conversely, neural approaches such as LLM4Decompile and gMBA operate on string expressions or evaluate only finite test-case re-executability without universal formal guarantees, exposing analysts to silent edge-case hallucinations.

We present CRISOL-MBA-x64, a certified neuro-symbolic deobfuscation framework that pairs LLM candidate synthesis with a zero-LLM-trust verification pipeline that is sound relative to the declared Trusted Computing Base (TCB): a minimalist x86-64 lifter empirically cross-checked on 1,024 concrete vectors per test (0 discrepancies across 82,944 three-way checks: 31,744 direct CPU-vs.-Unicorn-vs.-lifter instruction checks plus 51,200 CPU-vs.-Unicorn-vs.-reference-expression slice checks across 28 sanity and 22 V_real slices), a vectorized concrete pre-filter, dual QF_BV SMT solvers (Bitwuzla + Z3), and independently checked LRAT SAT proof certificates (CaDiCaL + lrat-check) as well as Lean 4 bv_decide proof certificates that verify bit-blasting inside Lean.

Following our study protocol with disjoint identity templates (disclosing freeze- and baseline-scope deviations in Section 4), we evaluate CRISOL-MBA-x64 across three frozen benchmarks:

  1. Benchmark 1 (V_test, N=160 straight-line x86-64 slices across 8 algebraic templates x 20 immediate-constant variants, 60s budget): under a strict <= 60.0s wall-clock cutoff (and in-flight completion in parentheses), the best non-LLM baseline (SiMBA + cost-bounded enumerator + Xyntia/STOKE-style MCMC-CEGIS, A union C) certifies 24.38%: 39/160 (in-flight: 26.25%, 42/160), while official Denuvo GAMBA emits simplified output (unverified for LRAT/cost; 120 slices filtered out prior to invocation by our single-AST adapter) on 40/40 (100%) of the two pure-algebraic 64-bit families (40/160 = 25.00% overall). CEGIS configuration D reaches 90.62%: 145/160 (in-flight: 91.25%, 146/160; +66.25 pp strict vs. A union C, instance-level exact McNemar p = 2.47e-32; family-level sign test: 7 wins, 1 tie, 0 losses, two-sided p = 0.0156; and 121/129 vs. 32/129, +68.99 pp on the <= 10s post-prefilter freeze subset), whereas pre-registered H_2 (D > B) is not confirmed (B reaches 96.25%: 154/160). Exploratory (post-hoc) Hybrid H (K=6 -> CEGIS fallback) achieves 99.38%: 159/160 under strict <= 60.0s (95% Clopper-Pearson CI [96.6%, 100%]; +75.00 pp vs. A union C, p = 1.50e-36) and 100.0%: 160/160 in-flight (one slice at 74.29s) with gemini-4-hydrogen (Medium) — and 119/120 (99.17%) strict vs. 19/120 (15.83%) excluding both nand_nor_add_64 and sar_neg_32 — plus 100.0%: 40/40 (max 38.71s) with gpt-6.2-sol.
  2. Benchmark 2 (V_hard, N=40 IMUL ground-truth equivalence proofs, equalized 30.0s solver caps): under a strict <= 30.0s recorded solver/certifier cutoff, uncertified Bitwuzla closes 40/40, Z3 QF_BV closes 0/40 (0.0%), and raw Z3 bit-blasting + CaDiCaL LRAT closes 2/40 (5.0%) (3/40 = 7.5% in-flight at 33.29s); Lean 4 bv_decide raises certified proofs to 87.5% (35/40, all <= 30.0s): 20/20 (100%) on 32-bit IMUL (5.41s mean) and 15/20 (75%) on 64-bit IMUL (10.57s 64-bit mean; 7.99s overall mean across all 40 slices).
  3. Benchmark 3 (V_real, N=22 -O2 -fno-inline binaries across 4 C templates: 10 affine_mul_64, 10 hash_mix_64, 1 4var_token_64, 1 signed_shift_32): non-LLM baselines A and C solve 0/22 (0.0%), whereas Hybrid H + Lean 4 bv_decide certifies 22/22 (100.0%; max 31.64s; 95% CI [84.6%, 100%]; p = 4.77e-7) in 23.44s mean time (H-sol: 6/22 = 27.27%, p = 0.031, not significant at alpha = 0.01).

Mutation testing and pre-filter-evading negatives yielded 0 false positives, and all 362 Phase 1 PASS entries record verified lrat_sha256 digests.

Code, datasets, proof logs, and offline replay artifact (tag v1.0.0):
https://github.com/larancibia/crisol-mba-x64/tree/v1.0.0

Files

paper-en.pdf

Files (715.9 kB)

Name Size
md5:b7607f92703b82a5fea1c8fb05dca2b3
51.2 kB Download
md5:3d61d5448c59159f7ad5a6c8a63a648d
664.8 kB Preview Download

Additional details

Related works

Software

Repository URL
https://github.com/larancibia/crisol-mba-x64
Programming language
Python , Lean
Development Status
Active