Ransomware is a malicious program designed to encrypt and lock a computer system until a fee is paid effectively holding the system to ransom. Ransomware attacks are usually carried out using a trojan worm that a user is tricked into opening. These trojans can arrive through email or from a phishing scam.