Anomaly Detection with LWE Encrypted Control
Rijad Alisic, Junsoo Kim, Henrik Sandberg
TL;DR
This work addresses detecting cyber-physical attacks while signals are encrypted under LWE, avoiding decryption and extra secure channels. It builds a detection framework that applies lattice-based transformations to encrypted residuals, yielding a statistically powerful hypothesis test whose strength scales polynomially with approximate lattice solutions. The approach preserves LWE security by removing dependence on the secret through linear filtering, and the authors illustrate the method with numerical results demonstrating attack detection under realistic quantized controller settings. The study highlights the trade-offs between encryption strength, detection power, and computational effort, and suggests directions for extending the framework with more advanced lattice-reduction techniques and coarse co-design of controllers and cryptosystems.
Abstract
Detecting attacks using encrypted signals is challenging since encryption hides its information content. We present a novel mechanism for anomaly detection over Learning with Errors (LWE) encrypted signals without using decryption, secure channels, nor complex communication schemes. Instead, the detector exploits the homomorphic property of LWE encryption to perform hypothesis tests on transformations of the encrypted samples. The specific transformations are determined by solutions to a hard lattice-based minimization problem. While the test's sensitivity deteriorates with suboptimal solutions, similar to the exponential deterioration of the (related) test that breaks the cryptosystem, we show that the deterioration is polynomial for our test. This rate gap can be exploited to pick parameters that lead to somewhat weaker encryption but large gains in detection capability. Finally, we conclude the paper by presenting a numerical example that simulates anomaly detection, demonstrating the effectiveness of our method in identifying attacks.
