[Paper Review] Robust Hyperproperty Preservation for Secure Compilation (Extended Abstract)
This paper introduces robust hyperproperty preservation as a new soundness criterion for secure compilation, ensuring that security properties—especially hyperproperties like noninterference—are preserved even under adversarial target-level contexts. It proposes equivalent 'property-free' characterizations for various hyperproperty classes, showing that context back-translation techniques can verify these criteria, with safety hyperproperties requiring only finite trace prefix back-translation, while full hyperproperty preservation is achievable via logical relation techniques.
We map the space of soundness criteria for secure compilation based on the preservation of hyperproperties in arbitrary adversarial contexts, which we call robust hyperproperty preservation. For this, we study the preservation of several classes of hyperproperties and for each class we propose an equivalent "property-free" characterization of secure compilation that is generally better tailored for proofs. Even the strongest of our soundness criteria, the robust preservation of all hyperproperties, seems achievable for simple transformations and provable using context back-translation techniques previously developed for showing fully abstract compilation. While proving the robust preservation of hyperproperties that are not safety requires such powerful context back-translation techniques, for preserving safety hyperproperties robustly, translating each finite trace prefix back to a source context seems to suffice.
Motivation & Objective
- To define a comprehensive framework for secure compilation that preserves security guarantees in the presence of adversarial target-level contexts.
- To generalize existing criteria like full abstraction by focusing on hyperproperties, which capture complex security policies such as noninterference.
- To provide equivalent, proof-friendly characterizations of secure compilation that avoid direct manipulation of hyperproperties.
- To investigate the feasibility of preserving non-safety hyperproperties using powerful back-translation techniques.
- To distinguish between cases where finite trace prefix back-translation suffices (e.g., safety) versus those requiring full context reconstruction.
Proposed method
- Proposes robust hyperproperty preservation as a new soundness criterion, where a source program robustly satisfies a hyperproperty if it does so under any adversarial context.
- Defines equivalence between hyperproperty preservation and property-free criteria, such as hyper-robust compilation: ∀P.∀C_T.∃C_S.∀t. C_T[P↓]⇝t ↔ C_S[P]⇝t.
- Introduces a trace-based characterization for preserving safety hyperproperties: if a target trace prefix m is observed, then a source context must produce a trace prefix m′ ≥ m.
- Adapts context back-translation techniques from fully abstract compilation to verify robust preservation, especially for non-safety hyperproperties.
- Extends source and target languages with input/output traces and recursive types to enable precise back-translation of target contexts to source contexts.
- Uses logical relation techniques to prove hyper-robust compilation for a simply typed λ-calculus compiled into the untyped λ-calculus with trace extensions.
Experimental results
Research questions
- RQ1Can robust preservation of all hyperproperties be achieved in practice, and is it amenable to formal verification?
- RQ2How do different classes of hyperproperties (e.g., safety, subset-closed, hypersafety) relate to one another in terms of expressiveness and verifiability?
- RQ3What is the minimal back-translation power required to preserve different hyperproperty classes, and when is finite trace prefix simulation sufficient?
- RQ4How do property-free characterizations simplify the proof of secure compilation compared to direct hyperproperty reasoning?
- RQ5What is the relationship between robust hyperproperty preservation and full abstraction, and does one imply the other?
Key findings
- Robust preservation of all hyperproperties—termed hyper-robust compilation—is formally equivalent to a property-free criterion involving a context back-translation function from target to source contexts.
- Preserving safety hyperproperties robustly is equivalent to a criterion that only requires back-simulation of finite trace prefixes, making it amenable to trace-based proof techniques.
- For non-safety hyperproperties, full context back-translation is necessary, and such proofs require advanced techniques like logical relations or approximate back-translation.
- The strongest criterion, hyper-robust compilation, is achievable for a simply typed λ-calculus compiled into the untyped λ-calculus when recursive types are added to the source for precise value encoding.
- The property-free characterizations all follow a common quantifier pattern: ∀P.∀C_T.∃C_S.∀t…, enabling constructive proof construction of C_S as a function of P and C_T.
- The paper conjectures that stronger criteria like ∀C_T.∃C_S.∀P… imply robust preservation of relational properties, with full abstraction being a special case.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.