Ransomware is a kind of malware that encrypts your files and holds them captive till you pay a ransom to the opponents. It's a growing hazard to people and companies alike, as the number of ransomware attacks has increased dramatically over the last few years.