Learning from Mutants: Using Code Mutation to Learn and Monitor Invariants of a Cyber-Physical System

01/03/2018
by   Yuqi Chen, et al.
0

Cyber-physical systems (CPS) consist of sensors, actuators, and controllers all communicating over a network; if any subset becomes compromised, an attacker could cause significant damage. With access to data logs and a model of the CPS, the physical effects of an attack could potentially be detected before any damage is done. Manually building a model that is accurate enough in practice, however, is extremely difficult. In this paper, we propose a novel approach for constructing models of CPS automatically, by applying supervised machine learning to data traces obtained after systematically seeding their software components with faults ("mutants"). We demonstrate the efficacy of this approach on the simulator of a real-world water purification plant, presenting a framework that automatically generates mutants, collects data traces, and learns an SVM-based model. Using cross-validation and statistical model checking, we show that the learnt model characterises an invariant physical property of the system. Furthermore, we demonstrate the usefulness of the invariant by subjecting the system to 55 network and code-modification attacks, and showing that it can detect 85 generated at runtime.

READ FULL TEXT
research
09/12/2019

Learning-Guided Network Fuzzing for Testing Cyber-Physical System Defences

The threat of attack faced by cyber-physical systems (CPSs), especially ...
research
04/30/2018

Adversarial Regression for Detecting Attacks in Cyber-Physical Systems

Attacks in cyber-physical systems (CPS) which manipulate sensor readings...
research
07/07/2020

Towards Systematically Deriving Defence Mechanisms from Functional Requirements of Cyber-Physical Systems

The threats faced by cyber-physical systems (CPSs) in critical infrastru...
research
07/06/2018

CoMID: Context-based Multi-Invariant Detection for Monitoring Cyber-Physical Software

Cyber-physical software continually interacts with its physical environm...
research
12/12/2017

Toward `verifying' a Water Treatment System

Modeling and verifying real-world cyber-physical systems are challenging...
research
06/15/2021

Code Integrity Attestation for PLCs using Black Box Neural Network Predictions

Cyber-physical systems (CPSs) are widespread in critical domains, and si...
research
05/28/2020

Active Fuzzing for Testing and Securing Cyber-Physical Systems

Cyber-physical systems (CPSs) in critical infrastructure face a pervasiv...

Please sign up or login with your details

Forgot password? Click here to reset