NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Concurrent Hyperproperties

Bernd Finkbeiner, Ernst-Rüdiger Olderog

Abstract

Traditional security models often fail to distinguish between nondeterministic behavior and true parallel execution, potentially leaving systems vulnerable to information leaks. In "Concurrent Hyperproperties," Bernd Finkbeiner and Ernst-Rüdiger Olderog introduce a novel framework that generalizes security policies to systems where partial-order semantics matter. By utilizing Petri nets and a testing-based verification framework, the authors provide a formal method to specify and verify security properties in truly concurrent environments.

Introduction

In computer security, properties are typically categorized as either trace properties or hyperproperties. Trace properties describe the behavior of a single execution (e.g., safety or liveness). Hyperproperties, such as noninterference, describe relationships between multiple executions—for instance, ensuring that a low-security observer's view remains unchanged regardless of high-security inputs.

However, existing hyperproperty models largely rely on interleaving semantics, which treat concurrency as a sequence of nondeterministic choices. This paper argues that such an abstraction is insufficient. An attacker interacting with a concurrent system may be able to distinguish between a system that could execute actions in any order and one that executes them simultaneously. If a security model cannot capture this distinction, it cannot adequately protect against timing or synchronization-based side channels.

Methodology: From Sequences to Partial Orders

To address the limitations of interleaving semantics, the authors shift toward partial-order semantics.

Petri Nets and Pomsets

The framework uses Petri nets as the underlying mathematical model. Unlike transition systems, Petri nets explicitly distinguish between causal dependency and independence (concurrency). Executions are modeled as pomsets (partially ordered multisets), which capture the "true concurrency" of the system.

Testing Framework

The authors adapt the "testing" framework of DeNicola and Hennessy to Petri nets. A system's compliance with a property is determined by its interaction with a "test net" containing success states:

  • May pass: At least one execution leads to success.
  • Must pass: All possible executions lead to success.

To handle hyperproperties, which involve multiple traces, the authors propose quantified testing. This involves running $k$ distinct instances of a system against a single test net that coordinates and compares their behaviors.

Datasets and Synthetic Examples

The paper relies on synthetic Petri net models to demonstrate the necessity of concurrent hyperproperties.

Petri nets $N_A$ and $N_B$ used to distinguish between nondeterminism and true concurrency.

As shown in the models $N_A$ and $N_B$ above, systems that appear equivalent under interleaving semantics can have fundamentally different concurrent structures. These examples serve as the primary "dataset" for proving that traditional hyperproperties fail to catch certain security leaks.

Key Insights and Ideas

A central insight of the paper is that an attacker can use synchronization to distinguish between a concurrent system and its sequential simulation. In a truly concurrent system, an attacker attempting to synchronize with specific events will always succeed if they are independent. In a nondeterministic sequential system, the same attempt might lead to a deadlock.

Petri net $N_C$ demonstrating more complex concurrent behaviors.

The authors further refine the concept of Generalized Noninterference (GNI). They demonstrate that a system might satisfy GNI on linear traces but violate it when the structure of concurrency itself leaks information, as illustrated by more complex nets like $N_C$.

Key Results and Complexity

The paper establishes several foundational results for the field of concurrent security:

  1. Formalization: It provides the first formal definition of concurrent hyperproperties as sets of sets of pomsets.
  2. Decidability Split: The authors prove a significant divergence in computational complexity. While checking if a system must pass a test is decidable (and PSPACE-complete for safe Petri nets), checking if it may pass is undecidable, proven via reduction to the Post Correspondence Problem (PCP).
  3. Expressivity: The framework is shown to accurately model complex security policies like secrecy and GNI in a way that trace-based models cannot.

Limitations and Future Work

Despite its theoretical robustness, the framework faces practical challenges. The PSPACE-complete nature of "must" testing makes it computationally expensive for large-scale systems. Additionally, the current model lacks a high-level temporal logic (similar to HyperLTL) for easier property specification. Future research aims to develop such a logic and extend the results from "safe" (1-bounded) Petri nets to more general concurrent models.

Summary updated

BibTeX
@inproceedings{finkbeiner2023concurrent,
  author = {Bernd Finkbeiner and Ernst-Rüdiger Olderog},
  title = {{Concurrent Hyperproperties}},
  booktitle = {Theories of Programming and Formal Methods},
  year = {2023},
  doi = {10.1007/978-3-031-40436-8\_8},
}
Figure