The next large-scale military or terrorist attack on the United States, if and when it happens, may not involve airplanes or bombs or even intruders breaching American borders. Instead, such an assault may be carried out in cyberspace by shadowy hackers half a world away.