Computer systems and their contents can be attacked in many ways, including through malicious software like viruses, worms, Trojan horses, and spyware. Viruses infect computers and replicate, worms transfer themselves through networks to infect other computers, Trojan horses disguise themselves as desirable programs to gain access and do harm, and spyware collects user information without consent. Other common attacks are phishing scams, denial of service attacks that overload systems, and spam emails.