AI to the fore in war on cyberattacks