Microsoft warns hackers are using AI at every stage of cyberattacks.