Ozment knew that the Russians, among others, were littering American power plants, industrial systems, and communications networks with implants that could be used later on to alter data or shut those systems down. Since 2014, intelligence agencies had been warning that Russia was likely already inside the American electric grid. The malware took many forms, often called “BlackEnergy.”