Defensive resource allocation for cyber-physical systems in global energy interconnection