Virus.VBS.FriendMess

Class Virus
Platform VBS
Description

Technical Details

This dangerous Internet worm is written in Visual Basic Script language.
For spreading, the worm uses MS Outlook 98/2000. If another mailer is used,
the worm is not able to spread, but runs its payload routine (see below).

The worm arrives to a computer as an e-mail message:

Subject: FRIEND MESSAGE
Body: A real friend send this message to you.

The message has an attached “FRIEND_MESSAGE.TXT.vbs” file. Depending upon system
settings, a real extension of the attached file (“.vbs”) may not be shown. In
this case, the filename of an attached file is displayed as a “FRIEND_MESSAGE.TXT”.

The attached file contains script written in Visual Basic Script language.
Upon being activated by double clicking on an attached file, the script gains control and
the worm begins work.

The worm creates the file “FRIEND_MESSAGE.TXT.vbs” in the Windows system directory,
and writes its own code there (this file is used later by a worm for
spreading its copies). Then the worm displays the following message:

If you receive this message remember forever: A precious friend
in all the world like only you! So think that!

After this, the worm runs its spreading routine. This routine gains access to
MS Outlook and sends infected messages to all recipients from the Outlook
address book. These messages look the same as the arrived one (see above).
While spreading, the worm stores infected-recipient addresses in the system
registry and does not send messages to already-infected recipients.

The worm contains a payload routine that overwrites a “C:AUTOEXEC.BAT” file
with commands that delete all files in the Windows directory, Windows system
directory and Windows temporary directory. These commands in
the “C:AUTOEXEC.BAT” file are executed upon system start-up.