Ransomware is malware that encrypts data or systems and demands a ransom, often combined with data theft and the threat of publication.