New technologies are making it easier and cheaper to attack and more difficult and expensive to defend.