Skip to main content
QUICK REVIEW

[Paper Review] Typed-based Relaxed Noninterference for Free.

Minh Ngo, David A. Naumann|arXiv (Cornell University)|May 2, 2019
Security and Verification in ComputingComputer Science3 citations
TL;DR

This paper presents a type-based approach to relaxed noninterference that enables provable information flow security in practical functional languages by translating policies with declassification into standard typecheckable interfaces. By leveraging Reynolds' abstraction theorem, it ensures security guarantees using off-the-shelf typecheckers without modifying existing language tools.

ABSTRACT

Despite the clear need for specifying and enforcing information flow policies, existing tools and theories either fall short of practical languages, fail to encompass the declassification needed for practical requirements, or fail to provide provable guarantees. In this paper we make progress on provable guarantees encompassing declassification by leveraging type abstraction. We translate information flow policies, with declassification, into an interface for which an unmodified standard typechecker can be applied to a source program - if it typechecks, the program provably satisfies the policy. Our proof reduces security to the mathematical foundation of data abstraction, Reynolds' abstraction theorem. By proving this result for a large fragment of pure ML, we give evidence for the potential to build sound security tools using off the shelf language tools and their theories.

Motivation & Objective

  • To address the gap in existing tools and theories that fail to support practical information flow policies with declassification.
  • To provide provable security guarantees for programs written in practical functional languages like ML.
  • To enable the use of unmodified standard typecheckers to verify that programs satisfy specified information flow policies.
  • To reduce the problem of secure information flow to the mathematical foundation of data abstraction, ensuring soundness and reusability of existing language theory.

Proposed method

  • Translating information flow policies, including declassification, into a type interface compatible with standard typecheckers.
  • Applying Reynolds' abstraction theorem to formally reduce security guarantees to the correctness of data abstraction.
  • Encoding declassification policies as type-level constraints that are checked by a conventional type system.
  • Using a large fragment of pure ML to demonstrate the feasibility and soundness of the approach.
  • Proving that if a program typechecks under the proposed interface, it provably enforces the specified information flow policy.
  • Leveraging existing type theory and language tools to avoid building new, custom verification infrastructure.

Experimental results

Research questions

  • RQ1Can information flow policies with declassification be expressed and enforced using standard type systems without modifying the typechecker?
  • RQ2How can security guarantees be formally reduced to the foundations of data abstraction in a practical programming language?
  • RQ3Is it possible to achieve provable noninterference in a large fragment of pure ML using off-the-shelf typecheckers?
  • RQ4What is the relationship between type abstraction and information flow control in the presence of declassification?
  • RQ5Can the approach scale to realistic programs while maintaining soundness and composability?

Key findings

  • The approach successfully reduces information flow security to the mathematical foundation of data abstraction, ensuring soundness.
  • Programs that typecheck under the proposed interface provably satisfy their specified information flow policies, including declassification.
  • The method enables the use of unmodified standard typecheckers to verify security, avoiding the need for custom verification tools.
  • The technique is sound and applicable to a large fragment of pure ML, demonstrating practical feasibility.
  • The approach provides provable guarantees without requiring changes to existing language tools or type theory.
  • The integration of declassification into type-based noninterference is achieved through type-level policy encoding that remains compatible with standard type systems.

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.