Iran has developed detailed plans to attack undersea communications cables in the Gulf if the United States and Israel launch renewed military strikes.