← Latest papers
💻 computer science

Formal Verification of Probing Security via Conditional Independence

This paper proposes a novel formal verification approach for the probing security of masked cryptographic algorithms by leveraging probabilistic separation logic (Lilac) to establish a connection between noninterference properties and conditional independence.

Original authors: Satoshi Kura, Katsuyuki Takashima

Published 2026-05-25
📖 4 min read☕ Coffee break read

Original authors: Satoshi Kura, Katsuyuki Takashima

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

Imagine you are trying to keep a secret recipe safe in a busy, noisy kitchen. In the world of cryptography, this "secret recipe" is a private key, and the "noise" is a side-channel attack. Attackers aren't trying to break the math; they are trying to peek at the "leaks" (like power usage or timing) while the computer is crunching numbers to guess your secret.

To stop this, cryptographers use a technique called Masking. Think of masking like shredding your secret recipe into t+1t+1 pieces of paper (shares). You give one piece to each of t+1t+1 different chefs. As long as an eavesdropper can only peek at tt pieces (or fewer), they see nothing but random gibberish. They can't reconstruct the recipe because they are missing at least one crucial piece.

However, proving that a complex recipe (algorithm) is truly safe is incredibly hard. If you try to check it by hand, you might miss a tiny leak, and the whole security system fails. This is where the paper comes in.

The Problem: Checking the "Leak"

The authors want to build a formal proof (a mathematical guarantee) that a masked algorithm is safe. Traditionally, this is done using a "Simulator" concept.

  • The Simulator Idea: Imagine a magic box (the simulator) that tries to recreate exactly what the eavesdropper sees. If the magic box can create the exact same "leak" using only the public information (like the ingredients list) and without ever seeing the secret recipe pieces, then the real algorithm is safe. The eavesdropper learns nothing new.

But building these simulators by hand is error-prone. The authors wanted a better way to prove this.

The Solution: A New Logic Tool (Lilac)

The authors introduce a connection between "Simulators" and a concept called Conditional Independence.

  • The Analogy: Imagine you are trying to guess a friend's birthday (the secret).
    • Scenario A: You know their age and the month they were born (Public Info).
    • Scenario B: You also know their secret diary entry (Secret Info).
    • Conditional Independence: If knowing the diary entry doesn't change your guess about the birthday once you already know the age and month, then the diary is "conditionally independent" of the birthday given the age/month.

The paper proves that if a simulator exists, then the secret is conditionally independent of the leak, given the public info.

To check this mathematically, they use a tool called Lilac.

  • What is Lilac? Think of Lilac as a very strict, super-powered rulebook for probability. It's like a logic game where you have to prove that two piles of cards (random variables) are shuffled independently of each other.
  • The "Separating Conjunction": In this rulebook, there is a special symbol (like a magic wand) that says, "These two piles of cards are totally separate and don't influence each other."
  • The Innovation: The authors added new rules to this rulebook to handle "Conditioning" (the "given that..." part). This allows them to prove that even if the eavesdropper sees some data, it doesn't reveal the secret because they already have the public data.

What They Actually Did

The authors didn't just talk about theory; they built a system to verify real cryptographic algorithms using this new logic. They applied their method to three specific "gadgets" (building blocks) used in modern encryption:

  1. MINIADDREPNOISE: A tool used to add random noise to data (like adding salt to a soup to hide the original flavor). They proved that even if an attacker peeks at some of the salted soup, they can't figure out the original flavor.
  2. REFRESH: A tool that takes the shredded pieces of the secret and re-shuffles them so they look brand new, preventing attackers from tracking them over time. They proved this re-shuffling is safe.
  3. SECMULT (Secure Multiplication): A tool that multiplies two secret numbers together without revealing the result until the very end. This is one of the hardest operations to secure. They proved this multiplication is safe against the "t-probing" attacks.

The Bottom Line

The paper claims that by translating the complex idea of "Simulators" into the language of "Conditional Independence," they can use the Lilac logic system to automatically and rigorously verify that these cryptographic tools are safe.

They successfully demonstrated this by writing formal proofs for MINIADDREPNOISE, REFRESH, and SECMULT, showing that these specific algorithms satisfy the strict security requirements needed to protect secrets against side-channel attacks. They did not claim to fix all future security problems or apply this to medical devices; their work is strictly about proving the safety of these specific cryptographic math operations using a new logical framework.

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 →