A programmable intrusion detection method is presented to identify the malicious attacks distributed energy resources (DERs) in cyber–physical networked microgrids. The proposed injects small signals into system and uses response abnormal conditions. Because of low or even zero inertia induced by integrations DER power-electronic-interfaces, microgrids have very limited resilience capability; t...