Viruses
can be classified according to certain characteristics. Depending on these
characteristics some viruses belong to a specific group but others could
be included in several groups. Some of the criteria considered when classifying
viruses are as follows:
Means through which they carry out their infection.
Techniques
they use to infect.
Techniques
they use to hide and avoid antivirus programs.
Types of
file that they infect.
Place where
they hide after infecting.
Platform
or operating system that they attack.
Actions that
they carry out.
In addition, there are other characteristics used to classify viruses
in other groups (means of propagation, trigger condition,... etc).
Although
many of them have a very special feature that clearly associates them
to one particular virus type, others may fall into several different categories.
Below is
a list of groups that classify some of the most common types of viruses:
File Infectors
Resident
Viruses
Direct Action
viruses
Overwrite
viruses
Companion
viruses
Boot viruses
Macro viruses
Worms
Trojans (Trojan
Horses)
Logic Bombs
Encrypted
Multipartite
Resident
Polymorphic
File Infectors:
This type of virus infects programs or executable files (files with an
EXE or COM extension). When one of these programs is run, directly or
indirectly, the virus is activated, producing the damaging effects it
is programmed to carry out. The majority of existing viruses belong to
this category, and can be classified depending on the actions that they
carry out.
Resident Viruses: When this type of virus is executed or activated, the
first thing it does is check if a series of pre-established conditions
have been met (date, time, etc) in order to launch its attack. If these
conditions have not been met, the virus will lie in wait in the main memory
(RAM memory) for a program to be executed. It will occupy 200 to 5000
Bytes of memory. If an executable file (program) that is not infected
is used during one of the operations carried out by the operating system,
the virus will infect it. In order to do this, the virus adds its own
malicious code to the original file code.
This type
of virus can be treated as a file infector virus. When the virus goes
memory resident, it will try and remain there until the computer is switched
off or restarted (as this type of memory is volatile -its content is lost
when the power source is shut off-). Some of these viruses modify the
system configuration (in the Windows Registry, for example), in order
to ensure that it goes memory resident every time the computer is switched
on or restarted.
Once it is
resident, it will intercept certain operating system services. These services
may be used by the programs whilst they are running. This means that resident
viruses could intervene in the operations carried out by the programs
that are running at a given time. This result is that the virus can modify
the services needed by the program, so that they point to or run parts
of the virus code. As a result the resident virus will be run whenever
a program needs and accesses the operating system services.
This type
of virus can also belong to any of the other above mentioned types. Its
main caracteristics is that it loads itself into the RAM memory upon execution.
Once the virus has gone memory resident the it will be able to control
and intercept all the programs executions or other actions carried out
on by the operating system. This way, it will be able to infect all the
files that are opened, closed, renamed or copied,...etc.
Resident virus
Theses viruses remain memory resident untill they somehow disappear from
it. Occasionally, it is possible to cancel the process by pressing the
CTRL+ALT+SUPR keys simultaneously. As we mentioned before these viurses
load themselves into the RAM memory, so they will disapppear when the
computer is switched off or rebooted. The reason for this lies in the
fact that the RAM memory is volatile (it loses its contents when the power
is turned off). However there are certain viruses that manage to load
themselves into memory when the computer is started up. These viruses
can carry out its ations when the trigger condition is met straight away,
or they can remain in memory permanently until the trigger condition is
met.
Below there
is some information about some viruses of this type. If you would like
more information, see the list of viruses in the Encyclopedia, where you
will find the descriptions of a large number of these viruses.
AntiCMOS
AntiEXE Barrotes
Viernes 13 Babylonia CIH (Chernobyl)
Direct Action Viruses: As soon as the virus is executed, it will try to
replicate, or reproduce itself. This means that it will create copies
of itself. When certain specific conditions are met, the virus will go
into action and infect files in the directory or folder that is in use
and in the directories that are specified in the AUTOEXEC.BAT file PATH.
This batch file is always located in the root directory of the hard disk
and carries out certain operations when the computer is booted. Files
infected with this type of virus can be disinfected, returning them to
their original status.
These viruses
can also be considered file infector viruses as they search for files
in order to infect them. The reason why these viruses try to replicate
is because they are not resident and therefore will not be running in
memory. This means that they have to replicate and carry out their actions
every day.
Below there
is some information about some viruses of this type. If you would like
more information, see the list of viruses in the Encyclopedia, where you
will find the description of a large number of these viruses.
Aristotle
Intruder W32/HTM.H4
Trojan/Win32.TPS VBS/ColdApe.A W98/Corvinus.A
Overwrite
Viruses: This type of virus is characterized by the fact that it does
not respect the information contained in the files that it infects, rendering
them useless once they have been infected. There are some overwrite viruses
that are resident and others that are not. Although they can be disinfected,
it is impossible to recover the infected files, meaning that the only
alternative is to delete them. This type of virus is a file infector virus.
A notable
feature of these viruses is that the size of the files infected by an
overwrite virus does not increase, as the virus does not occupy more space
than the infected file. This is because the virus places itself over the
content of the infected file, it is not added to the content of the file.
The result
of an infection by this type of virus is partial or total loss of the
content of the file, which is impossible to recover.
Below there
is some information about some viruses of this type. If you would like
more information, see the list of viruses in the Encyclopedia, where you
will find the description of a large number of these viruses.
Trivial.37.D
Trivial.88.B Trivial.88.D
Ulodozen
Companion Viruses: companion viruses can be considered file infector viruses
as well as resident or direct action. They are known as companion viruses
because once they get into the system they "accompany" the other
files that already exist. In other words, in order to carry out their
infection routines, companion viruses can wait in memory until a program
is run (resident viruses) or act immediately by making copies of themselves
(direct action viruses).
Unlike overwrite
or resident viruses, companion viruses do not modify the files that they
infect. When the operating system is working (running programs) the operating
system may have to call up a specific program. If there are two executable
files with the same name but with different extensions (one with an EXE
extension and the other with a COM extension), the operating system will
run the COM file first. Companion viruses take advantage of this characteristic
of the operating system.
If there
is an EXE file with a specific name, the virus will create another executable
file with the same name but with a .COM extension, in order to hide itself
from the user and avoid arousing suspicion. The file that is created will
contain the virus itself. When the operating system finds two files with
the same name, it will execute the file with the .COM extension first,
thereby executing the virus. Once the virus has been executed, it hands
the control back to the operating system so that it can run the original
EXE file. This way the user will not know that the virus has carried out
its infection. To be more precise, a companion virus will follow the steps
below:
It chooses a specific file with an .EXE extension to infect.
It creates
a file with the same name but with a .COM extension.
It includes
itself in the file with the .COM extension (this will be the virus itself).
It hides
the file that it has just created (the .COM file), in order not to arouse
suspicion.
From that moment on, whenever the original EXE file is run, the following
will happen:
The operating system will try to run the file with the EXE extension.
The operating
system will realize that another file with the same name exists, but with
a .COM extension.
The operating
system will run the file with the .COM extension. This is the virus.
For these reasons, companion viruses may have different formats::
Companion Viruses in MS-DOS. These viruses take advantage of the MS-DOS
command interpreter that runs COM files before EXE files (if there are
two files with the same name, one with a .COM extension and another with
an EXE).
Companion
Viruses in Windows. These viruses work in a similar way to companion viruses
in MS-DOS. The only difference is that these viruses do not create a file
with a COM extension and with the same name as the victim file. These
viruses change the extension of the victim file from EXE to COM. Then,
the virus goes memory resident and infects all of the programs that are
run.
Below there is some information about some viruses of this type. If you
would like more information, see the list of viruses in the Encyclopedia,
where you will find the description of a large number of these viruses.
DeDouble
Little Brother W95/HLLC.4096.C
Boot Virus : This type of virus affects the Boot sector of a floppy or
hard disk. This is a crucial part of a disk, in which information on the
disk itself is stored together with a program that makes it possible to
boot (start) the computer from the disk.
This kind
of virus does not affect files, which means that the contents of an infected
disk are safe as long as you do not attempt to boot the computer using
that disk. If this happens, the virus will infect the computer in the
following way:
It hides in a specific sector of the infected disk.
It reserves
a place in memory so that no other programs will be able to occupy it.
It copies
itself to this zone reserved in the memory.
From this
position in the memory, it will intercept the operating system services.
From then on the following will happen:
Whenever an operating system application calls a function to access files,
the virus takes control.
It checks
if the disk that it accesses is infected. If it is not, it will infect
it.
The virus
replaces the original boot sector (without infecting it).
It modifies
the original boot sector, writing its viral code to it.
By doing
this, the virus passes the control to the operating system. Therefore
it will seem that nothing has happened. However, the virus will continue
to act.
Boot virus infections are usually carried out through floppy disks. The
best form of protection against this happening is to write-protect all
floppy disks.
If a floppy
disk infected with a Boot virus were inserted in the disk drive of a computer,
the infection could spread to the hard disk. In this case, the MBR (Master
Boot Record) of the hard disk (or of the hard disks) of the computer would
be infected. This means that any type of disk (floppy, CD-ROM, Zip, Jazz,
etc.) used in the infected computer would also become infected.
These viruses
save a copy of the original Boot sector, but each virus may do this in
a completely different way. Some will copy them to a specific sector of
the disk and mark it as faulty. Others store it in a section of the disk
that already contained information (making it impossible to recover this
information). Finally, the most aggressive or dangerous overwrite the
original boot sector, preventing the computer from being booted using
that disk.
The best
way of avoiding boot viruses is to ensure that floppy disks are write-protected
(whenever you do not need to write on them).
Below there
is some information about some viruses of this type. If you would like
more information, see the list of viruses in the Encyclopedia, where you
will find the description of a large number of these viruses.
Anti-Telefónica
CMOS.Erase Cruel
Diablo Empire Form
Michelangelo Parity Boot Tequila
Macro Viruses: Unlike the viruses we have mentioned so far, which infect
programs (EXE or COM files) or applications, macro viruses infect the
files (documents, workbooks, presentations and/or databases) that are
created using certain applications or programs. Each of these file types
may incorporate small programs known as macros. A macro is a small program
that a user can associate to a file created using certain applications.
They do not depend on the operating system, but rather on specific actions
carried out by the user of a document containing macros. These mini-programs
make it possible to automate series of operations so that they are performed
as a single action, thereby saving the user from having to carry them
out one by one.
These macros
could become infected, this means that they could be the target of viruses
(more specifically macro viruses). In this case, when a document containing
macros is opened, they will automatically be loaded and may be executed
immediately or when the user decides to do so. The virus will then (or
at a later stage) take effect by carrying out the actions it has been
programmed to do. Contrary to popular belief, macro viruses are capable
of producing great damage and of spreading extremely quickly.
In addition,
these viruses can infect the global template (through the macros) that
the tools (word processor, spreadsheets, etc.) use. On opening a document,
spreadsheet or database with an infected template, the document will become
infected. This is the most common method used by macro viruses to spread
their infection.
As we have
already mentioned, this type of virus affects documents, spreadsheets
or workbooks, databases and/or presentations containing macros. Therefore,
the target of this type of virus will be files created with tools that
allow macros to be used. This means that there is not just one type of
macro virus, but one for each tool: Microsoft Word, Microsoft Excel, Microsoft
PowerPoint, Microsoft Access, Corel Draw, Lotus Ami Pro, etc.
Microsoft Word macro viruses
Microsoft Excel macro viruses
Microsoft Access macro viruses.
Microsoft PowerPoint macro viruses
Multipartite Macro viruses
.RTF file macro viruses
Lotus Ami Pro macro viruses.
Corel Draw macro virus.
However, not all programs or tools that allow macros to be used will be
targeted by this type of virus. The tools that are attacked by macro viruses
have to meet a certain criteria:
The macros can be transported (through any of the regular means of propagation)
from one computer to another, as they are included in the infected file
(document, spreadsheet, presentation, database, etc.).
The macros
created and incorporated in one file can be obtained, included and used
in others.
The macros
can be automatically run (when a file is opened or closed, for example),
without user intervention.
These are the most common types of macro viruses:
Microsoft
Word macro viruses. These are the most common viruses nowadays. Their
targets are text documents created and edited with Microsoft Word (DOC
files). For identification purposes, their names usually include the following
prefixes: WM (Word 6.0 and/or Word 95 macro virus), W97M (Word 97 macro
virus) or W00M (Word 2000 macro virus). In addition to the automatic macros,
macros can also be created in Visual Basic.
The most common methods of spreading the infection are via the macros
themselves, the Word global template (NORMAL.DOT file) and other types
of templates, and the Microsoft Word STARTUP directory.
Below there
is some information about some viruses of this type. If you would like
more information, see the list of viruses in the Encyclopedia, where you
will find the description of a large number of these viruses.
Bablas Class
Lewinsky
Melissa Marker Elecciones2000
Microsoft
Excel macro viruses Their objectives are spreadsheets created and edited
with Microsoft Excel (XLS files). For identification purposes, their names
usually include the following prefixes: XM (Excel 6.0 and/or Excel 95
macro virus), X97M (Excel 97 macro virus) or X00M (Excel 2000 macro virus).
In addition to the automatic macros, macros can also be created in Visual
Basic.
The most
common methods of spreading the infection are via the macros themselves,
and the Microsoft Excel XL START directory.
Below there
is some information about some viruses of this type. If you would like
more information, see the list of viruses in the Encyclopedia, where you
will find the description of a large number of these viruses.
Barisada
Laroux Manalo
Oblivion Sugar Totaler
Microsoft
Access macro viruses. Even though this type of virus is not as common
as the two previous ones, they do exist. The main difference with these
viruses is that they do not use macros, but rather the Microsoft Access
modules. Their targets are databases created and edited with Microsoft
Access (MDB files).
Microsoft
PowerPoint macro viruses. The targets of these viruses are presentations
created and edited with Microsoft PowerPoint (PPT files). The most common
methods of spreading their infection include the macros themselves, and
the PowerPoint global template.
Multipartite
Macro viruses. There are macro viruses whose target is not just one Microsoft
Office tool, but several of them (for example, they could attack both
Word documents and Excel spreadsheets). To differentiate between these
viruses and Word or Excel viruses, the following prefixes are used in
descriptions: OM (Office 95 macro virus), O97M (Office 97 macro virus)
or O00M (Office 2000 macro virus).
Below there
is some information about some viruses of this type. If you would like
more information, see the list of viruses in the Encyclopedia, where you
will find the description of a large number of these viruses.
Cybernet
HalfCross Shiver
Tristate Y2K
.RTF file
macro viruses. RTF files can be created with Microsoft Word, but they
cannot contain macros. However, if you had a DOC file (Word document)
with macros and you changed its extension to RTF, the macros of the original
DOC file will remain. The result would be a so-called "fake RTF".
This strategy
is used to give users a sense of false security. Users are aware that
RTF files should not contain macros, so they would open it. If the file
is a fake RTF, they could get infected -in the same way as if they opened
an infected DOC file.
Lotus Ami
Pro macro viruses. There are not very many of these viruses at the moment.
The target of these viruses is files created and edited with Lotus Ami
Pro word processor (SAM text files and SMM files, containing macros and
other data).
These viruses
search for other files in order to spread themselves.
Corel Draw
macro virus. The main target of these viruses is files created or edited
with the Corel Draw graphic design tool. To infect the system, they search
for Corel Draw script files (CSC files, containing elements that are similar
to macros). The virus then finds out if these files contain the line "REM
Virus". If they don't, it infects the file.
Link or Directory
Viruses: Files are documents that contain the information you are working
on (text, databases, spreadsheets, images, sound, etc.) or programs (EXE
and COM files) and other elements that make it possible to run programs.
In order to organize all this information, directories (or folders) are
created, which in turn may contain other directories called subdirectories
(or subfolders). The structure of a disk can therefore be seen as a huge
filing cabinet, in which files are stored in different drawers (directories
or folders). Another way of representing this concept is to think of the
hard drive as a desk with many drawers. These drawers are the directories
or folders where files are stored, but which could also be divided into
smaller sections (subdirectories or folders). In short, files are the
content and directories or folders are the containers of the content.
The operating
system must always have access to information on the files saved on the
computer, including the name of the file in question and where (directory
or folder) it is stored. To do this, it assigns the file an address, which
is accessed every time you want to use the file.
Link or directory
viruses change these addresses in order to infect a particular file. In
order to run a program, the operating system will immediately go to the
address assigned to this application. However, this type of virus alters
the address before the system has had time to find the program. What it
does is to change the address (in the FAT) so that it points to where
the virus is located, saving the correct address elsewhere. This way,
instead of running the target program, you will actually be executing
the virus. In short, these viruses work in the following way:
They change the address that indicates where the infected file is. That
address will now point to where the virus is.
When you
try to execute the file, you will really be executing the virus (since
the file address will now be pointing at the virus).
As this type of virus is capable of modifying the addresses where all
the hard disk files are stored, its capacity to infect ALL of them is
very real. Link or directory viruses can therefore infect entire disk
drives, although they cannot infect network drives or add their code to
infected files. If you check an infected disk for errors (using tools
like SCANDISK or CHKDSK), a large number of errors will be detected, identifying
all the links to files that have been altered by the virus. However, it
would be better not to repair this situation, as this could result in
genuine chaos as far as the data storage system is concerned, thereby
producing even more damage than the virus itself.
Below there
is some information about some viruses of this type. If you would like
more information, see the list of viruses in the Encyclopedia, where you
will find the description of a large number of these viruses.
Byway
Worms: Worms are different to other viruses since they do not infect other
files. Their sole objective is to propagate or spread to other systems
as quickly as possible. They do however make use of replication (propagation)
techniques. In fact, their objective is to copy themselves and then infect
other systems. Their infections or replications usually take place through
e-mails, computer networks and Internet IRC Channels. They could also
replicate inside the memory of a PC.
When a worm is executed, it continues running until the computer is shut
down or rebooted. However, each virus uses different techniques to ensure
that it is executed every time the computer is booted and Windows starts.
They can do this by changing the Windows Registry, for example.
Worms that
focus on infecting other computers, copy the program they use to carry
out infections to a particular directory in the infected computer. They
do this by propagating through any means that gives them access to other
computers (network, e-mail, disk drives, the Internet, etc). The worm
could also consist of more than one program. If this is the case, all
programs will be subordinate to a main program. This variation is usually
called a net worm.
These are the steps that a worm usually follows to infect other systems:
Somebody (usually a hacker), exploiting possible security vulnerabilities
within a system or software tool, sneaks the worm into a computer network.
The worm
infects the computers it has access to through the security hole.
Once it is
in, it copies itself.
After doing
that, it tries to infect all computers it can access.
Depending on the language it is written in, the techniques it uses to
propagate and other characteristics, worms can belong to several categories:
E-mail worms. these worms usually propagate through e-mail messages, using
e-mail client programs.
IRC worms (mIRC and Pirch worms). These are worms that spread through
IRC (chat) channels. The most widespread programs used to do this are
usually mIRC and Pirch.
VBS (Visual Basic Script) worms. These are worms written or created in
Visual Basic Script.
Windows32 worms: these worms spread through the Windows API (functions
belonging to a particular Internet protocol).
Below there is some information about some viruses of this type. If you
would like more information, see the list of viruses in the Encyclopedia,
where you will find the description of a large number of these viruses.
Disemboweler
ExploreZip Fix2001
Happy99 I Love You Mandragore
Navidad Pretty Park The Fly
Trojan Horses (or Trojans): Trojans cannot be considered viruses as such.
They take their name from Greek mythology (the famous wooden horse in
which Greek soldiers hid so that they could enter the city of Troy undetected
and then attack it). Trojans work in a similar way. They seem to be harmless
programs which get into a computer through any channel. When that program
is executed (they have names or characteristics which trick the user into
doing so), they install other programs on the computer which could be
harmful.
A Trojan may not activate its effects at first. However, when they are
activated (when the trigger conditions are met), files could be deleted,
information on the hard drive lost or a backdoor to the system could be
opened.
Most Trojans
access specific communication ports and leave them open for external access.
If this is the case, using a connection (in a local network or through
the Internet) somebody could access all the information stored on a computer
(passwords, personal keys, e-mail addresses, etc), send this information
to other addresses (other computers, usually the attacker's) and perform
any operation without the user's consent.
Below there is some information about some viruses of this type. If you
would like more information, see the list of viruses in the Encyclopedia,
where you will find the description of a large number of these viruses.
Asylum Bck/BO.F
Crack2000
DonaldDick Extacis KillCMOS
MTX Netbus Win32/HLLP
Logic Bombs: These activate and damage an infected system only when one
or more condition/s are met. They are not considered viruses as such,
since they do not replicate, but rather depend on the actions taken by
the user (the user usually copies and/or executes them unintentionally).
Below there is some information about some viruses of this type. If you
would like more information, see the list of viruses in the Encyclopedia,
where you will find the description of a large number of these viruses.
Restart
Encrypted:
Rather than a virus category, this is a technique that viruses could use.
A virus could belong to another category and be also encrypted (if it
uses this technique). The virus encodes or encrypts itself so that antivirus
programs cannot easily detect it. In order to perform these activities,
the virus de-encrypts itself and, when it is finished, encrypts itself
again.
Below there is some information about some viruses of this type. If you
would like more information, see the list of viruses in the Encyclopedia,
where you will find the description of a large number of these viruses.
DieHard Explosion-II
Elvira
Flip Junkie TMC
Multipartite:
These viruses can carry out many infections and do so using several techniques.
Their objectives are any elements that could be infected: files, programs,
macros, disks, etc. They are considered rather dangerous due to their
capacity to combine many infection techniques and the actions they can
carry out.
Below there
is some information about some viruses of this type. If you would like
more information, see the list of viruses in the Encyclopedia, where you
will find the description of a large number of these viruses.
Inca Natas
One Half
Pieck Tequila
Polymorphic: These are virus that use a new technique to avoid detection
by antivirus programs (they are usually the hardest viruses to find).
They change with every infection they carry out. In this way, they create
a large number of copies of themselves.
Polymorphic viruses encrypt or encode themselves in a different way (using
different algorithms and encryption keys) every time they infect a system.
This makes them impossible to find using strings or signature searches
(since these are different in every encryption).
Below there
is some information about some viruses of this type. If you would like
more information, see the list of viruses in the Encyclopedia, where you
will find the description of a large number of these viruses. ©
2004 Data Recovery Center all rights are
reserved.
Data Recovery Center
•Tel:
86-10-51627025 •
Fax: 86-10-51627025
|