Ransomware is a type of malware that encrypts your files and holds them captive until you pay a ransom to the assailants. It's a growing hazard to people and services alike, as the variety of ransomware attacks has increased significantly over the last few years.