Ethics should be at the core of cybersecurity: ​Former cyber defence head