Economics of cybersecurity