Blasting the MSBlast worm

MSBlast (alias Lovsan, Blaster, and Posa) is an Internet worm that takes advantage of the Distributed Component Object Model (DCOM) Remote Procedure Call (RPC) interface buffer overflow flaw. Although Microsoft issued a patch on July 17, 2003, many people have yet to patch their systems.

Ironically, the worm threatens to shut down the windowsupdate.com site, the source of Microsoft security patches.

While the DCOM vulnerability affects Windows NT4, Windows 2000, Windows XP and Windows Server 2003, the worm only infects Windows 2000 and XP.

Because the method by which the vulnerability is exploited varies between the two operating systems, there have been numerous confirmed reports of the worm "crashing" systems. This happens when a worm uses a Windows 2000 exploitation technique on an XP machine and vice versa. The worm will use the Windows XP method 80 percent of the time, and the remaining attempts are directed at Windows 2000.

It is worth noting that an updated version of the worm could affect other Microsoft operating systems, so it is recommended that all of our readers patch their systems against the DCOM vulnerability.

How it works
MSBlast does not spread via e-mail. Instead, it scans the Internet on port 135 looking for vulnerable computers. When it finds one, it attempts to exploit the DCOM RPC buffer overflow, create a remote root shell on TCP port 4444, then use FTP to download a file called msblast.exe onto the infected computer.

MSBlast contains a denial-of-service (DoS) attack aimed at Microsoft's windowsupdate.com. The attack will start on August 15 and continues throughout the end of the year. MSBlast updates the system Registry with the following line so that it will run each time the computer is rebooted.

Hkey_local_machine\software\Microsoft\Windows\CurrentVersion\ Run "windows auto update" = msblast.exe I just want to say LOVE YOU SAN!! Bill

Detection
The worm is very easily detected by users. Pressing control-alt-delete, then clicking on "Task Manager" and selecting the "Processes" tab will bring up a list of processes running on the machine. Clicking on "Image Name" will sort the processes alphabetically. If there is a process named "msblast.exe" running on the system, then it has been infected by the worm. Prevention
The best prevention is to install the patch from Microsoft. Users who have not yet patched their Windows 2000, NT, and XP systems should do so.

Removal
The worm is relatively easy to clean up after detection.

Step one is to patch the infected system against the vulnerability that allowed the worm to "get in" in the first place. This process requires the user of the computer to have administrator level access to the system.

Once the user is logged in again with administrator rights, what they need to do is load up Internet Explorer, and direct the browser to windowsupdate.microsoft.com. The user will be prompted by some pop up windows, directed through a fairly easy to understand and intuitive process.

The next step is to reboot the system.

After the system has rebooted it will be necessary to delete the worm's executable file, msblast.exe. However, its process must be stopped before it can be deleted.

Once the user logs back in with administrator rights, they should load up the "Task manager" again as described above. Click on the "Image Name" field under the "Processes" tab and click once on the "msblast.exe" process. Press "End Process" to stop it from running.

The worm's executable file will be found in the system32 directory, which is a subdirectory of (by default) the "winnt" directory in Windows 2000 machines, and the "windows" directory in Windows XP installations.

Use Windows Explorer to navigate to the system32 directory, locate the mblast.exe file and delete it. Reboot your system. Done!

The final step, removing the registry key created by the worm, is optional. It isn't really that important -- the key simply causes the worm to start every time the system is re-booted, but once the worm file itself is deleted it's redundant anyway.

This is done manually by using the registry editor. It is important to note that making incorrect changes to the registry can have catastrophic consequences.

Load the registry editor by clicking on the start button, navigating to "Run..." and typing in "regedit". Run regedit and navigate to the following "key".

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run

In the right hand section of the registry editor, the following value will be found:

"windows auto update"="msblast.exe"

Delete it.

Reboot. Done!

A few antivirus software companies have updated their signature files to include this worm. This will stop the infection upon contact and in some cases will remove an active infection from your system. For more information, see Central Command, F-Secure, McAfee, Symantec, and Trend Micro.

ZDNet Australia wishes to thank Hamish O'Dea and Jakub Kaminski from Computer Associates, Paul Ducklin from Sophos, and Grant Slender from Internet Security Systems for their assistance in preparing this guide.

