ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel

Computer viruses, trojans, spyware and worms...what's the difference?

Updated on June 19, 2013

These days there are more hazards to surfing the internet and using your computer then people would care to think about. There are always new viruses being produced, new trojans developed, new worms pretty much on a daily basis and anti-virus/anti-spyware programs can only do so much protecting you from new threats. All these threats all cause havoc to your computer and to your life but they each do it in different ways.

Computer Virus

Basically, a computer virus is a computer program that can replicate itself. Sometimes you can tell you have a virus from the "symptoms" that you will experience, but a lot of them don't do anything that let you know you have a virus on your computer. Some don't do anything but continuously reproduce themselves in the background.

In order for the virus to begin reproducing, it has to be executed and be written into memory. A lot viruses attach themselves to an executable file that is already a part of a legitimate program. When you launch the affected program, the code from the virus is also launched along with it. From there, what happens next is dependent on the two of virus types it could be

A nonresident virus is not stored directly on your hard drive. The virus remains in an executable files that will infect your computer every time the program is accessed and run. A resident virus embeds itself into the memory of your computer and is activated whenever your computer performs a specific function and continues to infect files from there. A resident virus can spread so thoroughly in your system that it could possibly even infect antivirus programs. The fact that they are in your system memory makes it very tricky to remove and some are programmed to block any attempts to remove them.


This is a program that on the surface looks like a legitimate program but looks can be deceiving. They usually allow backdoor access to your computer to a hacker or steal your information or do other damage to your computer. Once a hacker has access to your computer, he can do everything that you can do on your computer remotely, gather any information that he wants and modify your computer any way they want. Unlike viruses, they don't make replicas of themselves on your system. Your anti-virus/anti-spyware program should be able to scan and detect these as well.

For those that like trivia, the term Trojan is derived from the story of the Trojan Horse in Greek Mythology since they appear to be harmless programs that you will install on your system where in reality they're nothing but trouble.


This is software that gathers information about you without your knowledge and sends this information, without your consent, to the individuals that wrote the software.

There are four different types of spyware: system monitors, trojans, adware, and tracking cookies. Generally, spyware is used to track and store your movements on the web and throwing up pop-up ads in your face all the time.

While spyware is used to monitor what you are doing on the internet, it could potentially collect any type of data that it wanted including your user logins and bank account information. Have you ever opened your web browser and it didn't go to your homepage but somewhere else completely? Spyware is responsible for that too.

If you have spyware on your system, you'll notice that its performance generally gets worse and can get to a point where, the computer is so slow it's almost unusable. Spyware can disable firewalls and reduce your browser security settings which makes your system more susceptible to further infections.

Anti-spyware programs are vastly available for download and a lot of anti-virus programs have added anti-spyware features to their existing products.


Worms are standalone programs that replicate themselves so that they can spread to other computers. It uses a computer network network to spread itself to others. You would typically install a worm by unknowingly opening and email attachment that contains the executable script. Once on your computer, they spontaneously generate additional emails that each have a copy of the worm. Worms almost always cause some kind of damage to a network, even if it's nothing more then consuming a lot of bandwidth.

Anti-virus and anti-spyware programs are helpful in detecting them but they must be kept up-to-date since, like viruses and the like, new ones are always being made.

Always remember that even if your anti-virus and anti-spyware programs are up-to-date it is possible to be infected. If the virus/trojan/worm/spyware is released before the company can figure out how to remove it and you download/install/open an email with one of those in it, there's nothing your program would be able to do to help you.


This website uses cookies

As a user in the EEA, your approval is needed on a few things. To provide a better website experience, uses cookies (and other similar technologies) and may collect, process, and share personal data. Please choose which areas of our service you consent to our doing so.

For more information on managing or withdrawing consents and how we handle data, visit our Privacy Policy at:

Show Details
HubPages Device IDThis is used to identify particular browsers or devices when the access the service, and is used for security reasons.
LoginThis is necessary to sign in to the HubPages Service.
Google RecaptchaThis is used to prevent bots and spam. (Privacy Policy)
AkismetThis is used to detect comment spam. (Privacy Policy)
HubPages Google AnalyticsThis is used to provide data on traffic to our website, all personally identifyable data is anonymized. (Privacy Policy)
HubPages Traffic PixelThis is used to collect data on traffic to articles and other pages on our site. Unless you are signed in to a HubPages account, all personally identifiable information is anonymized.
Amazon Web ServicesThis is a cloud services platform that we used to host our service. (Privacy Policy)
CloudflareThis is a cloud CDN service that we use to efficiently deliver files required for our service to operate such as javascript, cascading style sheets, images, and videos. (Privacy Policy)
Google Hosted LibrariesJavascript software libraries such as jQuery are loaded at endpoints on the or domains, for performance and efficiency reasons. (Privacy Policy)
Google Custom SearchThis is feature allows you to search the site. (Privacy Policy)
Google MapsSome articles have Google Maps embedded in them. (Privacy Policy)
Google ChartsThis is used to display charts and graphs on articles and the author center. (Privacy Policy)
Google AdSense Host APIThis service allows you to sign up for or associate a Google AdSense account with HubPages, so that you can earn money from ads on your articles. No data is shared unless you engage with this feature. (Privacy Policy)
Google YouTubeSome articles have YouTube videos embedded in them. (Privacy Policy)
VimeoSome articles have Vimeo videos embedded in them. (Privacy Policy)
PaypalThis is used for a registered author who enrolls in the HubPages Earnings program and requests to be paid via PayPal. No data is shared with Paypal unless you engage with this feature. (Privacy Policy)
Facebook LoginYou can use this to streamline signing up for, or signing in to your Hubpages account. No data is shared with Facebook unless you engage with this feature. (Privacy Policy)
MavenThis supports the Maven widget and search functionality. (Privacy Policy)
Google AdSenseThis is an ad network. (Privacy Policy)
Google DoubleClickGoogle provides ad serving technology and runs an ad network. (Privacy Policy)
Index ExchangeThis is an ad network. (Privacy Policy)
SovrnThis is an ad network. (Privacy Policy)
Facebook AdsThis is an ad network. (Privacy Policy)
Amazon Unified Ad MarketplaceThis is an ad network. (Privacy Policy)
AppNexusThis is an ad network. (Privacy Policy)
OpenxThis is an ad network. (Privacy Policy)
Rubicon ProjectThis is an ad network. (Privacy Policy)
TripleLiftThis is an ad network. (Privacy Policy)
Say MediaWe partner with Say Media to deliver ad campaigns on our sites. (Privacy Policy)
Remarketing PixelsWe may use remarketing pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to advertise the HubPages Service to people that have visited our sites.
Conversion Tracking PixelsWe may use conversion tracking pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to identify when an advertisement has successfully resulted in the desired action, such as signing up for the HubPages Service or publishing an article on the HubPages Service.
Author Google AnalyticsThis is used to provide traffic data and reports to the authors of articles on the HubPages Service. (Privacy Policy)
ComscoreComScore is a media measurement and analytics company providing marketing data and analytics to enterprises, media and advertising agencies, and publishers. Non-consent will result in ComScore only processing obfuscated personal data. (Privacy Policy)
Amazon Tracking PixelSome articles display amazon products as part of the Amazon Affiliate program, this pixel provides traffic statistics for those products (Privacy Policy)
ClickscoThis is a data management platform studying reader behavior (Privacy Policy)