Good question, that many guys on the forum cant comprehend.
By changing the entire protocol to allow the coins from your address to be moved with the private key of the attacker, and not yours. It is possible. And the majority of nodes can do it.
Or a less complicated method is to just change the bitcoin inflation, from 12.5 BTC to 12500 BTC/ 10 minutes, and hardcode that to a way that the BTC goes to the attacker address instead of a miners.