Nations prepare for cyber war