Ransomware is a malware, which prevents users from accessing the system or personal files by locking the system or by encrypting the personal files unless a ransom is paid.