How
Protected is Your Computer?
by Jacky Vaniotis
Published in the Fall edition of the Maine EMS I/C News, Vol. 9, No. 4
Has your computer ever been infected by a
virus or a worm? Have you ever been exposed without
getting the virus, much as we can be exposed to an illness but
have enough immunity to avoid actually getting sick? Have
you ever found yourself worrying about the possibility of
exposure/infection, and maybe even avoided getting Internet-connected
or using e-mail for fear of infecting your computer
and files? Weve all heard of many of the contaminants that
have made the news, like Trojan Horse viruses, the Melissa and
the I Love You worms, and more recently the NIMDA viruses. (Worms
and viruses, by the way, are essentially different in that a worm
is an application that executes when its run. Unlike a
virus, it doesnt attach itself to your files. The virus is
a code that attaches to already-existing files and is only
activated when that file is run. It may do nothing more than
cause a message to pop up on your screen letting you know its
there, or it may write itself to others of your files,
contaminating them as well, causing further problems. So the
biggest difference between a virus and a worm is that a virus
spreads by exchanging files (you need to trade floppy disks, or
files, or e-mail files to each other) whereas a worm spreads
itself by itself. You might need to do something to
get a worm to spread (like opening an attachment), but you dont
need to exchange files with someone else, the worm does it itself.)
What can we do to protect ourselves from
falling victim? First of all, it is important to realize that the
only 100% secure computer is one which is turned off, unplugged,
and locked in a safe. But, since you actually want to use your
computer, you have to trade off some security.
For the purposes of virus security, there
are three types of files, and each has a different level of risk
associated with it. The first, pure data files, such as those
with the extensions .gif and .jpg, are all safe, i.e., they wont
contain viruses. Animated .gifs and .jpgs are safe, as well.
Also safe are .bmp, .wav, .mp3, .mpg, .avi, .mpeg, .txt, .rtf and
many other pure media formats. These files are only text,
pictures, sounds, and movies. The rule of thumb is that if the only
thing that a format can do is show you something, then its
obviously safe.
The second type of file is the executable
files, or program files. There are two types of executables,
those which can be executed directly and those which are executed
indirectly. Both can easily contain viruses. Direct executable
and script files, like those ending in .com, .exe, and others,
like .vbs, .vbe, .wsc, .wsf, .sct, .wsh, .js, .jse, .bat, and .pif,
are executed, or run, just by double-clicking on them.
(The new version of Adobe Acrobat is apparently also including
support for macros and scripts in .pdfs and .fdfs and
a virus therefore is possible with these now too.) Obviously, all
these executable files, therefore, are unsafe both in terms of
their potential for carrying a virus, and because just
double-clicking on them frees the virus to contaminate the
computer and do its dirty work.
Indirect executable files, such as those
ending in .dll, .ocx, .vbx, .sys, .class, .jar and many others,
tend to be pretty obscure. These could contain viruses, but youd
have to follow some really complicated and suspicious
instructions to install them. In other words, if you get one of
these, you have to be really gullible to get infected by it.
The third type of file is considered mixed:
the Microsoft Office formats, .doc, .xls, .ppt, .mdb (Word,
Excel, PowerPoint, Access) and their equivalents from other
companies, like Corel and others. These can contain both data and
macros. Thus, most of the time they contain just data but theres
a chance they could contain viruses. These are perhaps the
riskiest in that most people dont even think of risk when
opening these because most often they come from people they know.
They may even be files they are expecting, and so they may let
down their guard and open them without protecting themselves
first.
HTML files (extensions .html, .htm, .asp,
.mht, .hta, .htt, .mhtml) are also considered mixed. They mostly
just contain data, but, like the Office formats mentioned above,
they may also contain macros, and therefore viruses.
Finally, there are RM (RealMedia) and WM (Windows
Media) files, which are also mixed files because, while they
generally include only video or audio content, they can also
contain links to web sites which automatically pop up in the
RealPlayer or Windows Media browser. So this is a format to be
careful with, but its much like the MS Office files in that
far more often they will be legitimate than not.
Virus safety is a tradeoff between
functionality and security. Since you want to use your computer
on the Internet, you trade off some security, but with some
common sense you can be both functional and reasonably
secure.
First, and probably most important, get
antivirus software, but dont just install it once and
forget it. Make it a point to update it regularly (weekly isnt
too often!) With new viruses being developed all the time, you
want to make sure you always have the latest protection. If you
have to pay at the end of a year to continue getting the full
updates, do it. Its worth it. And set your security
settings to moderately high, as well, to prevent unsecure viruses
and worms from sneaking through.
Another piece of common sense is to pay
attention to what comes into your mailbox. And that goes well
beyond saying, I dont open anything if its from
somebody I dont know. The way worms work is by
attaching themselves to messages in one persons mailbox and
then mailing themselves out to everybody listed in that persons
address book, unbeknownst even to the sender. So just
knowing (and trusting) the person who sent you an attachment does
not necessarily mean its safe. Nor does the fact that
another person already opened the attachment he received on his
computer and suffered no ill effects just before he sent it
to you mean that its safe.
When you click on your attachment and the
box pops up asking you whether you want to open it now or save it
to disk, always save it to disk so you can have your antivirus
software scan it before opening it. (Remember, just saving
a contaminated file wont make anything bad happen. It has
to be run to activate the virus.) Be sure to scan any
attachment you receive before opening it. It only takes a
few extra seconds and can save you hours of work and lots of
aggravation if its a contaminated file. Think of it as
Body Substance Isolation for your computer!
Pay attention to what kind of file is
attached to that message you just got, too, and if its one
of the potentially dangerous files as mentioned
above, ask yourself if its worth the risk of opening it. (By
the way, Windows machines by default dont show file
extensions. A file called LookAtMe.doc.vbs will show up as just
LookAtMe.doc on an e-mail if you havent
instructed your computer to show extensions. It looks at first
glance like its a Word file, because your computer isnt
showing you the real extension, which is .vbs. Seeing what
appears to be an extension for a Word file, .doc, can
lull you into a false sense of security, thinking its just
a Word file. And maybe its from somebody you know so you go
ahead and open it, not realizing its one of those dangerous
direct executable files that can wreck havoc by simply double-clicking
on them. So set your computer up to see extensions. To do this,
go into Windows Explorer, select View, then Folder Options. From
there go to the View tab, and remove the checkbox on
Hide file extensions for known file types.)
As an added measure of security, I dont
open any executable files, unless they are something that
I have requested from someone myself and scanned upon receipt before
opening it. And if I receive an unexpected Word, Excel, or
PowerPoint attachment by e-mail from somebody, I dont open
it until Ive contacted the person who sent it and scanned
it. And if I can tell by the title, or the fact that its
been forwarded a half dozen times before it reaches me, that its
chain mail I just delete it without even bothering to
ask! If it was important, the sender will contact me, Im
sure.)
But what if, with all this care youre
taking, you discover that you have been exposed and arent
yet sure if youve become infected? Well, if you
are connected to the Internet when you make the discovery,
immediately disconnect so as to minimize the likelihood that your
computer will transmit your the virus/worm to others in your
address book. Then follow your virus software directions. When Ive
received viruses and worms Ive also done complete system
scans as soon as Ive discovered them to be sure that
nothing else on my computer has become contaminated.
Just like a human being can be exposed to
an illness but have strong enough defense mechanisms to avoid
becoming sick, so can your computer be exposed to a virus and not
become sick. By having your security settings high
enough (your computers BSI), by having your
antivirus software set to automatically scan all incoming mail,
by manually scanning all new files and disks you put onto your
computer before opening them, and by exercising caution in what
you open (scene safety), you can build up your
resistance to these viruses.
© 2002 by Jacqueline B. Vaniotis