Ransomware is computer malware that installs covertly on a victim's device after the authors of ransomware instill fear and panic into the victims, causing them to click on a link. It locks the system's screen or locks the victims' files unless a ransom is paid. Ransomware is similar to advanced persistent threat (APT).
How ransomware infects computers via E-mail