Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Trojan horse (computing)

From Wikipedia, the free encyclopedia
Type of malware

Part of a series on
Computer hacking

Incomputing, atrojan horse (or simplytrojan;[1] often capitalized,[2] but see below) is a kind ofmalware that misleads users as to its true intent by disguising itself as a normal program.

Trojans are generally spread by some form ofsocial engineering. For example, a user may be duped into executing anemail attachment disguised to appear innocuous (e.g., a routine form to be filled in), or into clicking on a fake advertisement on theInternet. Although their payload can be anything, many modern forms act as abackdoor, contacting a controller who can then have unauthorized access to the affected device.[3]Ransomware attacks are often carried out using a trojan.

Unlikecomputer viruses andworms, trojans generally do not attempt to inject themselves into other files or otherwise propagate themselves.[4]

Origins of the term

[edit]

The term is derived from theancient Greek story of the deceptiveTrojan Horse that led to the fall of the city ofTroy.[2]

It is unclear where and when the computing concept, and this term for it, originated; but by 1971 the firstUnix manual assumed its readers knew both.[5]

Another early reference is in a US Air Force report in 1974 on the analysis of vulnerability in theMultics computer systems.[6]

The term "Trojan horse" was popularized byKen Thompson in his 1983Turing Award acceptance lecture "Reflections on Trusting Trust",[7] 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.[8][9]

Capitalization

[edit]

The computer term "Trojan horse" is derived from the legendaryTrojan Horse of the ancient city ofTroy. For this reason "Trojan" is often capitalized, especially in older sources. However, many modernstyle guides[10] and dictionaries[1] suggest a lower-case "trojan" for this technical use.

Behavior

[edit]
Screenshot ofMiniPanzer

Once installed, trojans may perform a range of malicious actions. Many tend to contact one or moreCommand 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.[11]

In German-speaking countries,spyware used or made by the government is sometimes calledgovware. 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.[12][13] Examples of govware trojans include the SwissMiniPanzer and MegaPanzer[14] and theGerman "state trojan" nicknamed R2D2.[12] German govware works by exploiting security gaps unknown to the general public and accessing smartphone data before it becomes encrypted via other applications.[15]

Due to the popularity ofbotnets 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 byBitDefender from January to June 2009, "Trojan-type malware is on the rise, accounting for 83% of the global malware detected in the world."[16] BitDefender has stated that approximately 15% of computers are members of a botnet, usually recruited by a trojan infection.[17]

Recent investigations have revealed that the trojan-horse method has been used as an attack oncloud 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.[18]

Classifications of Trojan horses

[edit]

Trojans are usually classified based on their primary function or intended impact. One major category is thebanking trojan, which is designed to steal financial information such as online banking credentials, credit card numbers, or cryptocurrency wallet keys.[19]Zeus andTrickBot are among the most studied examples of this type. Another category is theremote access trojan (RAT), which allows attackers to gain full control over an infected system, enabling them to install additional software, access files, or monitor user activity.[20]

Some trojans are primarilydownloaders, meaning they serve as an initial infection stage by installing other forms of malware once inside a system. These often pave the way forransomware,spyware, orbotnet recruitment.[21] Information-stealing trojans are also common, collecting sensitive data such as browser cookies, stored credentials, or documents without the user’s knowledge. Furthermore,fake antivirus trojans imitate legitimate security software, tricking users into paying for unnecessary or harmful services.[22]

Because trojans can be adapted for multiple purposes, many modern types have overlapping features, mixing elements ofbackdoors, spyware, and downloaders.[23] This adaptability has been a major factor in their prevalence as one of the most common forms of malware.

Linux ls example

[edit]

A trojan horse is aprogram that purports to perform some legitimate function, yet upon execution it compromises the user's security.[24] One simple example[25] is the following malicious version of the Linuxls 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 runls from that directory —if and only if the victim's executable searchPATH unwisely[25] included the current directory. — would execute/tmp/ls instead of/usr/bin/ls, and have their home directory deleted.

#!/usr/bin/env bashrm-rf~2>/dev/null# Remove the user's home directory, then remove self.rm$0

