Ransomware: Understanding and Defeating the Threat