Information-flow Interfaces and Security Lattices

Ezio Bartocci, Thomas A. Henzinger, Dejan Nickovic, Ana Oliveira da CostaarXiv 2024 · DOI

Abstract

This research bridges the gap between Information-flow interfaces (IFI), a framework for compositional security design, and security lattices, the industry standard for defining security policies. By providing a formal translation between these two worlds, the authors enable more efficient system verification and make high-level security-by-design tools more accessible to practicing security engineers.

Introduction: The Security-by-Design Gap

Modern systems are too complex to secure monolithically. Engineers increasingly rely on "security-by-design" to enforce requirements from the outset. Information-flow interfaces (IFI) provide a powerful tool for this, allowing designers to specify "no-flow" relations—rules dictating that one component must never influence another.

However, IFI faces a usability hurdle. Its original mathematical semantics are based on contracts that are not widely adopted by the broader security community. Conversely, security professionals typically use security lattices (e.g., Top Secret > Secret > Unclassified) to manage data flow. This research addresses the disconnect: how to ground the flexible, compositional design of IFI in the familiar language of security lattices.

Methodology: Security Lattice Contracts

The authors introduce Security Lattice Contracts and develop two primary algorithms to facilitate the translation:

  1. Flow to Lattice (Algorithm 1): This algorithm takes raw "who-can-talk-to-whom" rules and automatically constructs a security lattice. It identifies variables that influence each other in cycles and groups them into single "security labels," building a partial order based on allowed flows.
  2. Lattice Completion (Algorithm 2): Since raw flow rules may not form a perfect mathematical lattice, this algorithm identifies "missing" labels—points where different data sources might combine—and creates intermediate security classes to ensure every pair of labels has a unique "least upper bound."

The researchers mathematically proved (Theorems 1, 2, and 3) that these translations are equivalent, ensuring that moving between flow-based and lattice-based designs preserves all security requirements.

Key Insights

  • Loop Logic: If Variable A can flow to B, and B can flow back to A, they effectively exist at the same security level. Collapsing these cycles into manageable labels simplifies complex systems.
  • Syntactic vs. Semantic: IFI is "syntactic" (system assembly), while lattices are "semantic" (meaning of security levels). Combining them offers both ease of assembly and clear meaning.
  • Verification Efficiency: Security lattices are often significantly smaller than the systems they describe. Translating a complex system into a lattice allows automated verification tools to run faster by checking fewer labels than variables.

Case Study: Automotive Communication

The paper applies this theory to a shared communication bus in a vehicle, isolating high-integrity components (like braking sensors) from low-integrity ones (like an odometer).

Automotive case study showing (a) abstract flow relations and (b) component-based architecture with Sending, Bus, and Receiving units.

As shown in the figure, the framework formally demonstrates how components sharing the same hardware bus can maintain strict isolation. The "Sending" unit handles sensor data (distw_f_s, distw_b_s, wheel_tick), which the "Bus" then routes to the "Receiving" unit. The lattice-based contracts ensure that critical signals do not leak into or get corrupted by non-critical ones.

Conclusion and Future Work

The authors successfully demonstrated that Information-flow interfaces can be entirely represented by security lattices through a lossless, "round-trip" capable translation. While the current framework handles static designs, future work will explore dynamic policies where security levels change during runtime. Additionally, empirical benchmarking is needed to quantify the claimed improvements in verification speed.

Summary updated

BibTeX
@misc{bartocci2024information,
  author = {Ezio Bartocci and Thomas A. Henzinger and Dejan Nickovic and Ana Oliveira da Costa},
  title = {{Information-flow Interfaces and Security Lattices}},
  year = {2024},
  eprint = {2406.14374},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.14374},
}
Figure