Ransomware is a type of Trojan malware used by criminals to block access to target computers so they can demand payment for restoring access.