How AI Decreases the Risk of Ransomware Attacks