How Viruses work?

Virus

There are ten of thousands of viruses out there, and new ones are discovered every day…

There are ten of thousands of viruses out there, and new ones are discovered every day. It is difficult to come up with a generic explanation of how viruses work, since they all have variations in the way they infect of the way they spread. So instead, we’ve taken some broad categories that are commonly used to describe various type of virus.

File Viruses (Parasitic Viruses)

File viruses are pieces of code that attach themselves to executable files, driver files of compressed files, and are activated when the host program is run. After activation, the virus may spread itself by attaching itself to other programs in the system, and also carry out the malevolent activity it was programmed for. Most file viruses spread by loading themselves in systems memory and looking for any other programs located on the drive. If it finds one, it modifies the program’s code of that it contains and activates the virus the next time it’s run. It keeps doing this over and over until it spreads across the system, and possibly to other systems that the infected program may be shared with.

Besides spreading themselves, these viruses also carry some type of destructive constituent that can be activated immediately of by particular ‘trigger’. The trigger could be a specific date, of the number of times the virus has been replicated, of anything equally trivial.

Boot Sector Viruses

A boot sector virus affects the boot sector of a hard disk, which is a very crucial part. The boot sector is where all information about the drive is stored, along with a program that makes it possible for the operating systems to boot up. By inserting its code into the boot sector, a virus guarantees that it loads into memory during every boot sequence.

A boot virus does not affect files; instead, it affects the disks that contain them. Perhaps this is the reason for their downfall. During the days when programs were carried around on floppies, the boot sector viruses used to spread like wildfire. However, with the CD-ROM revolution, it became impossible to infect per-written data on a CD, which eventually stopped such viruses from spreading.

Though boot viruses still exist, they are rare compared to new age malicious software. Another reason why they’re not so prevalent is that operating systems today protect the boot sector, which makes it difficult for them to thrive.

Multipartite Viruses

Multipartite viruses are a combination of boot sector viruses and file viruses. These viruses come in through infected media and reside in memory. They then move on to the boot sector of the hard drive. From there, the viruses infect executable files on the hard drive and spreads across the system.

There aren’t too many multipartite viruses in existence today, but in their heyday, they accounted for some major problems due to their capacity to combine different infection techniques.

Leave a Reply

Your email address will not be published. Required fields are marked *