Similar scripts could hijack other common commands; for example, a script purporting to be thesudo command (which prompts for the user's password) could instead mail that password to the attacker.[24]

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 resembletyposquatting andsupply chain attacks.

Prevention and mitigation

[edit]

Preventing trojan infections requires a mix of user awareness, technical safeguards, and proactive security practices. Educating users about the dangers of downloading unverified files or executing unknown programs remains an effective way to prevent attacks.[26] Security software such as antivirus and anti-malware programs can help detect, quarantine, and remove trojans when kept up to date.[27]

Safe browsing practices—such as avoiding suspicious links, refraining from downloading software from untrusted sources, and exercising caution with email attachments—are also key to reducing risk.[28] Additionally, maintaining regular software and operating system updates ensures that known vulnerabilities are patched, making it harder for trojans to exploit weaknesses.[29]

In professional environments, network firewalls, intrusion detection systems (IDS), and email filtering tools are commonly used to block suspicious traffic and prevent trojans from communicating with external servers. Regular security checks, employee training programs, and routine data backups further strengthen defenses and help reduce potential damage in the event of an infection.[30]

Notable examples

[edit]
Map of countries touched by ANOM

There have been many well-known trojans that have played an important role in the history of cybersecurity. An early example is theAIDS trojan, developed in 1989. It is considered one of the first forms of ransomware, as it encrypted filenames on infected computers and demanded payment to restore them.[31] Another famous example is theZeus trojan, first identified in 2007. Zeus mainly targeted Microsoft Windows systems and was designed to steal banking credentials throughman-in-the-browser attacks, which infected a user's browser to intercept and manipulate data, leading to widespread financial losses and data breaches.[32]

In 2016, theMEMZ trojan, a Windows-based program, became widely recognized for its complex and destructive payloads. MEMZ gained notoriety for displaying unusual visual effects on infected machines and ultimately rendering the systems unusable.

Private and governmental

[edit]

Publicly available

[edit]

Detected by security researchers

[edit]

See also

[edit]

References

[edit]
  1. ^ab"trojan".Collins Advanced Dictionary. RetrievedMarch 29, 2020.
  2. ^abMichael Gregg (2015). "Backdoors and Trojans".The Network Security Test Lab: A Step-by-Step Guide. Wiley. pp. 338–340.ISBN 978-1-118-98705-6. RetrievedMarch 29, 2020.Unlike a virus or worm, Trojans cannot spread themselves.
  3. ^"Difference between viruses, worms, and trojans".Symantec Security Center. Broadcom Inc.Archived from the original on August 19, 2013. RetrievedMarch 29, 2020.
  4. ^"VIRUS-L/comp.virus Frequently Asked Questions (FAQ) v2.00 (Question B3: What is a Trojan Horse?)". October 9, 1995. Archived fromthe original on August 5, 2020. RetrievedSeptember 16, 2019.
  5. ^Thompson, Ken; Ritchie, Dennis M."Unix Programmer's Manual, November 3, 1971"(PDF). p. 5. RetrievedMarch 28, 2020.Also, one may not change the owner of a file with the set—user—ID bit on, otherwise one could create Trojan Horses able to misuse other's files.
  6. ^Paul A. Karger; Roger R. Schell (June 1974)."Multics Security Evaluation: Vulnerability Analysis, ESD-TR-74-193"(PDF).HQ Electronic Systems Division: Hanscom AFB, MA.2. 4.2.1. Archived fromthe original(PDF) on July 9, 2011. RetrievedDecember 24, 2017....some sort of protection from user written applications programs that may contain "Trojan Horses" [sic]
  7. ^Ken Thompson (1984)."Reflection on Trusting Trust".Communications of the ACM.27 (8):761–763.doi:10.1145/358198.358210.
  8. ^Paul A. Karger; Roger R. Schell (2002)."Thirty Years Later: Lessons from the Multics Security Evaluation"(PDF).ACSAC:119–126.
  9. ^Karger and Schell wrote that Thompson added this reference in a later version of his Turing conference speech:Ken Thompson (November 1989), "On Trusting Trust.",Unix Review,7 (11):70–74
  10. ^"trojan horse".Microsoft Style Guide.Microsoft. RetrievedMarch 29, 2020.
  11. ^Jamie Crapanzano (2003).Deconstructing SubSeven, the Trojan Horse of Choice (Report).SANS Institute. RetrievedMay 10, 2021.
  12. ^abBasil Cupa,Trojan Horse Resurrected: On the Legality of the Use of Government Spyware (Govware)Archived February 1, 2014, at theWayback Machine, LISS 2013, pp. 419–428
  13. ^"Häufig gestellte Fragen (Frequently Asked Questions)". Federal Department of Justice and Police. Archived fromthe original on May 6, 2013.
  14. ^Dunn, John (August 27, 2009)."Swiss coder publicises government spy Trojan".TechWorld. Archived fromthe original on January 26, 2014. RetrievedJanuary 10, 2021.
  15. ^"German federal police use trojan virus to evade phone encryption".DW. RetrievedApril 14, 2018.
  16. ^"BitDefender Malware and Spam Survey finds E-Threats Adapting to Online Behavioral Trends".BitDefender. August 3, 2009. Archived fromthe original on August 8, 2009. RetrievedMarch 27, 2020.
  17. ^Ganesh Datta (August 7, 2014)."What are Trojans?".SecurAid. Archived fromthe original on August 12, 2014. RetrievedMarch 27, 2020.
  18. ^Kanaker, Hasan; Karim, Nader Abdel; Awwad, Samer A. B.; Ismail, Nurul H. A.; Zraqou, Jamal; Ali, Abdulla M. F. Al (December 20, 2022)."Trojan Horse Infection Detection in Cloud Based Environment Using Machine Learning".International Journal of Interactive Mobile Technologies.16 (24):81–106.doi:10.3991/ijim.v16i24.35763.ISSN 1865-7923.
  19. ^GeeksforGeeks Staff (July 23, 2025)."What are Banking Trojans?".GeeksforGeeks. RetrievedOctober 5, 2025.
  20. ^NortonLifeLock Editors (March 14, 2024)."What is a Remote Access Trojan (RAT)?".Norton Blog. NortonLifeLock. RetrievedOctober 5, 2025.{{cite web}}:|author= has generic name (help)
  21. ^Andy Greenberg (June 21, 2023)."17 types of Trojans and how to defend against them".CSO Online. IDG Communications, Inc. RetrievedOctober 5, 2025.
  22. ^NortonLifeLock Editors (February 5, 2024)."What is a Trojan and how does it work?".Norton Blog. NortonLifeLock. RetrievedOctober 5, 2025.{{cite web}}:|author= has generic name (help)
  23. ^NortonLifeLock Editors (February 5, 2024)."What is a Trojan and how does it work?".Norton Blog. NortonLifeLock. RetrievedOctober 5, 2025.{{cite web}}:|author= has generic name (help)
  24. ^abPatrick H. Wood; Stephen G. Kochan (1985).UNIX System Security. Hayden Books. pp. 42–43.ISBN 0-8104-6267-2.
  25. ^ab"What's wrong with having '.' in your $PATH?".CETS Answers. University of Pennsylvania Computing and Educational Technology Services. RetrievedNovember 28, 2023.
  26. ^Cybersecurity and Infrastructure Security Agency (March 10, 2024)."Recovering from Viruses, Worms, and Trojan Horses".CISA.gov. U.S. Department of Homeland Security. RetrievedOctober 5, 2025.
  27. ^Tim Grance; Karen Kent (November 2008)."Guide to Malware Incident Prevention and Handling"(PDF). NIST Special Publication 800-83 Revision 1. National Institute of Standards and Technology. RetrievedOctober 5, 2025.
  28. ^Federal Bureau of Investigation (April 2025)."On the Internet: Safety Resources and Scam Prevention".FBI.gov. RetrievedOctober 5, 2025.
  29. ^Cybersecurity and Infrastructure Security Agency (March 10, 2024)."Recovering from Viruses, Worms, and Trojan Horses".CISA.gov. U.S. Department of Homeland Security. RetrievedOctober 5, 2025.
  30. ^Cybersecurity and Infrastructure Security Agency (September 1, 2020)."AA20-245A: Technical Approaches to Uncovering and Remediating Malicious Activity".CISA Cybersecurity Advisories. U.S. Department of Homeland Security. RetrievedOctober 5, 2025.
  31. ^Ransomware.org Staff (May 17, 2024)."The History of Ransomware: The AIDS Trojan Attack".Ransomware.org. RetrievedOctober 5, 2025.
  32. ^CrowdStrike Intelligence Team (August 8, 2024)."What is Zeus Malware?".CrowdStrike. RetrievedOctober 5, 2025.
  33. ^Seth Kulakow (2001).NetBus 2.1: Is It Still a Trojan Horse or an Actual Valid Remote Control Administration Tool? (Report).SANS Institute.Archived from the original on May 11, 2022. RetrievedOctober 3, 2025.
  34. ^orbitalsatelite (September 21, 2016)."Mega-Panzer".SourceForge.
  35. ^orbitalsatelite (September 18, 2016)."Mini-Panzer".SourceForge.
  36. ^"Trojanized Adware Family Abuses Accessibility Service".Lookout.com. November 19, 2015.
  37. ^Dave Neal (November 20, 2015)."Shedun trojan adware is hitting the Android Accessibility Service".The Inquirer. Incisive Business Media. Archived from the original on November 22, 2015. RetrievedMarch 27, 2020.
  38. ^Michael Bentley."Lookout discovers new trojanized adware; 20K popular apps caught in the crossfire".blog.lookout.com. Archived fromthe original on February 19, 2017. RetrievedApril 8, 2016.
  39. ^"Shuanet, ShiftyBug and Shedun malware could auto-root your Android". November 5, 2015.
  40. ^Times, Tech (November 9, 2015)."New Family of Android Malware Virtually Impossible To Remove: Say Hello To Shedun, Shuanet And ShiftyBug".
  41. ^Goodin, Dan (November 19, 2015)."Android adware can install itself even when users explicitly reject it".Ars Technica. RetrievedAugust 8, 2025.

Notes

[edit]

External links

[edit]
Malware topics
Infectious malware
Concealment
Malware for profit
By operating system
Protection
Countermeasures
Threats
vectorial version
vectorial version
Defenses
Related
security
topics
Licenses
Compensation models
Delivery methods
Deceptive and/or illicit
Software release life cycle
Copy protection
Authority control databasesEdit this at Wikidata
Retrieved from "https://en.wikipedia.org/w/index.php?title=Trojan_horse_(computing)&oldid=1321104591"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp