Ransomware attacks work by either encrypting the user’s data or locking them out of their devices. Ransomware can get into devices through a number of means, such as these:
Emails with malicious attachments
Emails with malicious links
File downloads
Misconfigured public clouds
Remote desktop protocol
Remote server attacks
Third-party suppliers
USB and removable media devices like CDs or DVDs