Using AI to Thwart Cloud Ransomware