Sanctions can be targeted  The big advantage of sanctions is that they can be as finely targeted as needed. If the sanctioning country only knows which country the cyber attack originated from then they can be broad brush sanctions, but if there is knowledge of which group initiated the attack then the sanctions can be more specific. For example in the case of unit 61398 Of the Chinese People’s Liberation Army that Mandiant showed has been attacking US companies [1] the United States could target sanctions at the People's Liberation Army by tightening weapons bans. Alternatively if the hackers are private then banning the import of certain computer equipment into that country would be appropriate. If individuals are known then the sanctions can be even more targeted, for example by freezing any bank accounts held outside their own country as the US did against North Korea when it sanctioned Banco Delta Asia through which North Korea laundered money from criminal activities. [2]  [1] Mandiant, ‘Exposing One of China’s Cyber Espionage Units’, mandiant.com, February 2013,   [2] Noland, Marcus, ‘Why Sanctions Can Hurt North Korea’, Council on Foreign Relations, 4 August 2010,