XuanJia: A Comprehensive Virtualization-Based Code Obfuscator for Binary Protection
Xianyu Zou, Xiaoli Gong, Jin Zhang, Shiyang Li, Pen-Chung Yew

TL;DR
XuanJia is a virtualization-based binary obfuscator that protects exception-handling metadata by integrating ABI-compliant shadow unwind information and secure VM-based exception processing, enhancing reverse engineering resistance.
Contribution
It introduces ABI-Compliant EH Shadowing, a novel mechanism that protects exception-handling semantics without breaking OS compatibility, and implements a comprehensive VM-based obfuscation framework.
Findings
Effectively disrupts reverse engineering tools like IDA Pro.
Preserves semantic correctness under extensive testing.
Incurs negligible space and modest runtime overhead.
Abstract
Virtualization-based binary obfuscation is widely adopted to protect software intellectual property, yet existing approaches leave exception-handling (EH) metadata unprotected to preserve ABI compatibility. This exposed metadata leaks rich structural information, such as stack layouts, control-flow boundaries, and object lifetimes, which can be exploited to facilitate reverse engineering. In this paper, we present XuanJia, a comprehensive VM-based binary obfuscation framework that provides end-to-end protection for both executable code and exception-handling semantics. At the core of XuanJia is ABI-Compliant EH Shadowing, a novel exception-aware protection mechanism that preserves compatibility with unmodified operating system runtimes while eliminating static EH metadata leakage. XuanJia replaces native EH metadata with ABI-compliant shadow unwind information to satisfy OS-driven…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSecurity and Verification in Computing · Advanced Malware Detection Techniques · Physical Unclonable Functions (PUFs) and Hardware Security
