Open In App

What is a Computer Virus?

Last Updated : 24 Aug, 2023
Improve
Improve
Like Article
Like
Save
Share
Report

A computer virus is a type of malicious computer program that replicates itself and adds its own code when executed. When the replication process is complete, this code infects the other files and programs on your system. These computer viruses exist in a variety of types, and each of them can infect a device in a unique way.

Table of Content

What is a Computer Virus?

A computer virus is a sort of malware that attaches itself to another program and can replicate and propagate once it has been installed on a user’s computer. When a computer changes the way in which it should work normally, it is said to be infected by a virus. This virus may spread from one computer to another.

For example, you may receive an email with a harmful attachment, inadvertently open the file, and the computer virus then infects your machine. Or in other words, a harmful software application that is installed without the user’s knowledge/ consent on their computer and then performs some malicious acts is known as a virus. A virus attaches itself to another software, once infected the system, in such a way that the host program’s execution activates the virus’s actions simultaneously. It has the ability to self-replicate itself into other programs or files and infecting them. Computer viruses are harmful but the majority of them engage in malicious activity, such as data destruction.

History of Computer Virus

Viruses have been infecting various devices for a long term via the Internet or some other medium. The viruses are created with an intention to steal information, completely destroy the device, etc. The “Creeper system, ” the first computer virus, was an experimental self-Multiplying virus launched in 1971. Then, the Rabbit virus came in the mid-1970s and was extremely active and it self-replicated very fast & wrecked the functionality at the same speed. The first computer virus was known as “Elk Cloner” and was built in 1982, by Rich Skrenta. It spread by a floppy disc with a game on it and hooked itself to the Apple II operating system.
Brain,” the first computer virus for MS-DOS, was introduced in 1986. The boot sector of the floppy disc would be overwritten, preventing the computer from booting. It was created by two Pakistani brothers and was intended to be used as a copy protection system. In 1988, the age of catastrophic viruses began. Most viruses were basically joked with humorous names and messages till then. In 1988, “The Morris” was the first virus that propagated widely.

Types of Computer Virus

  • Boot sector virus: This virus infects the boot sector of the computer and runs every time the computer boots and before the operating system loads. Floppy disks and other bootable media become infected. They are sometimes referred to as memory viruses because they do not infect the file system.
  • File Virus: Infects the system by appending itself to the end of a file. It changes the start of a program such that the control jumps to its code.
  • Email-Virus: They are comprised of malicious code that is propagated through email messages and can be activated when a user clicks on a link in an email message, opens an email attachment, or interacts in any manner with the infected email message.
  • Polymorphic Virus: Poly means many and morphic means forms. So this virus changes its form every time. A virus signature is a pattern that can be used to assess whether a virus exists or not (a series of bytes that make up virus code). This virus changes itself every time when it is installed so that it can avoid detection by antivirus software. Here, only the signature of this virus is updated, the functionality remains the same. 
  • Macro Virus: These viruses are activated when a program capable of performing a macro is executed. Macro viruses, for example, can be found in spreadsheet files.
  • Multipartite Virus: This virus has the power to infect a computer’s boot sector, memory, and files, among other areas. This complicates its detection and containment.
  • Encrypted Virus: To avoid detection by antivirus software, this type of virus is encrypted. There’s also a decryption algorithm included. As a result, before running, the virus decrypts.
  • Stealth Virus: This virus is difficult to detect because it modifies the code used to detect it. As a result, virus detection is extremely difficult.
  • Resident Virus: A virus that saves itself in the computer’s memory before infecting additional files and programs after the original software stops working. Because it is hidden in the computer memory and difficult to remove, this virus can easily infect other files.
  • Direct action Virus: If a virus is tied to an executable file and when the file is opened or run, that virus gets installed/ spread, it is known as “direct action”. This virus does not delete any files or lay impact on the speed of the system; it just renders your files inaccessible.
  • Browser Hijacker Virus: This virus attacks and can adjust the computer browser’s settings. it can also force your browser to malicious sites.

What Does a Computer Virus Do?

A virus can harm or destroy data, slow down system resources, and log keystrokes, among other things. A virus has the ability to have unexpected or harmful outcomes during this procedure, such as destroying system software by corrupting data. Some computer viruses are designed to damage your computer by destroying files, corrupting applications, or reformatting the hard drive. Even less dangerous computer infections can have a substantial impact on your system’s performance, eating up RAM and triggering frequent crashes. Other viruses may just clone themselves or flood a network with traffic, rendering all internet activity difficult. 

