EMNLP Findings2020
NeuReduce: Reducing Mixed Boolean-Arithmetic Expressions by Recurrent Neural Network
Weijie Feng, Binbin Liu, Dongpeng Xu, Qilong Zheng, Yun Xu
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. After training on the dataset, NeuReduce can reduce complex MBA expressions to mathematically equivalent but concise forms. By comparing with three state-of-the-art MBA reduction methods, our evaluation result shows that NeuReduce outperforms all other tools in terms of accuracy, solving time, and performance overhead.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
4 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Simplifying Mixed Boolean-Arithmetic Obfuscation by Program Synthesis and Term Rewriting cites Syntia: Synthesizing the Semantics of Obfuscated Code
- Simplifying Mixed Boolean-Arithmetic Obfuscation by Program Synthesis and Term Rewriting cites Loki: Hardening Code Obfuscation Against Automated Attacks
- Loki: Hardening Code Obfuscation Against Automated Attacks cites Syntia: Synthesizing the Semantics of Obfuscated Code
- Loki: Hardening Code Obfuscation Against Automated Attacks cites Backward-Bounded DSE: Targeting Infeasibility Questions on Obfuscated Codes
- Synthesizing MILP Constraints for Efficient and Robust Optimization cites Syntia: Synthesizing the Semantics of Obfuscated Code
Cited by top-tier papers4
- Simplifying Mixed Boolean-Arithmetic Obfuscation by Program Synthesis and Term RewritingJaehyung Lee, Woosuk LeeCCS 2023 · 8 citations
- Synthesizing MILP Constraints for Efficient and Robust OptimizationJingbo Wang, Aarti Gupta, Chao WangPLDI 2023 · 4 citations
- GraphMR: Graph Neural Network for Mathematical ReasoningWeijie Feng, Binbin Liu, Dongpeng Xu, Qilong Zheng et al.EMNLP 2021 · 2 citations
- Loki: Hardening Code Obfuscation Against Automated AttacksMoritz Schloegel, Tim Blazytko, Moritz Contag, Cornelius Aschermann et al.USENIX Security 2022
Builds on2
Related papers
- MBA-Blast: Unveiling and Simplifying Mixed Boolean-Arithmetic ObfuscationBinbin Liu, Junfu Shen, Jiang Ming, Qilong Zheng et al.USENIX Security 2021 · 37 citations
- gMBA: Expression Semantic Guided Mixed Boolean-Arithmetic Deobfuscation Using Transformer ArchitecturesYoujeong Noh, Joon-Young Paik, Jingun Kwon, Eun-Sun ChoACL Findings 2025 · 1 citation
- Boosting SMT solver performance on mixed-bitwise-arithmetic expressionsDongpeng Xu, Binbin Liu, Weijie Feng, Jiang Ming et al.PLDI 2021 · 23 citations
- Optimizing Neural Network Representations of Boolean NetworksJoshua Russell, Ignacio Gavier, Devdhar Patel, Edward A. Rietman et al.ICLR 2025
- Large Language Models for Opaque Predicate Resolution: A Universal Control Flow Deobfuscation FrameworkXiao Chen, Qiuyun Wang, Shuwei Wang, Weize Zhang et al.FSE 2026
