Reproduce “Efficient Deobfuscation of Linear Mixed Boolean-Arithmetic Expressions” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Benjamin Reichenwallner, Peter Meerwald-Stadler

SiMBA, an algorithm for deobfuscating linear Mixed Boolean-Arithmetic (MBA) expressions, processes obfuscated code segments faster and more effectively than prior state-of-the-art methods. It achieves up to a 55x speedup over MBA-Solver for 4-variable expressions and consistently yields maximally simplified forms without requiring strict input structures.

Key insights

  • Linear MBA equivalence can be established by comparing their direct evaluations over all possible n-bit input combinations (Theorem 2), bypassing transformation to the 1-bit logical space.
  • An efficient, custom-implemented method for solving linear systems based on a "signature vector" allows for direct determination of basis coefficients without relying on complex matrix inversions or general solvers, improving performance.
  • Integrating a generic linear combination derivation with specific heuristics and lookup tables for lower variable counts enables SiMBA to consistently find maximally simplified ("nicest") equivalent expressions.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.