usually, such a trojan spreads through network and exploits vulnerabilities of the contaminated system to affect its performance.
It comes bundled with many other types of computer viruses such as adware and spyware.