There’s no shortage of confusing terminology in the computer biz. With the advent of malicious software, more terminology has been created that only make things less clear.
The good news is that it’s not really that difficult; in fact, you needn’t understand most of the details (besides, not everyone agrees on the exact meaning of each definition).
Let’s run down a few terms.
Become a Patron of Ask Leo! and go ad-free!
The most important term to know is malware, which is short for malicious software.
The name says it all: malware is any software that has malicious intent — destroy data, send spam, hold your data for ransom, steal your information — it doesn’t matter. It’s all malicious, it’s all software; thus, it’s all malware.
You’ll find malware used as a catch-all term for all flavors and varieties of software that intend some kind of harm.
In the human body, a virus is an organism that replicates, or makes copies of, itself and overwhelms the body’s defenses, making it sick.
When applied to computers, the term “virus” is very similar.
- A computer virus replicates itself in some way so as to spread within the computer, usually injecting itself into other programs within the computer.
- A computer virus makes the infected computer “sick”. In the computer sense, “sick” can mean poor performance, crashes, lost files and data, or more.
Very technically, the term virus does not necessarily imply that a piece of malicious software will replicate itself to other systems. In general use, it’s assumed.
Spyware is a type of malicious software intended not to do damage, but to collect information, or “spy”, on you. Spyware might monitor and report back on your browsing habits and the programs you run, or access and send other information stored on your machine. One canonical form of spyware is the keystroke logger, which, as its name implies, records your keystrokes (and often more) and uploads this information to a third party.
A worm is a program that replicates itself to other computers. It does so by infecting media, such as USB drives, that make contact with multiple systems, transmitting itself over a network somehow, or otherwise copying itself from one computer to another.
Very technically, again, the term worm does not necessarily imply malicious intent or behavior, other than the replication. In practice, malicious intent is generally assumed.
A Trojan horse — often just a “trojan” — is a program that claims to be one thing but is, in fact, another. It uses that deception to gain access to a system that would not be given, were the true intent known.
A trojan horse is not a virus per se, but it may carry them. For example, there are trojans that claim to be patches for various problems, but instead (or in addition) install malware. Software obtained from many download sites is often a type of trojan, using the promise of the software that is desired to install additional malicious software that is not.
I think of phishing as a kind of email-based trojan horse. It’s email that looks like it comes from some official site, such as your bank, PayPal, or eBay, but actually comes from someone pretending to be them. They typically use some technique to fool you into thinking they are an official site of some sort, so you hand over sensitive information, like your username and password. Once you do so, they steal your other information, often leading to hacked accounts, identity theft, or worse.
Regardless of the terms used, protect yourself
The terms are important, but they’re less important than being aware that malicious software — malware — exists, and taking the steps you need to take to keep yourself safe.
We shouldn’t have to, of course. Hackers shouldn’t exist, and operating systems and other software should be designed to perfectly protect us. The pragmatic reality, however, is that it remains our responsibility to keep our guard up.
What does that mean? As outlined in what I consider my most important article — Internet Safety: 7 Steps to Keeping Your Computer Safe on the Internet — it all boils down to using common sense, keeping your software as up-to-date as possible, and running up-to-date anti-malware tools regularly.
Subscribe to Confident Computing! Less frustration and more confidence, solutions, answers, and tips in your inbox every week.
I'll see you there!
Download (right-click, Save-As) (Duration: 5:46 — 2.7MB)
13 comments on “What’s the Difference Between a “Trojan Horse”, a “Worm”, and a “Virus”?”
Maybe it is possible to be a little clearer on the definitions.
1. Virus: the key feature of the computer coded virus is that, like the organically-coded virus, it can replicate itself from within an infected system, and spread itself to another recipient. The mechanism of spread, be it Internet via a webpage or email, or via a floppy disc or CD, is immaterial. A virus may carry a “payload” of code which it deposits on the infected host – the payload os often a worm or trojan.
2. Trojan: with its name originating from the similarity to the Trojan Horse of Greek mythology, the Trojan is computer code which you inadvertantly allow to enter your computer, past your usual defences. Like the original Trojan Horse, once entry has been granted, any kind of harm may be done to the host, but perhaps the most common purpose of many trojans is to listen for and respond to messages sent from remote hosts, opening access to your PC from the Internet at large, causing a major potential hazard to the integrity ans security of your system.
3. Worm: a computer worm is code that navigates (snakes ?) within an infected network and often damages the system by changing configurations, or by altering or removing files. Worms do not usually self-replicate, but need to be carried to a new network in order to infect it.
4. Phishing: this is the only verb in the list of terms. It is a technique used to dupe computer users into revealing critical financial of security information about themselves, commonly by imitating a legitimate finalcial or other service provider.
Hi I’ve been reading about anti-Trojan programs and would like to know:
– are trojan horse programs sufficiently different from viruses and worms that they need a specialised anti-trojan program (for example TDS-3)to detect and remove them – or will an anti-virus program do a thorough job of detection and removal?
– if there is a material differenc, what aspect of Trojans makes them so difficult to detect?
The good news is that anti-virus programs, or anti-virus programs coupled with anti-spyware programs, try to cover all of these threats. The bad news is that they can all be difficult to detect.
hey i found ur article very usefull. But what i m actually looking for is what is the difference between the cell phone viruses n computer viruses. I m doing a seminar on cell-phone viruses so would be very thankfull to you if u would provide me with some usefull information.
In concept they’re the same thing, just written for different propagation techniques, and different operating systems, making use of different vulnerabilities.
I keep getting the low in Recovery (D) disc space. When I click on it, I get a box with a picture of Recovery D disc, plus a Recycle Bin. The message is that just clearing the Bin does not help unless I permanently clear. I have done that so many times, but nothing changes. Help!
It seems like the term malware is what people should use instead of viruses when describing, uh well, malware. It seems most people still call everything a virus, or even worse, a bug.
It’s kind of like when you go to the doctor, you don’t usually know if you have a bacterial or virus infection or even worms. You just tell them the symptoms. Similarly, the technicalities, in this case, are more for the antimalware programs to handle. If fact most technicians wouldn’t be able to tell the difference simply by looking at the malware’s behavior, and it’s not that important. Just run a few AV scans with an AV program and Malwarebytes 2 free scanners: Antimalware and AdwCleaner.
The AV program makers propagate this misnomer by still calling themselves antivirus programs.
I receive “phishing” messages most days and in every instance the e-mail asks me to click on a link to rectify the “problem”.
My strategy is to hover the cursor over the link and look at the URL behind it. Almost without exception it gives the game away and clearly points to some spurious website where the originator hopes I will input valuable personal information. If the message is genuine and originates for example, from my bank, the URL under the link will begin with the name of my bank. Anything else tells me it’s a scam.
I was reading recently that in a Microsoft Power Point program merely hovering over a link is enough to become infected with malware. In other words no click is required. Could this be true?
I haven’t heard whether or not this has been patched yet.
I ran across that article again. It was on the Kim Komando Newsletter.
This is the link but if you are leery about clicking on the link from me just retype it into your browser.
It is only a problem if you have changed your Windows 10 settings to allow an external program to run automatically. The default is not to allow external programs to run automatically.
Malware has been hyped up so much that novice users are of the mistaken belief that having anti malware/virus software will protect them as so don’t do backups only inevitably lose ther important information.
Malware may occur, data loss WIll eventually happen.
I do computer repair as a sideline and my expertise is not as good as a well practiced professional. I have customers that, through various means (malware, hard drive crashes, etc.) have lost everything. Some have backups for pictures and/or documents but not programs. What do you recommend as the easiest, least expensive way for my customers to backup programs without it being too technical for them?
I actually have several – many – articles on backing up. My suggestion would be to start with a search for backup – https://askleo.com/what_backup_program_should_i_use/ would be a good place to start.