ResiliLoop: Dual-Layer Detection and Mitigation of Sensor Spoofing in Networked Controllers
Abstract
Networked controllers increasingly receive their sensor readings over general-purpose links that an on-path attacker can tamper with. We study how two independent defense layers - per-message authentication with replay and freshness checks, and a model-based physics detector combining an observer, two-sided CUSUM and a slope invariant - divide the work of detecting sensor spoofing, and whether detection translates into keeping the physical process safe. We build a closed-loop testbed in which a temperature controller regulates a simulated room over MQTT, an attack proxy mounts five attacks (bias, slow ramp, replay, forgery, flooding), and each defense can be switched at runtime. The controller executes the same portable C defense code that the ESP32/FreeRTOS firmware uses, hosted on a PC. In a preliminary single-trial session over the full attack-by-defense matrix, the combined defenses flagged every attack within 0.2 s and held the room within 0.19 °C of its setpoint under bias, ramp, forgery and flooding, against deviations of up to 11.2 °C without defenses. Two results are negative and, we argue, the more instructive: replay was detected but the room still drifted 9 °C, because rejecting stale data leaves the controller blind to a real disturbance; and a legitimate ambient drop triggered the physics detector, whose model-based mitigation then made the deviation eleven times worse. An exhaustive search over the protocol checks also uncovered an incremental-delay attack against a naive freshness rule, which we fix.
Create a lesson
Metadata
- Categories
- cs.CR, cs.SY, eess.SY
- Comments
- 6 pages, 2 figures, 3 tables. Code: https://github.com/saadkabiruddin/resililoop (tag v1-arxiv)
Related papers
Controlled Autonomy for Agentic AI: A Layer-by-Layer Evaluation of Policy Enforcement, Cryptographic Identity and Isolation
Shared title terminologycs.CRHisham Ali, Vasileios Mavroeidis, Nikolaos Pitropakis et al.
QuickSign: Translating Network Intrusion Detection Models into Signature Rules
Shared title terminologycs.CRXin Fan Guo, Giovanni Apruzzese, Lorenzo Cavallaro et al.
Intelligent Event-Safe Cyber-Physical Attack Detection and Localization in Critical Water Infrastructure: A Cross-Dataset Study of SWaT and WADI
Shared title terminologycs.CRVictor Kebande
Energy-Aware Intrusion Detection Granularity for IoT Gateways
Shared title terminologycs.CRHuixue Han, Shangzhi Xu, Tao Liu et al.
Are DNSSEC Islands of Security a Practical Concern? Transport-Layer Fallbacks for Trust Recovery
Shared title terminologycs.CRAmogh R, Aditya Kulkarni, Tamal Das
Now You See It, Now You Don't: Manipulating Perception and Attention in Code Vulnerability Detection LLM Agents
Shared title terminologycs.CRShanquan Yang, Boyu Kuang, Chunyi Zhou et al.