mlsanityData to 14 Oct 2026

Code Integrity Attestation for PLCs using Black Box Neural Network Predictions

arXiv 2106.07851 ↗First posted 15 Jun 2021cs.CR cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Cyber-physical systems (CPSs) are widespread in critical domains, and significant damage can be caused if an attacker is able to modify the code of their programmable logic controllers (PLCs). Unfortunately, traditional techniques for attesting code integrity (i.e. verifying that it has not been modified) rely on firmware access or roots-of-trust, neither of which proprietary or legacy PLCs are likely to provide. In this paper, we propose a practical code integrity checking solution based on privacy-preserving black box models that instead attest the input/output behaviour of PLC programs. Using faithful offline copies of the PLC programs, we identify their most important inputs through an information flow analysis, execute them on multiple combinations to collect data, then train neural networks able to predict PLC outputs (i.e. actuator commands) from their inputs. By exploiting the black box nature of the model, our solution maintains the privacy of the original PLC code and does not assume that attackers are unaware of its presence. The trust instead comes from the fact that it is extremely hard to attack the PLC code and neural networks at the same time and with consistent outcomes. We evaluated our approach on a modern six-stage water treatment plant testbed, finding that it could predict actuator states from PLC inputs with near-100% accuracy, and thus could detect all 120 effective code mutations that we subjected the PLCs to. Finally, we found that it is not practically possible to simultaneously modify the PLC code and apply discreet adversarial noise to our attesters in a way that leads to consistent (mis-)predictions.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 21 of its 83 references that are in the map. First posted on arXiv 15 Jun 2021.

Builds on

21 of 83 references.

References · 21

  1. 2017Ensemble Adversarial Training: Attacks and Defensescited by 840
  2. 2015The Limitations of Deep Learning in Adversarial Settingscited by 790
  3. 2016Crafting Adversarial Input Sequences for Recurrent Neural Networkscited by 103
  4. 2018Adversarial Sample Detection for Deep Neural Network through Model Mutation Testingcited by 48
  5. 2018Detecting Cyberattacks in Industrial Control Systems Using Convolutional Neural Networkscited by 23
  6. 2017Robustness to Adversarial Examples through an Ensemble of Specialistscited by 21
  7. 2017Anomaly Detection for a Water Treatment System Using Unsupervised Machine Learningcited by 18
  8. 2016C-FLAT: Control-FLow ATtestation for Embedded Systems Softwarecited by 8
  9. 2018Learning from Mutants: Using Code Mutation to Learn and Monitor Invariants of a Cyber-Physical Systemcited by 6
  10. 2021Adversarial Attacks and Mitigation for Anomaly Detectors of Cyber-Physical Systemscited by 6
  11. 2019Anomaly Detection for Industrial Control Systems Using Sequence-to-Sequence Neural Networkscited by 5
  12. 2017Log-based Anomaly Detection of CPS Using a Statistical Methodcited by 4
9 more
  1. 2019Learning-Guided Network Fuzzing for Testing Cyber-Physical System Defencescited by 4
  2. 2020SoK: Attacks on Industrial Control Logic and Formal Verification-Based Defensescited by 4
  3. 2021Scanning the Cycle: Timing-based Authentication on PLCscited by 4
  4. 2016Towards Learning and Verifying Invariants of Cyber-Physical Systems by Code Mutationcited by 3
  5. 2018Control Behavior Integrity for Distributed Cyber-Physical Systemscited by 3
  6. 2020Active Fuzzing for Testing and Securing Cyber-Physical Systemscited by 3
  7. 2020No Need to Know Physics: Resilience of Process-based Model-free Anomaly Detection for Industrial Control Systemscited by 3
  8. 2016Automatically 'Verifying' Discrete-Time Complex Systems through Learning, Abstraction and Refinementcited by 2
  9. 2018Assessing the Effectiveness of Attack Detection at a Hackfest on Industrial Control Systemscited by 2

Built on by

Not cited yet.