I think there may be adversaries smart enough to coordinate a situation to get a little hacking war going on between two friendlies who both think they're 'hacking back' at enemies.
Verifying the actual source of a hack is not necessarily easy, as far as I know.