runtime enforcement of regular timed properties
play

Runtime Enforcement of Regular Timed Properties es Falcone 2 , - PowerPoint PPT Presentation

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW Runtime Enforcement of Regular Timed Properties es Falcone 2 , Thierry J eron 1 , Herv e Marchand 1 Srinivas Pinisetty, Yli` INRIA


  1. Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW Runtime Enforcement of Regular Timed Properties es Falcone 2 , Thierry J´ eron 1 , Herv´ e Marchand 1 Srinivas Pinisetty, Yli` INRIA Rennes - Bretagne Atlantique, France Universit´ e Grenoble I, Laboratoire d’Informatique de Grenoble, France SAC-SVT 2014, Gyeongju, Korea Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 1 / 35

  2. Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW Runtime verification and enforcement (monitors) Runtime verification and enforcement: A monitor observes the execution of a system (e.g., trace, log, messages). No system model. A correctness property ϕ . Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 2 / 35

  3. Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW Runtime verification and enforcement (monitors) Runtime verification and enforcement: A monitor observes the execution of a system (e.g., trace, log, messages). No system model. A correctness property ϕ . Runtime verification Verification verdicts Monitor events w ∈ D ∞ σ ∈ Σ ∞ D σ | = ϕ ? Does the run satisfy the property? Input: stream of events. Output: stream of verdicts . Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 2 / 35

  4. Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW Runtime verification and enforcement (monitors) Runtime verification and enforcement: A monitor observes the execution of a system (e.g., trace, log, messages). No system model. A correctness property ϕ . Runtime verification Runtime enforcement Verification Enforcement verdicts Monitor events events Monitor events w ∈ D ∞ σ ∈ Σ ∞ σ ∈ Σ ∞ o � σ D Memory σ | = ϕ ? o | = ϕ ! Does the run satisfy the The run should satisfy the property? property. Input: stream of events. Input: stream of events. Output: stream of verdicts . Output: stream of events (should satisfy the property). Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 2 / 35

  5. Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW Enforcement monitoring - untimed case finite finite seq. of Enforcement seq. of Dedicated to a property ϕ . events Monitor events Possibly augmented with a o � σ σ ∈ Σ ∗ memorization mechanism . Memory o | = ϕ ! Enforcement mechanism (EM) An EM modifies the current execution sequence (sometimes like a “filter”). reads an input sequence σ ∈ Σ ∗ . outputs a new sequence o ∈ Σ ∗ . endowed with a set of enforcement primitives : operate on the memorization mechanism, delete or insert events using the memory content and the current input. An EM behaves as a function E : Σ ∗ → Σ ∗ . Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 3 / 35

  6. Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW Motivations for timed enforcement Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 4 / 35

  7. Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW Motivations for timed enforcement Specifying the timing behavior Allow specifying desired behavior of a system more precisely (time constraints between events). Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 4 / 35

  8. Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW Motivations for timed enforcement Specifying the timing behavior Allow specifying desired behavior of a system more precisely (time constraints between events). After action “a”, action “b” should occur Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 4 / 35

  9. Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW Motivations for timed enforcement Specifying the timing behavior Allow specifying desired behavior of a system more precisely (time constraints between events). After action “a”, action “b” should occur with a delay of at least 5 time units between them. Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 4 / 35

  10. Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW Motivations for timed enforcement Specifying the timing behavior Allow specifying desired behavior of a system more precisely (time constraints between events). After action “a”, action “b” should occur with a delay of at least 5 time units between them. The system should allow consecutive requests with a delay of at least 10 time units between any two requests. Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 4 / 35

  11. Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW Motivations for timed enforcement Specifying the timing behavior Allow specifying desired behavior of a system more precisely (time constraints between events). After action “a”, action “b” should occur with a delay of at least 5 time units between them. The system should allow consecutive requests with a delay of at least 10 time units between any two requests. Many application domains Domains: Real-time embedded systems, monitor hardware failures, communication protocols, web services and many more. Examples of monitor usage: firewall to prevent DOS attack ensuring minimal delay between input events; checking pre-conditions of a service in web applications. Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 4 / 35

  12. Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW Related work on monitoring Runtime Enforcement of Untimed properties Enforceable security policies – Fred B. Schneider et al. Enforcement Monitoring wrt. the Safety-Progress Classification of Properties – Yli` es Falcone et al. Runtime enforcement of non-safety policies – Jay Ligatti et al. Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 5 / 35

  13. Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW Related work on monitoring Runtime Enforcement of Untimed properties Enforceable security policies – Fred B. Schneider et al. Enforcement Monitoring wrt. the Safety-Progress Classification of Properties – Yli` es Falcone et al. Runtime enforcement of non-safety policies – Jay Ligatti et al. Runtime Verification of Timed properties Efforts mainly to verify timed properties at runtime: Runtime verification of TLTL – Andreas Bauer et al. The Analog Monitoring Tool.(monitoring specifications over continuous signals) – Dejan Nickovic et al. Safe runtime verification of real-time properties – Christian Colombo et al. Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 5 / 35

  14. Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW Problem tackled and Contributions ϕ is a timed property timed Enforcement timed events Monitor events o � σ σ ∈ ( R ≥ 0 × Σ) ∗ o | = ϕ ! timed Memory A formal framework for runtime enforcement of timed properties Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 6 / 35

  15. Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW Problem tackled and Contributions ϕ is a timed property timed Enforcement timed events Monitor events o � σ σ ∈ ( R ≥ 0 × Σ) ∗ o | = ϕ ! timed Memory A formal framework for runtime enforcement of timed properties Any regular timed property ϕ as input. Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 6 / 35

Recommend


More recommend