← Latest papers
💻 computer science

Security Engineering in IIIf, Part II -- Shadowing the IIIf

This paper extends the security engineering of the Isabelle Insider and Infrastructure framework (IIIf) by introducing Morgan's "Shadow" concept to formalize Information Flow Security, thereby resolving the refinement paradox and establishing conditions for secure refinements illustrated through a flight radar system example.

Original authors: Florian Kammüller

Published 2026-06-30
📖 5 min read🧠 Deep dive

Original authors: Florian Kammüller

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

The Big Picture: The "Flight Radar" Problem

Imagine you are looking at a public flight radar app on your phone. You see airplanes moving across the map. Usually, this is harmless. But what if a plane suddenly takes a weird, zig-zag detour around a specific area?

In the real world, planes don't just fly in straight lines for fun. If a plane suddenly swerves around a secret military base or a VIP's location, that "swerving" is a clue. Even though the app doesn't show you the secret base, the pattern of the plane's movement tells you exactly where the danger zone is.

This is the problem the paper tackles: How do we stop secret information from "leaking" through the side effects of a system's behavior?

The Characters and the Setting

  • The System (IIIf): Think of this as a giant, super-strict rulebook for a digital city. It tracks who is where, what rules they follow, and how things move. The authors use a powerful computer tool called "Isabelle" to write this rulebook so strictly that the computer can prove it's correct.
  • The Attacker (Eve): Eve is a nosy observer who can see everything the system shows to the public (like the plane's position on the map) but isn't supposed to know the secrets (like the location of a secret base).
  • The Secret (Critical Location): This is the "forbidden zone" that the system is trying to protect.

The Problem: The "Refinement Paradox"

The authors explain a tricky situation called the Refinement Paradox.

Imagine you design a secure system (the "Abstract" version). You prove to the computer that Eve cannot guess the secret. Great!
Then, you decide to make the system better or more detailed (the "Refined" version). Maybe you add a new feature, like showing the plane's speed.

The Paradox: Even if your new feature seems harmless, it might accidentally create a new "leak."

  • Analogy: Imagine you are hiding a secret note in a safe. You prove the safe is secure. Then, you decide to add a tiny, decorative handle to the safe. You didn't change the lock, but now, if you shake the safe, the handle rattles differently depending on where the note is inside. Suddenly, the handle gives away the secret.

In the paper's example, if the system calculates the plane's speed based on its real (hidden) path instead of its public path, the speed number will be weird whenever the plane is avoiding a secret zone. Eve sees the weird speed and instantly knows where the secret zone is. The system got "more detailed," but it became less secure.

The Solution: The "Shadow"

To fix this, the authors introduce a concept called a Shadow, inspired by a mathematician named Morgan.

What is a Shadow?
Think of the Shadow as a "Bag of Possibilities" for the secret information.

  • At the start, the Shadow is a giant bag containing every single possibility of where the secret could be. The attacker is totally confused; they have no idea where the secret is.
  • As the system runs, the Shadow should stay big. If the Shadow shrinks, it means the attacker has learned something new.

The Goal: A secure system is one where the Shadow never shrinks. If the Shadow stays the same size, the attacker's ignorance is preserved. They still know nothing more than they did at the start.

How They Fixed the Flight Radar

The authors applied this "Shadow" idea to their Flight Radar system:

  1. The Leak: In the original insecure version, the plane's movement revealed the secret location. The Shadow shrank because the attacker could rule out certain locations based on the plane's path.
  2. The Fix: They added a "hiding" mechanism. When a plane needs to avoid a secret zone, the system records the real path in a secret box (the critpos component) but shows the plane as if it flew straight through the secret zone on the public map.
  3. The Result: Because the public map looks normal, the attacker's "Bag of Possibilities" (the Shadow) never gets smaller. The attacker still thinks the secret zone could be anywhere.

The "Magic" Proof

The paper does two main things:

  1. Equivalence: They proved that "The Shadow never shrinking" is exactly the same thing as "Non-Interference" (a fancy technical term meaning "Secrets don't affect what the public sees"). It's like proving that "The bag stays full" is the same as "No one stole any apples."
  2. The Safety Rule for Upgrades: They created a rule (Theorem 2) to check if a future upgrade (refinement) will stay secure.
    • The Rule: If you add a new feature, you must check if it depends on the secret. If the new feature depends on the secret, the Shadow will shrink, and the upgrade is unsafe.
    • The Catch: If the new feature is totally independent of the secret, the Shadow stays big, and the upgrade is safe.

Summary

The paper solves a problem where making a system more detailed accidentally leaks secrets. They use a "Shadow" (a bag of possibilities) to track what an attacker knows. If the Shadow stays full, the system is secure. They proved that if you follow their specific rules when adding new features, you can upgrade the system without accidentally letting the secrets out.

In short: They built a mathematical "security guard" that checks every time you add a new feature to a system, ensuring that the new feature doesn't accidentally whisper the secrets to the public.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →