Haymarket, va.-More than two dozen professional hackers have set up operations in exurban Virginia beside a mock military headquarters made of plywood. Huddled over laptops, they are preparing to launch a vicious barrage of cyberattacks. Once they break into their targets’ computer networks, the nefarious possibilities are myriad: shutting off phone lines, overloading citywide...