Skip to main content
QUICK REVIEW

[Paper Review] Very Static Enforcement of Dynamic Policies

Bart van Delft, Sebastian Hunt|arXiv (Cornell University)|Jan 12, 2015
Security and Verification in ComputingComputer Science8 references5 citations
TL;DR

This paper extends a flow-sensitive type system to statically enforce dynamic information-flow policies by tracking data dependencies at every program point. It decouples dependency analysis from policy enforcement, enabling a single static analysis to verify multiple dynamic policies—providing a reusable, sound foundation for policy-agnostic verification of security properties in programs with evolving access controls.

ABSTRACT

Security policies are naturally dynamic. Reflecting this, there has been a growing interest in studying information-flow properties which change during program execution, including concepts such as declassification, revocation, and role-change. A static verification of a dynamic information flow policy, from a semantic perspective, should only need to concern itself with two things: 1) the dependencies between data in a program, and 2) whether those dependencies are consistent with the intended flow policies as they change over time. In this paper we provide a formal ground for this intuition. We present a straightforward extension to the principal flow-sensitive type system introduced by Hunt and Sands (POPL '06, ESOP '11) to infer both end-to-end dependencies and dependencies at intermediate points in a program. This allows typings to be applied to verification of both static and dynamic policies. Our extension preserves the principal type system's distinguishing feature, that type inference is independent of the policy to be enforced: a single, generic dependency analysis (typing) can be used to verify many different dynamic policies of a given program, thus achieving a clean separation between (1) and (2). We also make contributions to the foundations of dynamic information flow. Arguably, the most compelling semantic definitions for dynamic security conditions in the literature are phrased in the so-called knowledge-based style. We contribute a new definition of knowledge-based termination insensitive security for dynamic policies. We show that the new definition avoids anomalies of previous definitions and enjoys a simple and useful characterisation as a two-run style property.

Motivation & Objective

  • To formalize a clean separation between data dependency analysis and policy enforcement for dynamic information-flow policies.
  • To address the challenge of verifying dynamic policies that evolve during program execution, such as declassification and revocation.
  • To provide a generic, policy-agnostic verification framework that reuses static dependency analysis across multiple policies.
  • To develop a new semantic foundation for knowledge-based security in dynamic policies that avoids anomalies in prior definitions.

Proposed method

  • Extends the principal flow-sensitive type system of Hunt and Sands (POPL '06, ESOP '11) to track dependencies at each program point, not just endpoints.
  • Introduces per-channel, per-point dependency sets that capture which inputs influence each output.
  • Employs a two-run style property as a characterization of knowledge-based security, ensuring that an attacker cannot distinguish between two runs based on outputs.
  • Proves soundness of the type system with respect to a semantic property that implies termination-insensitive knowledge-based security.
  • Uses a type system where inference is independent of the policy, enabling reuse of the same analysis for multiple policies.
  • Defines a new knowledge-based security condition for dynamic policies that avoids anomalies and supports compositional reasoning.

Experimental results

Research questions

  • RQ1Can a single static dependency analysis be reused to verify multiple dynamic information-flow policies for the same program?
  • RQ2How can a formal, sound, and reusable foundation be established for dynamic policies that evolve during execution?
  • RQ3What semantic definition of knowledge-based security for dynamic policies avoids known anomalies and supports compositional verification?
  • RQ4Can a two-run style property serve as a sufficient and characterizable condition for dynamic policy enforcement?
  • RQ5How can the separation between dependency analysis and policy enforcement be preserved while supporting complex policy behaviors like revocation and declassification?

Key findings

  • The extended type system supports static enforcement of dynamic policies by tracking dependencies at intermediate program points, enabling verification without re-analysis for each policy.
  • The dependency analysis is completely independent of the policy, allowing one analysis to verify multiple policies—demonstrating a clean separation of concerns.
  • The soundness result ensures that if a program is well-typed, it enforces the intended dynamic policy, regardless of the policy's specific form.
  • The new knowledge-based security definition avoids anomalies present in prior formulations and is characterized by a simple two-run property.
  • The approach enables generic verification: the same program can be checked against different dynamic policies using the same underlying dependency analysis.
  • The framework supports complex policy behaviors such as revocation based on runtime conditions, including cases where conditional outputs reveal sensitive information after revocation.

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.