|
|
Do You know your Computer Virus? |
|
|||||
|
|||||||
|
|
|
Do You know your Computer Virus? There are at least three reasons. The first is the same psychology that drives vandals and arsonists. Why would someone want to bust the window on someone else’s car, or spray-paint signs on buildings or burn down a beautiful forest? For some people that seems to be a thrill. If that sort of person happens to know computer programming, then he or she may funnel energy into the creation of destructive viruses.
The second reason has to
do with the thrill of watching things blow up. Many people have a
fascination with things like explosions and car wrecks. When you were
growing up, there was probably a kid in your neighborhood who learned
how to make gunpowder and then built bigger and bigger bombs until he
either got bored or did some serious damage to himself. Creating a
virus that spreads quickly is a little like that — it creates a bomb
inside a computer, and the more computers that get infected the more
“fun” the explosion.
Of course, most virus
creators seem to miss the point that they cause real damage to real
people with their creations. Destroying everything on a person’s hard
disk is real damage. Forcing the people inside a large company to
waste thousands of hours cleaning up after a virus is real damage.
Even a silly message is real damage because a person then has to waste
time getting rid of it. For this reason, the legal system is getting
much harsher in punishing the people who create viruses. The second factor was the use of computer bulletin boards. People could dial up a bulletin board with a modem and download programs of all types. Games were extremely popular, and so were simple word processors, spreadsheets, etc. Bulletin boards led to the precursor of the virus known as the Trojan horse. A Trojan horse is a program that sounds really cool when you read about it. So you download it. When you run the program, however, it does something uncool like erasing your disk. So you think you are getting a neat game but it wipes out your system. Trojan horses only hit a small number of people because they are discovered quickly. Either the bulletin board owner would erase the file from the system or people would send out messages to warn one another.
The third factor that led
to the creation of viruses was the floppy disk. In the 1980s, programs
were small, and you could fit the operating system, a word processor
(plus several other programs) and some documents onto a floppy disk or
two. Many computers did not have hard disks, so you would turn on your
machine and it would load the operating system and everything else off
of the floppy disk.
Viruses - A virus
is a small piece of software that piggybacks on real programs. For
example, a virus might attach itself to a program such as a
spreadsheet program. Each time the spreadsheet program runs, the virus
runs, too, and it has the chance to reproduce (by attaching to other
programs) or wreak havoc. There are similarities at a deeper level, as well. A biological virus is not a living thing. A virus is a fragment of DNA inside a protective jacket. Unlike a cell, a virus has no way to do anything or to reproduce by itself — it is not alive. Instead, a biological virus must inject its DNA into a cell. The viral DNA then uses the cell’s existing machinery to reproduce itself. In some cases, the cell fills with new viral particles until it bursts, releasing the virus. In other cases, the new virus particles bud off the cell one at a time, and the cell remains alive. A computer virus shares some of these traits. A computer virus must piggyback on top of some other program or document in order to get executed. Once it is running, it is then able to infect other programs or documents. Obviously, the analogy between computer and biological viruses stretches things a bit, but there are enough similarities that the name sticks. What’s a “Worm”?
A worm is a computer
program that has the ability to copy itself from machine to machine.
Worms normally move around and infect other machines through computer
networks. Using a network, a worm can expand from a single copy
incredibly quickly. For example, the Code Red worm replicated itself
over 250,000 times in approximately nine hours on July 19, 2001. If one of the infected programs is given to another person on a floppy disk, or if it is uploaded to a bulletin board, then other programs get infected. This is how the virus spreads. The spreading part is the infection phase of the virus. Viruses wouldn’t be so violently despised if all they did was replicate themselves. Unfortunately, most viruses also have some sort of destructive attack phase where they do some damage. Some sort of trigger will activate the attack phase, and the virus will then “do something” — anything from printing a silly message on the screen to erasing all of your data. The trigger might be a specific date, or the number of times the virus has been replicated, or something similar. As virus creators got more sophisticated, they learned new tricks. One important trick was the ability to load viruses into memory so they could keep running in the background as long as the computer remained on. This gave viruses a much more effective way to replicate themselves. Another trick was the ability to infect the boot sector on floppy disks and hard disks. The boot sector is a small program that is the first part of the operating system that the computer loads. The boot sector contains a tiny program that tells the computer how to load the rest of the operating system. By putting its code in the boot sector, a virus can guarantee it gets executed. It can load itself into memory immediately, and it is able to run whenever the computer is on. Boot sector viruses can infect the boot sector of any floppy disk inserted in the machine, and on college campuses where lots of people share machines they spread like wildfire. In general, both executable and boot sector viruses are not very threatening any more. The first reason for the decline has been the huge size of today’s programs. Nearly every program you buy today comes on a compact disc. Compact discs cannot be modified, and that makes viral infection of a CD impossible. The programs are so big that the only easy way to move them around is to buy the CD. People certainly can’t carry applications around on a floppy disk like they did in the 1980s, when floppies full of programs were traded like baseball cards. Boot sector viruses have also declined because operating systems now protect the boot sector. Both boot sector viruses and executable viruses are still possible, but they are a lot harder now and they don’t spread nearly as quickly as they once could. Call it “shrinking habitat,” if you want to use a biological analogy. The environment of floppy disks, small programs and weak operating systems made these viruses possible in the 1980s, but that environmental niche has been largely eliminated by huge executables, unchangeable CDs and better operating system safeguards.
E-mail Viruses
Someone created the virus
as a Word document uploaded to an Internet newsgroup. Anyone who
downloaded the document and opened it would trigger the virus. The
virus would then send the document (and therefore itself) in an e-mail
message to the first 50 people in the person’s address book. The
e-mail message contained a friendly note that included the person’s
name, so the recipient would open the document thinking it was
harmless. The virus would then create 50 new messages from the
recipient’s machine. As a result, the Melissa virus was the
fastest-spreading virus ever seen! As mentioned earlier, it forced a
number of large companies to shut down their e-mail systems. The Melissa virus took advantage of the programming language built into Microsoft Word called VBA, or Visual Basic for Applications. It is a complete programming language and it can be programmed to do things like modify files and send e-mail messages. It also has a useful but dangerous auto-execute feature. A programmer can insert a program into a document that runs instantly whenever the document is opened. This is how the Melissa virus was programmed. Anyone who opened a document infected with Melissa would immediately activate the virus. It would send the 50 e-mails, and then infect a central file called NORMAL.DOT so that any file saved later would also contain the virus! It created a huge mess. Microsoft applications have a feature called Macro Virus Protection built into them to prevent this sort of thing. With Macro Virus Protection turned on (the default option is ON), the auto-execute feature is disabled. So when a document tries to auto-execute viral code, a dialog pops up warning the user. Unfortunately, many people don’t know what macros or macro viruses are, and when they see the dialog they ignore it, so the virus runs anyway. Many other people turn off the protection mechanism. So the Melissa virus spread despite the safeguards in place to prevent it.
In the case of the
ILOVEYOU virus, the whole thing was human-powered. If a person
double-clicked on the program that came as an attachment, then the
program ran and did its thing. What fueled this virus was the human
willingness to double-click on the executable. • In the case of the ILOVEYOU e-mail virus, the only defense is a personal discipline. You should never double-click on an attachment that contains an executable that arrives as an e-mail attachment. Attachments that come in as Word files (.DOC), spreadsheets (.XLS), images (.GIF and .JPG), etc., are data files and they can do no damage (noting the macro virus problem in Word and Excel documents mentioned above). A file with an extension like EXE, COM or VBS is an executable, and an executable can do any sort of damage it wants. Once you run it, you have given it permission to do anything on your machine. The only defense is to never run executables that arrive via e-mail. |
Jobnet's
Placement Consultants Directory - India & International
What's Inside?
with complete Addresses,
telephone numbers, email ids & specializations. |
Copyright 2006 - Jobnet Group of Publications - Jobs Magazine and Job Directory - India and International