A trojan is a type of malware that gets into your computer much like its ancient Greek namesake. It disguises itself as something friendly or desirable, then sneaks into your device when you finish your download. Trojans can be attached to emails, posted on file-sharing sites, or found in illicit storefronts.