1: \begin{definition}[Undetectable Switching and Data Injection Attack] \label{def:undetectable} Under the normal mode of operation, $q \in \mathcal{Q}$, the combination of a mode attack and a data injection attack is \emph{undetectable}, if the attacked mode and signal attack locations corresponding to $* \in \mathcal{Q}, * \neq q$ and signal magnitude attacks $d_k$ are such that $D(f^\ast_\ell \| f^q_\ell) = 0$ (i.e., Algorithm \ref{algorithm2} is not mean consistent according to Theorem \ref{thm:mean_cons}).
2: %\end{definition}
3: