Ransomware is a type of malware that encrypts files or locks systems and demands payment for their release. Attackers typically infiltrate systems through phishing emails, malicious downloads, or exploited vulnerabilities. Once inside, they encrypt files or threaten to leak stolen data unless a ransom is paid.

