Efficient Deobfuscation of Linear Mixed Boolean-Arithmetic Expressions

09/13/2022
by   Benjamin Reichenwallner, et al.
0

Mixed Boolean-Arithmetic (MBA) expressions are frequently used for obfuscation. As they combine arithmetic as well as Boolean operations, neither arithmetic laws nor transformation rules for logical formulas can be applied to suitably complex expressions, making MBAs hard to simplify and solve. In 2019, Liu et al. demystified linear MBAs, leveraging a transformation between the set B={0,1} of bit values and the set B^n of words of length n∈ℕ for linear MBAs, originally introduced by Zhou et al. in 2007. With their MBA-Blast and MBA-Solver algorithms, they outperform existing tools noticably in terms of performance as well as ability to simplify of such MBAs. We propose a surprisingly simple algorithm called SiMBA that improves upon MBA-Blast and MBA-Solver in that it can deobfuscate all linear MBAs, does not miss particularly simple solutions and takes only a fraction of their runtime.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/11/2023

Simplification of General Mixed Boolean-Arithmetic Expressions: GAMBA

Malware code often resorts to various self-protection techniques to comp...
research
03/13/2020

Experimental Evaluation of a Method to Simplify Expressions

We present a method to simplify expressions in the context of an equatio...
research
08/11/2022

SSLEM: A Simplifier for MBA Expressions based on Semi-linear MBA Expressions and Program Synthesis

MBA (mixed boolean and arithmetic) expressions are hard to simplify, so ...
research
03/15/2018

Forbidden arithmetic progressions in permutations of subsets of the integers

Permutations of the positive integers avoiding arithmetic progressions o...
research
10/05/2017

Model-Theoretic Characterizations of Boolean and Arithmetic Circuit Classes of Small Depth

In this paper we give a characterization of both Boolean and arithmetic ...
research
11/30/2022

Arithmetic autocorrelation distribution of binary m-sequences

Binary m-sequences are ones with the largest period n=2^m-1 among the bi...
research
09/06/2018

Efficient Loop Detection in Forwarding Networks and Representing Atoms in a Field of Sets

The problem of detecting loops in a forwarding network is known to be NP...

Please sign up or login with your details

Forgot password? Click here to reset