Best defense against cyberattacks is good offense, says former DHS official