Skip to main content
QUICK REVIEW

[Paper Review] (Un)Encrypted Computing and Indistinguishability Obfuscation

Péter Breuer, Jonathan P. Bowen|arXiv (Cornell University)|Nov 29, 2018
Cryptographic Implementations and SecurityComputer Science8 references3 citations
TL;DR

This paper investigates whether an obfuscating compiler designed for encrypted computing can achieve indistinguishability obfuscation (iO) when applied to unencrypted virtual machines. By injecting random, secret deltas into instruction constants and ensuring consistent semantics across recompilations, the compiler produces functionally equivalent but structurally indistinguishable programs, suggesting a practical path toward iO without full encryption.

ABSTRACT

This paper first describes an `obfuscating' compiler technology developed for encrypted computing, then examines if the trivial case without encryption produces much-sought indistinguishability obfuscation.

Motivation & Objective

  • To determine whether obfuscating compilation techniques for encrypted computing can yield indistinguishability obfuscation (iO) in the absence of encryption.
  • To examine if structurally different but functionally equivalent programs can be made computationally indistinguishable through secret delta injection in a virtual machine environment.
  • To assess whether the stochastic obfuscation mechanism—previously used in encrypted computing—can formally satisfy the criteria for iO when applied to unencrypted code.
  • To investigate whether the same compiler-generated obfuscation scheme can preserve program functionality while preventing reverse engineering via trace analysis.

Proposed method

  • The compiler generates object code with randomized secret deltas (Δe) for each register and memory location, ensuring that the same source code produces different-looking machine code on each recompilation.
  • The obfuscation scheme 𝒪 ensures that, for any 32-bit plaintext value x, the probability of x appearing in a given register or memory location across different compilations is uniformly 1/2^32.
  • The method relies on stochastic compilation: the compiler varies the delta values A, B, C per instruction, maintaining semantic correctness through virtual variable shifts (x = X + a, etc.).
  • The virtual machine interprets programs with embedded secret deltas as if they were executing under encryption, even though all data is unencrypted.
  • The compiler ensures that object code and runtime traces are identical except for encrypted or obfuscated constant values, preserving control flow and data access patterns.
  • The approach leverages the fact that copy instructions and loops constrain delta consistency, but otherwise maintains maximal stochastic independence across compilations.

Experimental results

Research questions

  • RQ1Can a compiler designed for encrypted computing achieve indistinguishability obfuscation when applied to unencrypted virtual machine code?
  • RQ2To what extent do random secret deltas in instruction constants prevent an adversary from distinguishing between functionally equivalent programs?
  • RQ3Does the stochastic obfuscation mechanism ensure that runtime traces of different compilations of the same source are computationally indistinguishable?
  • RQ4Can the same obfuscation scheme be used to hide program logic in unencrypted environments while preserving correctness and security?

Key findings

  • The compiler generates object code with identical structure across recompilations, except for embedded constants and ciphertext values, ensuring trace indistinguishability under the obfuscation scheme.
  • For any 32-bit value x, the probability of x appearing in a given register or memory location at any trace point is uniformly 1/2^32 across different compilations, independent of the program's control flow.
  • The obfuscation mechanism ensures that different compilations of the same source code are functionally equivalent but structurally distinct, with no detectable pattern in data placement or access.
  • The method satisfies the core requirement of indistinguishability obfuscation: two functionally equivalent programs compiled from the same source are computationally indistinguishable when compiled with the same obfuscation scheme.
  • The approach achieves a form of semantic security in the unencrypted setting by hiding program logic through secret deltas, mimicking the behavior of encrypted computing.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.