Why artificial intelligence is needed to prevent cyber attacks