Simplifying Mixed Boolean-Arithmetic Obfuscation by Program Synthesis and Term Rewriting
Jaehyung Lee, Woosuk Lee
Abstract
Mixed Boolean Arithmetic (MBA) obfuscation transforms a program expression into an equivalent but complex expression that is hard to understand. MBA obfuscation has been popular to protect programs from reverse engineering thanks to its simplicity and effectiveness. However, it is also used for evading malware detection, necessitating the development of effective MBA deobfuscation techniques. Existing deobfuscation methods suffer from either of the four limitations: (1) lack of general applicability, (2) lack of flexibility, (3) lack of scalability, and (4) lack of correctness. In this paper, we propose a versatile MBA deobfuscation method that synergistically combines program synthesis, term rewriting, and an algebraic simplification method. The key novelty of our approach is that we perform on-the-fly learning of transformation rules for deobfuscation, and apply them to rewrite the input MBA expression. We implement our method in a tool called ProMBA and evaluate it on over 4000 MBA expressions obfuscated by the state-of-the-art obfuscation tools. Experimental results show that our method outperforms the state-of-the-art MBA deobfuscation tool by a large margin, successfully simplifying a vast majority of the obfuscated expressions into their original forms.
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.
7 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
- Augmenting Search-based Program Synthesis with Local Inference Rules to Improve Black-box Deobfuscation cites Just-in-time learning for bottom-up enumerative synthesis
- Augmenting Search-based Program Synthesis with Local Inference Rules to Improve Black-box Deobfuscation cites Syntia: Synthesizing the Semantics of Obfuscated Code
- Augmenting Search-based Program Synthesis with Local Inference Rules to Improve Black-box Deobfuscation cites MBA-Blast: Unveiling and Simplifying Mixed Boolean-Arithmetic Obfuscation
- Combining the top-down propagation and bottom-up enumeration for inductive program synthesis cites Optimizing homomorphic evaluation circuits by program synthesis and term rewriting
- Control-Flow Deobfuscation using Trace-Informed Compositional Program Synthesis cites Syntia: Synthesizing the Semantics of Obfuscated Code
- From Obfuscated to Obvious: A Comprehensive JavaScript Deobfuscation Tool for Security Analysis cites MBA-Blast: Unveiling and Simplifying Mixed Boolean-Arithmetic Obfuscation
- MBA-Blast: Unveiling and Simplifying Mixed Boolean-Arithmetic Obfuscation cites Syntia: Synthesizing the Semantics of Obfuscated Code
Cited by top-tier papers7
- Control-Flow Deobfuscation using Trace-Informed Compositional Program SynthesisBenjamin Mariano, Ziteng Wang, Shankara Pailoor, Christian S. Collberg et al.OOPSLA 2024 · 5 citations
- From Obfuscated to Obvious: A Comprehensive JavaScript Deobfuscation Tool for Security AnalysisDongchao Zhou, Lingyun Ying, Huajun Chai, Dongbin WangNDSS 2026 · 3 citations
- Program Analysis Combining Generalized Bit-Level and Word-Level AbstractionsGuangsheng Fan, Liqian Chen, Banghu Yin, Wenyu Zhang et al.ISSTA 2025 · 2 citations
- FirmCross: Detecting Taint-style Vulnerabilities in Modern C-Lua Hybrid Web Services of Linux-based FirmwareRunhao Liu, Jiarun Dai, Haoyu Xiao, Yuan Zhang et al.NDSS 2026 · 1 citation
- Augmenting Search-based Program Synthesis with Local Inference Rules to Improve Black-box DeobfuscationVidal Attias, Nicolas Bellec, Grégoire Menguy, Sébastien Bardin et al.CCS 2025
Builds on10
- Syntia: Synthesizing the Semantics of Obfuscated CodeTim Blazytko, Moritz Contag, Cornelius Aschermann, Thorsten HolzUSENIX Security 2017 · 99 citations
- MBA-Blast: Unveiling and Simplifying Mixed Boolean-Arithmetic ObfuscationBinbin Liu, Junfu Shen, Jiang Ming, Qilong Zheng et al.USENIX Security 2021 · 37 citations
- Combining the top-down propagation and bottom-up enumeration for inductive program synthesisWoosuk LeePOPL 2021 · 34 citations
- Just-in-time learning for bottom-up enumerative synthesisShraddha Barke, Hila Peleg, Nadia PolikarpovaOOPSLA 2020 · 33 citations
- Optimizing homomorphic evaluation circuits by program synthesis and term rewritingDongKwon Lee, Woosuk Lee, Hakjoo Oh, Kwangkeun YiPLDI 2020 · 30 citations
Related papers
- NeuReduce: Reducing Mixed Boolean-Arithmetic Expressions by Recurrent Neural NetworkWeijie Feng, Binbin Liu, Dongpeng Xu, Qilong Zheng et al.EMNLP Findings 2020 · 14 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
- Loki: Hardening Code Obfuscation Against Automated AttacksMoritz Schloegel, Tim Blazytko, Moritz Contag, Cornelius Aschermann et al.USENIX Security 2022
- Large Language Models for Opaque Predicate Resolution: A Universal Control Flow Deobfuscation FrameworkXiao Chen, Qiuyun Wang, Shuwei Wang, Weize Zhang et al.FSE 2026
