Unveiling Physical Semantics of PLC Variables Using Control Invariants

Zeyu Yang, Liang He, Yucheng Ruan, Peng Cheng, Jiming Chen

Abstract

The security risk of semantic attacks to Industrial Control Systems (ICSs) is increasing. Semantic attacks manipulate targeted system modules by identifying the physical semantics of variables in Programmable Logic Controllers (PLCs) programs, i.e., the sensing/actuating modules represented by the variables, which is usually and inefficiently achieved via manual examination of system documents and long-term observation of system behavior. In this paper, we design <monospace xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">ARES</monospace>, a method that <underline xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">A</u>utomatically <underline xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">R</u>everse <underline xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">E</u>ngineers the <underline xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">S</u>emantics of variables in PLC programs without requiring any domain knowledge. <monospace xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">ARES</monospace> is built on the fact that the Supervisory Control And Data Acquisition (SCADA) system monitors the behavior of PLC using a fixed mapping between the variables of program code and data log, and the data log variables are marked with physical semantics. By identifying the mapping between PLC code and SCADA data (i.e., the code-data mapping), <monospace xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">ARES</monospace> reverse engineers the physical semantics of program variables. <monospace xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">ARES</monospace> also sheds light on the preferred defense strategies in implementing control rules that improve the resistance of PLC programs to semantic attacks, as well as in detecting and responding to semantics attacks in real time. We have experimentally evaluated <monospace xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">ARES</monospace> and the recommended defending practices on two ICS platforms.
BibTeX
@article{yang2025unveiling,
  author = {Zeyu Yang and Liang He and Yucheng Ruan and Peng Cheng and Jiming Chen},
  title = {{Unveiling Physical Semantics of PLC Variables Using Control Invariants}},
  journal = {IEEE Trans. Dependable Secur. Comput.},
  year = {2025},
  doi = {10.1109/tdsc.2024.3434622},
}

Loading related content...

Figure