Probabilistic opacity for Markov decision processes

Béatrice Bérard, Krishnendu Chatterjee, Nathalie Sznajder

This paper, "Probabilistic Opacity for Markov Decision Processes," explores the formal verification of security in systems that involve both random chance and non-deterministic choices. It provides a rigorous mathematical framework for determining whether an external observer can "see" a secret occurring within a complex system.

TL;DR

The authors extend the concept of "opacity"—a security property where secrets remain hidden from observers—to Markov Decision Processes (MDPs). They demonstrate that while calculating exact leakage is easy when the system is fully visible, it becomes mathematically "undecidable" (impossible to compute) under partial observation, though certain "almost-sure" security breaches can still be detected with exponential-time algorithms.

What Problem Does This Paper Address?

In computer security, opacity is a property that ensures a "passive observer" (an attacker who can see some system outputs but not everything) cannot definitively conclude that a secret event has occurred. If every "secret" run of a system looks identical to at least one "non-secret" run from the observer's perspective, the system is opaque.

Previous research handled opacity in simple transition systems or Markov Chains. However, real-world systems are often Markov Decision Processes (MDPs), which combine:

  1. Probabilistic transitions: Randomness (e.g., a coin flip or network noise).
  2. Non-determinism: Choices made by a "scheduler" or controller (e.g., a routing algorithm or a user).

The challenge is that a scheduler might—either accidentally or maliciously—choose actions that make the secret easier to detect. This paper asks: Can we calculate the maximum probability that a secret is disclosed, and is it even possible to compute this value for different types of observers?

Methods

The authors use formal language theory and automata to model secrets and observations:

  • Modeling Secrets: Secrets are defined as $\omega$-regular languages—infinite sequences of events. These are represented using Deterministic Parity Automata (DPA) or Büchi Automata.
  • Probabilistic Disclosure (PD): They define a new quantitative metric, $PD$, which represents the maximum probability (across all possible schedulers) that a run will be "disclosing." A run is disclosing if its observation sequence only corresponds to secret runs.
  • Observation Models: They compare Perfect Observation (where the scheduler knows the exact state of the system) vs. Partial Observation (modeled as POMDPs, where the scheduler only sees what the attacker sees).
  • Reductions: To prove decidability, they reduce opacity problems to known problems in game theory and formal verification, such as solving reachability or parity games on MDPs.

Datasets

This is a theoretical research paper in formal methods; therefore, no empirical datasets or benchmarks were used. The "evaluation" consists of mathematical proofs of decidability and computational complexity classes (e.g., P-time, EXPTIME).

Key Insights and Ideas

  • The "Cooperative" Scheduler: In this framework, the scheduler is treated as an adversary's ally. The security value is the supremum over all schedulers, meaning we look for the "worst-case" scenario where a scheduler tries to help the attacker break the system's opacity.
  • The Decidability Wall: The paper identifies a sharp boundary in computational logic. If the scheduler has perfect information, we can compute everything. If the scheduler has partial information (like the attacker), even simple quantitative questions (e.g., "Is the leak probability > 0.5?") become undecidable.
  • Qualitative vs. Quantitative: While we can't always calculate the exact amount of information leaked in a POMDP, we can sometimes determine if a secret is leaked "almost surely" (with probability 1). This qualitative check is the "sweet spot" for verification in partially observable systems.

Key Results

  • Perfect Observation: If the scheduler has complete information, the value of probabilistic disclosure is computable in polynomial time relative to the size of the MDP (though exponential relative to the secret's complexity).
  • Partial Observation (The Hard Part):
    • Most quantitative problems are undecidable.
  • The "Almost-Sure Disclosure" problem (does a scheduler exist that leaks the secret with probability 1?) is decidable and EXPTIME-complete for a specific class of secrets (Deterministic Büchi Automata).
  • Finite Memory: If we restrict the system to use only finite-memory schedulers, more problems become decidable, providing a path for practical engineering applications.

Limitations and Future Work

  • Computational Intensity: The EXPTIME-complete result for partial observation means that while these problems are "decidable," they are extremely expensive to solve for large systems.
  • Passive Attackers Only: The model assumes a passive observer. It does not account for "active" attackers who might provide inputs to the system to trigger secret leaks.
  • Future Directions: The authors suggest looking into disclosure with delay (how long does it take for an observer to realize a secret happened?) and extending these results to probabilistic timed systems, where the exact timing of events might leak information.

Summary updated

BibTeX
@article{berard2015probabilistic,
  author = {Béatrice Bérard and Krishnendu Chatterjee and Nathalie Sznajder},
  title = {{Probabilistic opacity for Markov decision processes}},
  journal = {Inf. Process. Lett.},
  year = {2015},
  doi = {10.1016/j.ipl.2014.09.001},
}
Figure