Like this article? Click below to send it to your mobile for free!

Talkback 7 comments

  1. I did manage to eventually rid the worm from my PC, but what you failed to mention is the time in which you have to do it. I think it takes anything from 1 to 4 minutes minutes before the shutdown screen comes on and you have to work fast to get everythin Anonymous -- 14/08/03

    I did manage to eventually rid the worm from my PC, but what you failed to mention is the time in which you have to do it. I think it takes anything from 1 to 4 minutes minutes before the shutdown screen comes on and you have to work fast to get everything done in that time.

  2. I have yet to see an article that addresses the looped ports visible with a "netstat -a" command... Even after the worm is removed, there is still a lot of strange activity. I also noticed that cmd.exe still fires up its hidded shell after msbla Ryan -- 15/08/03

    I have yet to see an article that addresses the looped ports visible with a "netstat -a" command... Even after the worm is removed, there is still a lot of strange activity. I also noticed that cmd.exe still fires up its hidded shell after msblast.exe is removed... I'd like to know if anyone has solved those issues...
    Ryan

  3. i managed to run the msblast.exe file removal tool, which in turn removed the virus, but am unable to patch the problem. When installing the patch, i get the error "u do not have the minimum requirement of Service Pack Installed"... So Anonymous -- 15/08/03

    i managed to run the msblast.exe file removal tool, which in turn removed the virus, but am unable to patch the problem. When installing the patch, i get the error "u do not have the minimum requirement of Service Pack Installed"...

    So i go to download the 2000 server pack 2 which takes 3 hours on a dial up connection, and still doesnt work.

    Secondly, the virus has killed my Nortons AntiVirus 2003, once loaded, all my statuses are set to "refreshing".

    So i think i should reinstall Nortons 2k3, but find that the internal Windows Installer has been virus'd as well, so i cannot uninstall/install anything.

    So i go to symantec, to download a windows 2000 installer patch, but the only patch available is the Nortons Liveupdate one, which of course i cant use, because Nortons is dead.

    Any Help?
    Im totally lost

  4. hey i know! dont want to worry about viruses anymore? do this take you computer outside, drench it with motor oil, then drive you car over it! joe -- 18/08/03

    hey i know!

    dont want to worry about viruses anymore?

    do this

    take you computer outside, drench it with motor oil, then drive you car over it!

  5. I think we have had more than enough share of the worm for reports to indicate. Nigeria for example has been devastated with the incessant attack of the Msblast. After about a week, I managed to clear off the problem from my Cybercafe. My first attac Peter Ogeds -- 19/08/03

    I think we have had more than enough share of the worm for reports to indicate. Nigeria for example has been devastated with the incessant attack of the Msblast.
    After about a week, I managed to clear off the problem from my Cybercafe. My first attack was on my server and at an instance I thought my staff wre going to do some explanation on why they browse on it.
    I later discovered from my follow ups that the worm attacks irrespective of browsing or usage.

    Peerog.
    Agege, Lagos.

  6. Great Info Thanks Mark Longson UK Anonymous -- 06/11/03

    Great Info Thanks Mark Longson UK

  7. Great Info Thanks Mark Longson UK Anonymous -- 06/11/03

    Great Info Thanks Mark Longson UK

Add your opinion


Latest Videos

Sponsored content

Power Centre - Content from our premier sponsors

Blogs

  • Renai LeMay Australian Govt funds IT start-ups
    This week Australia's Federal Government announced it had allocated $3.6 million in funding to 57 local research projects so that they could be commercialised, with many of them being web or IT-related start-ups.
  • Array Google should come clean on datacentres
    It's nice that Google says it has put an effort into making its datacentres more energy efficient, but the search giant's pledges won't mean much until it discloses just how many of the beasties it's actually running.
  • Array US shows what OPEL could have been
    Sprint's WiMAX roll-out in Baltimore will prove the Australian government's decision to worm its way out of the Opel WiMAX contract was a short-sighted, and ultimately damaging, political stunt that has benefited nobody.
  • More blogs »

Tags

Back to top

Featured