Eng
  1. Skip to navigation
  2. Skip to content
  3. Skip to sidebar


Net-Worm:W32/Sasser


Aliases:


Net-Worm:W32/Sasser

Malware
Net-Worm
W32

Summary

A worm that replicates by sending complete, independent copies of itself over a network.



Disinfection & Removal


Automatic Disinfection

Allow F-Secure Anti-Virus to disinfect the relevant files.

For more general information on disinfection, please see Removal Instructions.


Manual Disinfection

Caution: Manual disinfection is a risky process; it is recommended only for advanced users.

To manually disinfect an infected system, first apply the Microsoft patch MS04-011, then use Task Manager to kill the "avserve.exe" process, then delete the file AVSERVE.EXE from your Windows directory and reboot.

For step-by-step instructions, see Microsoft's site:

http://www.microsoft.com/security/incident/sasser.asp#steps



Technical Details

Net-Worm:W32/Sasser refers to a small family of worms that spread to new hosts over the Internet by targeting the known MS04-011 (LSASS) vulnerability, which is caused by a buffer overrun in the Local Security Authority Subsystem Service, and will affect all machines that are:

  • Running Windows XP or Windows 2000
  • Haven't been patched against this vulnerability
  • Are connected to the Internet without a firewall

This vulnerability has been addressed and patched. For more information, please refer to the Microsoft Bulletin (http://www.microsoft.com/technet/security/bulletin/MS04-011.mspx) for more details.

Sign of infection is the existence of a file named 'C:\win.log' and frequent crashes of 'LSASS.EXE'. Sasser generates traffic on TCP ports 445, 5554 and 9996.

Sasser was written in Visual C++; the first variant, Sasser.A, spreads in a single executable which is packed and protected with several envelopes. A later variant, Sasser.B, using the filename AVSERVE2.EX.


Infection

When the worm enters the system it creates a copy of itself in the Windows Directory as 'avserve.exe'. This copy is added to the Registry as:

  • [SOFTWARE\Microsoft\Windows\CurrentVersion\Run] "avserve.exe" = "%WinDir%\avserve.exe"

To ensure that only one copy of the worm is running it creates a mutex named 'Jobaka3l'.


Network Propagation

Sasser exploits the the MS04-011 (LSASS) vulnerability to gain access the remote systems. The worm starts 128 scanning threads that try to find vulnerable systems on random IP addresses. Computers are probed on port 445 which is the default port for Windows SMB communication on NT-based systems.

The probing might crash unpatched computers.

Under Windows 2000, users can see a Windows error message like this:

Under Windows XP, users can see a Windows error message saying:

When attacking the worm first determines the version of the remote operating system then uses the appropriate parameters to attack the host.

Different parameters are used for

  • - Windows XP (universal exploit)
  • - Windows 2000 (universal exploit)
  • - Windows 2000 Advanced Server (SP4 exploit)

Other operating systems, such as Windows Me and NT are not infected by this worm.

If the attack is successful a shell is started on port 9996. Through the shell port Sasser instructs the remote computer to download and execute the worm from the attacker computer using FTP. The FTP server listens on port 5554 on all infected computers with the purpose of serving out the worm for other hosts that are being infected. Transactions through the FTP server are logged to 'C:\win.log'.

Summary of TCP ports used by the worm:

  • 445/TCP: The worm attacks through this port
  • 5554/TCP: FTP server on infected systems
  • 9996/TCP: Remote shell opened by the exploit on the vulnerable hosts






Submit a sample




Wondering if a file or URL is malicious? Submit a sample to our Lab for analysis via the Sample Analysis System (SAS)

Give And Get Advice




Give advice. Get advice. Share the knowledge on our free discussion forum.