Abstract: The emergence of networked electrical machines has increased susceptibility to anomalies, including cyber-attack and physical faults, potentially leading to significant operational disruptions. In this article, we propose an online adaptive anomaly detection algorithm, adaptive enveloped singular spectrum transformation (AdaESST), which aims to identify hard-to-detect anomalies effectively. AdaESST first extracts informative components of signals by embedding the waveform data into subspaces using singular value decomposition, and then calculates anomalous score based on the subspace distance between two subsequence time series. AdaESST outperforms traditional detection methods by its capacity to adjust to new operational scenarios, thereby offering persistent protection in dynamic industrial environments. Throughout all numerical experiments simulating real-world industrial conditions, AdaESST exhibits high detection accuracy in monitoring motor and point of common coupling (PCC) currents, demonstrating its capability to safeguard against sophisticated anomalies. The detection accuracy for PCC currents is on par with that for motor currents. In essence, AdaESST has the potential to reduce the requirements for sensors, thereby lowering maintenance costs while maintaining high data integrity and security. The work contributes to enhancing the security of networked electrical machines, presenting a resilient and cost-efficient strategy in the face of emerging anomalies.