Model-Based Safety and Security Engineering

Vivek Nigam, Alexander Pretschner, Harald RuessarXiv 2018

Introduction

In the landscape of Industry 4.0 and autonomous systems, the traditional separation between safety and security engineering is becoming increasingly untenable. Safety engineering typically addresses accidental failures, while security engineering focuses on intentional, malicious acts. However, a security breach—such as a hacker spoofing sensor data—can directly lead to a catastrophic safety failure. This paper proposes a framework for integrating these two disciplines using Model-Based Engineering (MBE) to bridge the gap between safety assessments and security models.

The Challenge of Siloed Engineering

The authors identify several critical hurdles in current practices:

  • Language Barriers: Differing terminologies make cross-disciplinary communication difficult.
  • Manual Overhead: Extracting security-relevant data from safety documentation is often a tedious, error-prone manual process.
  • Impact Assessment: Quantifying how a security vulnerability reduces overall confidence in a safety case is non-trivial.
  • Conflicting Requirements: Safety measures (e.g., emergency exits that open automatically) can create security vulnerabilities (unauthorized access).

A Unified Model-Based Approach

To address these challenges, the researchers leverage the AF3 (AutoFOCUS 3) tool to create a unified workflow. The core idea is to treat safety and security as two perspectives on the same system model, linked through shared requirements and components.

Conceptual integration of safety (GSN) and security (ADT) perspectives across the development lifecycle.

Automated Extraction and Trade-off Analysis

By tagging safety requirements in Goal Structured Notation (GSN) with semantic metadata (Guide Words), the framework can automatically generate preliminary Attack Trees. Furthermore, the authors use Answer-Set Programming (ASP) to formalize requirements. A logic solver can then automatically identify contradictions between safety and security rules, such as the "locked door" dilemma in smart buildings.

Quantitative Integration via Dempster-Shafer Theory

A key innovation is the use of Dempster-Shafer Theory to quantify system confidence. Instead of simple probabilities, confidence is represented by three values: Belief, Disbelief, and Uncertainty.

Quantitative safety assessment using Dempster-Shafer theory to map security threats to safety confidence levels.

When a security assessment identifies a vulnerability, these values are updated. For instance, if a hazard's mitigation is found to be insecure, the "Disbelief" in the safety goal increases, providing a mathematically rigorous way to show how security "defeats" safety arguments.

Key Insights

  • Safety Informs Security: Safety models identify the most critical system failures. Security engineers can use this to prioritize which components require the most robust protection.
  • Formalizing Intuition: Conflicts that were previously identified through "common sense" are now caught early in the design phase through formal logic checks.

Future Directions

While the proof-of-concept demonstrates significant potential for automation and conflict detection, several challenges remain:

  1. Scalability: Current logic solvers need further optimization for massive automotive or aerospace systems.
  2. Intruder Modeling: Better models are needed for the evolving, non-random nature of human attackers compared to random hardware failures.
  3. Temporal Logic: Future work will expand conflict detection to include timing-based issues, such as security checks causing safety-critical delays.

Summary updated

BibTeX
@misc{nigam2018model,
  author = {Vivek Nigam and Alexander Pretschner and Harald Ruess},
  title = {{Model-Based Safety and Security Engineering}},
  year = {2018},
  eprint = {1810.04866},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1810.04866},
}
Figure