In response to the emergence of spyware, a small industry has
sprung up dealing in anti-spyware software. Running anti-spyware
software has become a widely recognized element of computer
security. A number of jurisdictions have passed anti-spyware laws,
which usually target any software that is surreptitiously installed
to control a user's computer.
A Trojan horse is a program that installs malicious
software while under the guise of doing something else. A Trojan
horse differs from a virus in that a Trojan horse does not
insert its code into other computer files and appears harmless
until executed. The term is derived from the classical myth of
the Trojan Horse. Trojan horses may appear to be useful or
interesting programs (or at the very least harmless) to an
unsuspecting user, but are actually harmful when executed.
There are two common types of Trojan horses. One is ordinary
software that has been corrupted by a hacker. A hacker inserts
malicious code into the program that executes while the program
is used. Examples include various implementations of weather
alerting programs, computer clock setting software, and
peer-to-peer file sharing utilities. The other type of Trojan is
a standalone program that masquerades as something else, like a
game or image file, in order to trick the user into running the
program.
Trojan horse programs cannot operate autonomously, in
contrast to some other types of malware, like viruses or worms.
Just as the Greeks needed the Trojans to bring the horse inside
for their plan to work, Trojan horse programs depend on actions
by the intended victims. As such, if Trojans replicate and
distribute themselves, each new victim must run the Trojan.
Therefore their virulence is of a different nature, depending on
successful implementation of social engineering concepts rather
than flaws in a computer system's security design or
configuration.
A Computer Virus is a computer program that can copy itself and infect a computer without permission or knowledge of the user. The original may modify the copies or the copies may modify themselves, as occurs in a metamorphic virus. A virus can only spread from one computer to another when its host is taken to the uninfected computer, for instance by a user sending it over a network or carrying it on a removable medium such as a floppy disk, CD, or USB drive. Additionally, viruses can spread to other computers by infecting files on a network file system or a file system that is accessed by another computer. Viruses are sometimes confused with computer worms and Trojan horses. A worm, however, can spread itself to other computers without needing to be transferred as part of a host. A Trojan horse is a file that appears harmless until executed. In contrast to viruses, Trojan horses do not insert their code into other computer files. Many personal computers are now connected to the Internet and to local-area networks, facilitating their spread. Today's viruses may also take advantage of network services such as the World Wide Web, e-mail, and file sharing systems to spread, blurring the line between viruses and worms. Furthermore, some sources use an alternative terminology in which a virus is any form of self-replicating malware.
The term comes from the term virus in biology. A computer virus reproduces by making (possibly modified) copies of itself in the computer's memory, storage, or over a network. This is similar to the way a biological virus works.
Some viruses are programmed to damage the computer by damaging programs, deleting files, or reformatting the hard disk. Others are not designed to do any damage, but simply replicate themselves and perhaps make their presence known by presenting text, video, or audio messages. Even these benign viruses can create problems for the computer user. They typically take up computer memory used by legitimate programs. As a result, they often cause erratic behavior and can result in system crashes. In addition, many viruses are bug-ridden, and these bugs may lead to system crashes and data loss.
A Computer Worm is a self-replicating computer
program. It uses a network to send copies of itself to other
nodes (computer terminals on the network) and it may do so
without any user intervention. Unlike a virus, it does not need
to attach itself to an existing program. Worms always harm the
network (if only by consuming bandwidth), whereas viruses always
infect or corrupt files on a targeted computer.