How a Computer gets A Virus?

Through the following activities you may get your device infected by the virus :

  • Sharing the data like music, files, and images with each other.
  • If you open a spam email or an attachment in an email that is sent by an unknown person.
  • Downloading the free games, toolbars, media players, etc.
  • Visiting a malicious website.
  • Installing pirated software(s) etc.

Common Signs of Computer Viruses

If your system is infected by the virus, the following symptoms may be seen :

  • Opening of Pop-up window frequently. Pop-ups may entice you to visit odd locations. They will take you to a page to download any antivirus (which is actually not an antivirus), or other harmful software.
  • Slowing down of system without any reason.
  • Updated homepage. For example, the homepage is replaced by a website and you would not be able to undo that replacement.
  • Identifying that your files are corrupted.
  • Change in the name of your hard drive & also change in its volume.
  • Change in amount of free memory available.
  • Not able to find your files or programs.
  • Unknown change in the password that does not let you login.
  • A virus may damage your hard drive and our device may freeze or crash as a result of this.

Examples of Computer Viruses

Below are some examples of computer viruses.

  • Morris Worm: One of the first and most widespread computer viruses, this self-replicating computer program spread across the early Internet in 1988, delaying or crashing many devices.
  • Nimda: In 2001, this type of worm targeted web servers and machines running Microsoft Windows, propagating via several attack vectors.
  • ILOVEYOU: A extremely damaging worm that spread via email disguised as a love confession and overwrote data, causing extensive damage in 2000.
  • SQL Slammer: A computer worm that propagated quickly in 2003 by exploiting a vulnerability in Microsoft SQL Server, causing network congestion and disabling Internet services.
  • Stuxnet: It was a sophisticated worm that was built in 2010 to target and damage industrial control systems, primarily Iran’s nuclear program, by exploiting zero-day vulnerabilities.
  • CryptoLocker: In 2013, this ransomware Trojan infected hundreds of thousands of computers, encrypted victims’ files and demanded a fee to unlock them.
  • Conficker: This worm, which first appeared in 2008, targeted vulnerabilities in Windows operating systems, resulting in the creation of a vast botnet and widespread infestation.
  • Tinba: This banking Trojan, discovered in 2012, primarily targeted financial institutions, attempting to steal login passwords and banking information.
  • Shlayer: Since 2018, a macOS-specific Trojan has been distributing adware and potentially unwanted programs via bogus software updates and downloads.

How To Remove Computer Viruses?

To get rid of a computer infection, you have two options:

  • Do-it-yourself manual approach
  • Seek the assistance of a reliable antivirus product.

In the manual approach, online search is usually the first step in this approach. You can be requested to complete a huge list of tasks. To finish the procedure, you’ll need time and maybe some experience.

What is Antivirus?

Antivirus software is a program that searches for, detects, prevents, and removes software infections that can harm your computer. Antivirus can also detect and remove other dangerous software such as worms, adware, and other dangers. This software is intended to be used as a preventative measure against cyber dangers, keeping them from entering your computer and causing problems. Antivirus is available for free as well. Anti-virus software that is available for free only provides limited virus protection, whereas premium anti-virus software offers more effective security. For example Avast, Kaspersky, etc.

Computer Virus – FAQs

1. How can you protect your computer system from viruses?

We can use antivirus software to keep your computer safe from viruses. Antivirus software works by comparing the files and programs on your computer to a database of known malware types. It will also monitor computers for the presence of new or undiscovered malware threats, as hackers are constantly generating and propagating new viruses. 

2. What are computer virus infection sources. 

The sources via which you can infect your system with viruses are :
1. Downloading programs/software from the internet.
2. Emails
3. External devices like pen-drives
4. Using an unknown CD to Boot data
5. Bluetooth/ infrared

3. How do computer viruses spread?

Computer viruses are typically propagated by email, file sharing, or CDs or by downloading file(s) from unauthenticated sources. 

4. What is an Anti-Virus?

An anti-virus is a piece of software that consists of programs or a collection of programs that can detect and remove all unsafe and malicious software from your system. This anti-virus software is created in such a way that it can look through a computer’s files and detect which files are heavily or moderately infected by a virus.



Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads