Gates: ‘Think like attackers’