Class
Virus
Platform
BAT

Parent class: VirWare

Viruses and worms are malicious programs that self-replicate on computers or via computer networks without the user being aware; each subsequent copy of such malicious programs is also able to self-replicate. Malicious programs which spread via networks or infect remote machines when commanded to do so by the “owner” (e.g. Backdoors) or programs that create multiple copies that are unable to self-replicate are not part of the Viruses and Worms subclass. The main characteristic used to determine whether or not a program is classified as a separate behaviour within the Viruses and Worms subclass is how the program propagates (i.e. how the malicious program spreads copies of itself via local or network resources.) Most known worms are spread as files sent as email attachments, via a link to a web or FTP resource, via a link sent in an ICQ or IRC message, via P2P file sharing networks etc. Some worms spread as network packets; these directly penetrate the computer memory, and the worm code is then activated. Worms use the following techniques to penetrate remote computers and launch copies of themselves: social engineering (for example, an email message suggesting the user opens an attached file), exploiting network configuration errors (such as copying to a fully accessible disk), and exploiting loopholes in operating system and application security. Viruses can be divided in accordance with the method used to infect a computer:
  • file viruses
  • boot sector viruses
  • macro viruses
  • script viruses
Any program within this subclass can have additional Trojan functions. It should also be noted that many worms use more than one method in order to spread copies via networks.

Class: Virus

Viruses replicate on the resources of the local machine. Unlike worms, viruses do not use network services to propagate or penetrate other computers. A copy of a virus will reach remote computers only if the infected object is, for some reason unrelated to the virus function, activated on another computer. For example: when infecting accessible disks, a virus penetrates a file located on a network resource a virus copies itself to a removable storage device or infects a file on a removable device a user sends an email with an infected attachment.

Read more

Platform: BAT

No platform description

Description

Technical Details

It is the harmless nonmemory resident polymorphic parasitic BAT virus. It searches for BAT files in the current directory, then infects them. While infecting a file the virus runs the ARJ archiver to pack the necessary files. If there are no ARJ.EXE file in PATH, the virus fails to replicate itself.

The infected batch file contains two parts of code and data. The first part (the header) contains five DOS commands, the second part (the rest) contains a random named BAT file that is compressed by using the ARJ archiver and a password. Thus the infected file contains the text strings (DOS commands) and the binary data (ARJ archive).

That BAT file also contains two parts: the main virus code (batch commands) and the compressed data. The compressed data contains several files: the host file, the virus data and code files. The infected files look as ARJ archive within ARJ archive:

+--------------------+
�BAT instructions    � - Header 1, startup virus code
�--------------------�
�  ARJ archive:      � - Random named BAT file packed with ARJ
� +----------------+ �
� �BAT instructions� � - Header 2, main virus code
� �----------------� �
� �  ARJ archive:  � � - The set of files
� � +------------+ � �
� � �BATALIA6.BAT� � � - Infection, polymorphic and random generator
� � �            � � �   routines
� � �hostfile.BAT� � � - The original host file
� � �ZAGL        � � � - Virus data file
� � �RULZ        � � � - Virus data file
� � �FINAL.BAT   � � � - Deletes the temporary files and subdirectory
� � +------------+ � �
� +----------------+ �
+--------------------+

Header 1 contains five commands that are selected from several variants and have different lengths, for example:

@echo off
rem arj e %0 %compec% -g5
C:COMMAND.COM nul /carj x %0 -g2
:nul arj x %0 -g7 C:COMMAND.COM
w HOST.BAT

@EcHo OfF
rem COMMAND.COM nul /carj x %0 -g1
%comspec% nul /c arj e HOST.BAT -g3
:echo C:COMMAND.COM nul /carj x %0
i HOST.BAT

The ARJ archive is encrypted with a random selected password, so the virus does not contain constant bytes, and as a result it is the first known polymorphic BAT virus.

When executed, the virus (header 1) runs ARJ archiver, extracts the second part (BAT file) and executes it. The code of the second part creates the temporary directory, extracts the files from the second archive to the temporary directory, then runs the searching, infecting and polymorphic routines, then executes the host file and deletes the temporary files and temporary directory.

The code of the virus contains the following text strings:

: Death Virii Crew  &  Stealth Group World Wide
:            P R E S E N T S
:       First Mutation Engine for BAT !
:              Without ASM !
:      [BATalia6] & FMEB (c) by Reminder

:              //         __                  _
: +--------  /// ------+ ___     Magazine     _    for VirMakers
: �+++-++- // // -+-+++� ___ ________________ _ ___________________ _ ________
: �++ � � /////  � � ���  __ ___ ___ ___ ___ ___ ___ ___    � _ ___ _ ___ ___
: �++ - +  ///// ++- ++�   _ _ _ __  __  _    _  __  _ _    _ _ _ _ _ _   _
: +------ // // -------+   _ _ _ _   ___ ___  _  ___ ___     __ ___ _ ___ ____
: GROUP  // // WORLDWIDE   _ _________________ _______________________________
:
: Box 10, Kiev   252148
: Box 15, Moscow 125080
: Box 11, Lutsk  263020
:
:               R E A D    I N F E C T E D    V O I C E
:
:                                             (c) by Reminder (May 22, 1996)

Read more

Find out the statistics of the vulnerabilities spreading in your region on statistics.securelist.com

Found an inaccuracy in the description of this vulnerability? Let us know!
Kaspersky Next
Let’s go Next: redefine your business’s cybersecurity
Learn more
New Kaspersky!
Your digital life deserves complete protection!
Learn more
Confirm changes?
Your message has been sent successfully.