Hackers exploited AI tools to create explicit deepfake images, bypass security measures, and sell illicit content, prompting legal action by Microsoft.