The vast majority of computer spyware can be installed remotely, and the most common method for doing so is to send an email or message to the target with an attached file or link. When you open the attachment or click on the link, the malware will immediately install itself on your computer.