Cyberattacks and data breaches are the stuff of corporate and government nightmares. Headline-making hacks, like the recent attacks by a variant of ransomware program Petya, which infected thousands ...