WannaCry was a ransomware cryptoworm that targeted computers running the Microsoft Windows operating system. It encrypted files on infected systems, demanding a ransom in Bitcoin to decrypt them. The attack began on May 12, 2017, and quickly spread across the globe, affecting hospitals, businesses, and government agencies.