Minimising Cyber Attacks and Vulnerabilities