English
The Internet threat alert status is currently normal. At present, no major epidemics or other serious incidents have been recorded by Kaspersky Lab’s monitoring service. Internet threat level: 1

Virus.Win32.Stream.a

Detected Sep 04 2000 09:45 GMT
Released Sep 07 2000 20:00 GMT
Published Sep 04 2000 09:45 GMT

Technical Details

This is the first known Windows virus using the "stream companion" infection method. This method is based on an NTFS feature that allows for the creation of multiple data streams associated with a file.

NTFS Streams

Each file contains at least one default data stream that is accessed just by file name. Each file may also contain additional stream(s) that can be accessed by their personal names (filename:streamname).

The default file stream is the file body itself (in pre-NTFS terms). For instance, when an EXE file is executed, the program is read from the default file stream; when a document is opened, its contents are also read from the default stream.

Additional file streams may contain any data. The streams cannot be accessed or modified without reference to the file. When a file is deleted, its streams are deleted as well; if a file is renamed, the streams follow the new name.

In a Windows package, there are no standard tools to view/edit file streams. To "manually" view file streams, you need to use special utilities, for instance FAR utility with file-streams support plug-in (Ctrl-PgDn displays file streams for selected file).

Virus Operation

The virus itself is a Windows application (PE EXE file) compressed by Petite PE EXE files compressor and is about 4K in size. When run, it infects all EXE files in the current directory and then returns control to the host file. If any error occurs, the virus displays the message:

Win2k.Stream by Benny/29A & Ratter
  This cell has been infected by [Win2k.Stream] virus!

While infecting a file, the virus creates a new stream associated with the victim file, and that stream has the "STR" name; i.e., the complete stream name is "FileName:STR". The virus then moves the victim file body to the STR stream (default stream, see above) and then overwrites the victim's file body (default stream) with its own (virus) code.

As a result, when an infected file is executed, Windows reads the default stream (that is overwritten by the virus code) and executes it. Also, Windows reports the same file size for all infected files - that is the virus length.

To release control to the host program, the virus just creates a new process by accessing the original file program with the "FileName:STR" name.

This infection method should work on any NTFS system, but the virus checks the system version and runs only under Win2000.


Bookmark and Share
Share
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.

Aliases

Virus.Win32.Stream.a (Kaspersky Lab) is also known as:

  • Win32.Stream.a (Kaspersky Lab)
  • Win2K.Stream.a (Kaspersky Lab)
  • Win2K.Stream (Kaspersky Lab)
  • Virus: W2K/Stream (McAfee)
  • W2K/Stream (Sophos)
  • Win2k.Stream.Exe (ClamAV)
  • Win2K/Stream (Panda)
  • W32/Stream.3628 (FPROT)
  • Virus:Win32/Stream.A (MS(OneCare))
  • Win2K.Benny.3628 (DrWeb)
  • Win2000/Stream virus (Nod32)
  • Win2K.Stream.B (BitDef7)
  • Win2k.Stream (VirusBuster)
  • Win2k:Stream (AVAST)
  • Virus.Win32.Stream.B (Ikarus)
  • Win32/Stream (AVG)
  • W2K.Stream (NAV)
  • Streams.3628 (Norman)
  • W2K/Stream (NAI)
  • PE_STREAM.A (PCCIL)
  • Win32.Stream (Rising)
  • PE_STREAM.A (TrendMicro)