Protection of computer systems and networks from attacks