Cybercriminals can install malware using easy-to-break login credentials, phishing attacks, drive-by downloads, keyloggers, trojans, vulnerable networks, or through physical access to the machine itself. Backdoors are one way that cybercriminals can access your devices to install malware.