Cyber threat detection with AI