Ransomware is malicious software that encrypts files or systems, preventing access until a ransom is paid. Although ransomware most commonly targets computers and corporate networks, websites can also be affected if appropriate security measures and reliable backups are not in place.