Hyperproperties, such as non-interference and observational determinism, relate multiple system executions to each other. They are not expressible in standard temporal logics, like LTL, CTL, and CTL*, and thus cannot be monitored with standard runtime verification techniques. HyperLTL extends linear-time temporal logic (LTL) with explicit quantification over traces in order to express hyperproperties. We investigate the runtime verification problem of HyperLTL formulas for three different input models: (1) The parallel model, where a fixed number of system executions is processed in parallel. (2) The unbounded sequential model, where system executions are processed sequentially, one execution at a time. In this model, the number of incoming executions is a-priori unbounded and may in fact grow forever. (3) The bounded sequential model where the traces are processed sequentially and the number of incoming executions is bounded. We show that the existence of a bound in the parallel and bounded sequential models leads to a different notion of monitorability than in the unbounded sequential model. We show that deciding the monitoriability problem for alternation-free HyperLTL is PSPACE-complete while the problem is undecidable in general. For every input model, we provide monitoring algorithms along with run-time and storage optimizations. By recognizing properties of specifications such as reflexivity, symmetry, and transitivity, we reduce the number of comparisons between traces. For the sequential models, we present a technique that minimizes the number of traces that need to be stored. We evaluate our optimizations, showing that this leads to a more scalable monitoring and, in particular, a significantly lower memory consumption.
History
Preferred Citation
Bernd Finkbeiner, Christopher Hahn, Marvin Stenger and Leander Tentrup. Monitoring hyperproperties. In: Formal Methods in System Design (FMSD). 2019.
Primary Research Area
Reliable Security Guarantees
Legacy Posted Date
2020-05-25
Journal
Formal Methods in System Design (FMSD)
Open Access Type
Unknown
Sub Type
Article
BibTeX
@article{cispa_all_3070,
title = "Monitoring hyperproperties",
author = "Finkbeiner, Bernd and Hahn, Christopher and Stenger, Marvin and Tentrup, Leander",
journal="{Formal Methods in System Design (FMSD)}",
year="2019",
}