Skip to main content
QUICK REVIEW

[Paper Review] Tracking Real-time Anomalies in Cyber-Physical Systems Through Dynamic Behavioral Analysis

P. Krishnamurthy, Ali Rasteh|arXiv (Cornell University)|Jun 18, 2024
Smart Grid Security and ResilienceEngineering3 citations
TL;DR

This paper proposes TRAPS, a real-time anomaly detection framework for cyber-physical systems (CPS) like smart grid substations that uses dynamic behavioral analysis to detect cyberattacks through semantic event extraction and signal temporal logic (STL) condition evaluation. The system processes network packets via a hierarchical pipeline to generate time-series semantic events, enabling low-latency anomaly detection with an average processing time of 60 μs per packet and throughput of ~19 Mbps, validated on a hardware-in-the-loop testbed under diverse attack scenarios including FDI, MITM, and DoS.

ABSTRACT

Increased connectivity and remote reprogrammability/reconfigurability features of embedded devices in current-day power systems (including interconnections between information technology -- IT -- and operational technology -- OT -- networks) enable greater agility, reduced operator workload, and enhanced power system performance and capabilities. However, these features also expose a wider cyber-attack surface, underscoring need for robust real-time monitoring and anomaly detection in power systems, and more generally in Cyber-Physical Systems (CPS). The increasingly complex, diverse, and potentially untrustworthy software and hardware supply chains also make need for robust security tools more stringent. We propose a novel framework for real-time monitoring and anomaly detection in CPS, specifically smart grid substations and SCADA systems. The proposed method enables real-time signal temporal logic condition-based anomaly monitoring by processing raw captured packets from the communication network through a hierarchical semantic extraction and tag processing pipeline into time series of semantic events and observations, that are then evaluated against expected temporal properties to detect and localize anomalies. We demonstrate efficacy of our methodology on a hardware in the loop testbed, including multiple physical power equipment (real-time automation controllers and relays) and simulated devices (Phasor Measurement Units -- PMUs, relays, Phasor Data Concentrators -- PDCs), interfaced to a dynamic power system simulator. The performance and accuracy of the proposed system is evaluated on multiple attack scenarios on our testbed.

Motivation & Objective

  • To address the growing cyber-attack surface in modern power systems due to increased connectivity and remote reconfigurability in IT/OT-integrated environments.
  • To develop a real-time, scalable, and computationally lightweight anomaly detection system for CPS that monitors dynamic behavioral properties beyond basic protocol checks.
  • To enable integrity verification by detecting deviations from expected temporal behaviors in communication, control, and physical dynamics of smart grid systems.
  • To support flexible, customizable anomaly detection by modeling semantic temporal characteristics at varying levels of detail based on system design and operational logic.
  • To demonstrate efficacy across diverse attack types—such as FDI, MITM, and DoS—on a realistic hardware-in-the-loop testbed.

Proposed method

  • The framework processes raw network packets through a hierarchical semantic extraction and tag processing pipeline to convert them into time-series semantic events and observations.
  • Semantic tags are extracted from network protocols (e.g., DNP3, SEL Fast Msg, IEEE C37.118) using custom parsers developed for industrial communication standards.
  • A condition evaluation engine uses Signal Temporal Logic (STL) to verify whether observed temporal behaviors satisfy expected system properties defined as logical conditions.
  • Thresholds and temporal constraints are defined on time intervals between events (e.g., unsolicited write messages) to detect anomalies such as replay attacks.
  • The system supports cross-domain anomaly monitoring (CDAM) by correlating behaviors across controllers, networks, and physical dynamics.
  • Performance is optimized via modular design and prototype implementation in Python, with potential for speed-up through migration to C++ or multithreading.

Experimental results

Research questions

  • RQ1How can real-time anomaly detection in CPS be achieved by analyzing dynamic behavioral patterns rather than static protocol syntax?
  • RQ2To what extent can semantic event extraction and temporal logic reasoning detect subtle cyberattacks like MITM replay or FDI injection in real time?
  • RQ3What is the computational overhead and throughput of a semantic-based anomaly detection system in a realistic HIL smart grid environment?
  • RQ4Can the framework be flexibly configured to model diverse system behaviors and detect anomalies without hardcoding attack signatures?
  • RQ5How does the system perform under multiple attack scenarios involving communication manipulation, control injection, and denial-of-service?

Key findings

  • The TRAPS framework achieved an average packet processing time of 60 μs, enabling a throughput of approximately 19 Mbps, with effective throughput reaching ~25 Mbps when accounting for TCP overhead.
  • The system detected replay attacks (e.g., MITM between SEL-3530 and SEL-3555) by identifying abnormal reductions in inter-message timing intervals below defined thresholds.
  • Anomalies were successfully detected across multiple attack types, including false data injection (FDI), false command injection (FCI), man-in-the-middle (MITM), and denial-of-service (DoS) attacks.
  • The average anomaly detection latency was 2.5 ms per packet, demonstrating low-latency response suitable for real-time CPS monitoring.
  • The framework demonstrated scalability and computational tractability, with performance metrics indicating potential for further optimization via low-level language migration (e.g., C++) or multithreading.
  • The system’s flexibility allows for customizable modeling of semantic temporal properties based on design logic, communication patterns, and physical dynamics, enabling broad applicability across CPS domains.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.