Litcius/Paper detail

NeuReduce: Reducing Mixed Boolean-Arithmetic Expressions by Recurrent Neural Network

Weijie Feng, Binbin Liu, Dongpeng Xu, Qilong Zheng, Yun Xu

202012 citationsDOIOpen Access PDF

Abstract

Mixed Boolean-Arithmetic (MBA) expressions involve both arithmetic calculation (e.g., plus, minus, multiply) and bitwise computation (e.g., and, or, negate, xor). MBA expressions have been widely applied in software obfuscation, transforming programs from a simple form to a complex form. MBA expressions are challenging to be simplified, because the interleaving bitwise and arithmetic operations causing mathematical reduction laws to be ineffective. Our goal is to recover the original, simple form from an obfuscated MBA expression. In this paper, we first propose NeuReduce, a string to string method based on neural networks to automatically learn and reduce complex MBA expressions. We develop a comprehensive MBA dataset, including one million diversified MBA expression samples and corresponding simplified forms.

Topics & Concepts

Bitwise operationInterleavingComputer scienceString (physics)Artificial neural networkArithmeticSimple (philosophy)Overhead (engineering)Regular expressionReduction (mathematics)Arbitrary-precision arithmeticBoolean expressionExpression (computer science)Theoretical computer scienceAlgorithmBoolean functionArtificial intelligenceMathematicsProgramming languageGeometryMathematical physicsOperating systemEpistemologyPhilosophyAdvanced Malware Detection TechniquesSoftware Testing and Debugging TechniquesSoftware Engineering Research