Viruses, malware, and ransomware are common online threats that infect your computer and lead to various negative effects. For example, hackers use ransomware to lock your files and then demand payment to decrypt them. Viruses are pieces of malicious code that can infect your device by replicating themselves. They can be used to damage software, steal your bandwidth, harvest your personal information, and even render your computer or mobile useless.