ObfusQate: Unveiling the First Quantum Program Obfuscation Framework

📅 2025-03-31
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
This work addresses the threat of program reverse engineering by proposing, for the first time, a quantum-primitive-based program obfuscation framework that simultaneously enhances security for both classical and quantum programs. Methodologically, it integrates circuit-level obfuscation—such as quantum gate hiding and identity matrix embedding—with code-level techniques—including quantum opaque predicates and quantum-classical hybrid control flow—enabling automated obfuscation under polynomial time/space overhead constraints. Key contributions are: (1) the first general-purpose quantum obfuscation framework; (2) a novel co-design paradigm unifying quantum gate-level and logical obfuscation; and (3) empirical validation demonstrating that malicious code (e.g., keyloggers) can be stealthily embedded within Shor’s algorithm while remaining undetected by state-of-the-art large language models (GPT-4o, GPT-4o mini, Grok-3). Functional equivalence is rigorously preserved, establishing a new pathway for quantum-safe software engineering.

Technology Category

Application Category

📝 Abstract
This paper introduces ObfusQate, a novel tool that conducts obfuscations using quantum primitives to enhance the security of both classical and quantum programs. We have designed and implemented two primary categories of obfuscations: quantum circuit level obfuscation and code level obfuscation, encompassing a total of eight distinct methods. Quantum circuit-level obfuscation leverages on quantum gates and circuits, utilizing strategies such as quantum gate hiding and identity matrices to construct complex, non-intuitive circuits that effectively obscure core functionalities and resist reverse engineering, making the underlying code difficult to interpret. Meanwhile, code-level obfuscation manipulates the logical sequence of program operations through quantum-based opaque predicates, obfuscating execution paths and rendering program behavior more unpredictable and challenging to analyze. Additionally, ObfusQate can be used to obfuscate malicious code segments, making them harder to detect and analyze. These advancements establish a foundational framework for further exploration into the potential and limitations of quantum-based obfuscation techniques, positioning ObfusQate as a valuable tool for future developers to enhance code security in the evolving landscape of software development. To the best of our knowledge, ObfusQate represents the pioneering work in developing an automated framework for implementing obfuscations leveraging quantum primitives. Security evaluations show that obfuscations by ObfusQate maintain code behavior with polynomial overheads in space and time complexities. We have also demonstrated an offensive use case by embedding a keylogger into Shor's algorithm and obfuscating it using ObfusQate. Our results show that current Large language models like GPT 4o, GPT o3 mini and Grok 3 were not able to identify the malicious keylogger after obfuscation.
Problem

Research questions and friction points this paper is trying to address.

Enhancing security of classical and quantum programs using quantum obfuscation.
Developing quantum circuit and code level obfuscation methods to resist reverse engineering.
Exploring quantum-based obfuscation to obscure malicious code and improve detection resistance.
Innovation

Methods, ideas, or system contributions that make the work stand out.

Uses quantum gates for circuit obfuscation
Applies quantum-based opaque predicates
Automates obfuscation with quantum primitives
🔎 Similar Papers
💼 Related Jobs
No related jobs found.
N
Nilhil Bartake
Singapore Institute of Technology
S
See Toh Zi Jie
Singapore Institute of Technology
C
Carmen Wong Jiawen
Singapore Institute of Technology
M
Michael Kasper
Fraunhofer Singapore
V
Vivek Balachandran
Singapore Institute of Technology