These types of malware are classified as ransomware. Ransomware encrypts a victim's files and demands a ransom payment, typically in cryptocurrency, in exchange for the decryption key. WannaCry spread rapidly in May 2017, and Petya (or Not‐ Petya) followed in June 2017, causing significant disruption to businesses and infrastructure.