Terrorism is the wrong word. But in general it's game theoretically optimal to have a policy of never giving into blackmail. If you take a bunch of hostages and start making demands, the police will never let you get away with what you want. Because they know if they did, it would inspire many copycat crimes. For some reason cyber ransom is seen differently. Even though the stakes are much lower than a hostage situation.