Self-defence against cyber attacks