Aliz is a very small email worm written in pure Assembly. The worm's file is only 4 kilobytes long and its code is compressed. It can be considered one of the smallest Win32 worms ever created.
When the worm is run, it first unpacks itself and then passes control to API address setup routine. When all needed API addresses are collected, the control is passed to the main worm's code. The worm checks the Registry for the location of Windows Address Book file and loads it into memory. The worm then connects to default SMTP server (for SMTP server info the worm checks Internet Account Manager data in the Registry) and sends itself to all recepients of Windows Address Book. The infected message looks like that:
Subject: Subject: <randomly composed from several different parts, see below>
Body: <empty multi-part MIME message with HTML formatting and i-frame trick>
The subject of infected message is randomly composed from 5 (sometimes less) different parts:
For example a subject can be: "Fw: Cool pictures i found !!" or "Nice website to check hehe ;-)".
The message contains a MIME-encoded attachment - the worm's file with 'Whatever.exe' name. The body is an empty multi-part MIME message with HTML formatting and i-frame trick that was previously found in Nimda and Klez worms. Because of this trick on some systems the worm is able to self-launch itself when an infected email is viewed (for example, with Outlook and IE 5.0 or 5.01). To do this the worm uses a known vulnerability in IE that allows execution of an email attachment. This vulnerability is fixed and a patch for it is available on Microsoft site:
Some email browsers where i-frame trick doesn't work can show the word 'peace' in infected email message's body.
The worm doesn't install itself to system, it runs, sends itself out and terminates its process in case of errors.
The worm contains the following text strings that are never displayed:
F-Secure Anti-Virus detects Aliz worm since May 2001.