Skip to main content

Worm:W32/Mabezat

Classification

Category:

Malware

Type:

Worm

Aliases:

  • Worm:W32/Mabezat
  • Worm.Win32.Mabezat.b
  • Win32.Worm.Mabezat.Gen
  • Mabezat.B
  • W32.Mabezat.B! (Symantec)
  • W32/Mabezat (McAfee)
  • Virus:Win32/Mabezat.B (Microsoft)
  • PE_MABEZAT.B-O (Trend Micro)
  • W32/Mabezat-B (Sophos)

Summary

Worm:W32/Mabezat is a family of worms that spreads through infected email attachments, removable drives and network shares. The worm is also capable of functioning as a polymorphic file infecting virus, as it is able to infect executable files.

Removal

Technical Details

The technical details below refer to the Worm:W32/Mabezat.B variant, which is the most prevalent variant in the wild.

Installation

On execution, the worm drops the following files into the system root drives:

  • %root%\autorun.inf
  • %root%\zPharaoh.exe

The autorun.inf file contains the following code:

  • [AutoRun] ShellExecute=zPharaoh.exe shell\open\command=zPharaoh.exe shell\explore\command=zPharaoh.exe open=zPharaoh.exe

The above process is used to automatically execute zPharaoh.exe, which contains the worm's executable code. It also makes the malware capable of propagating via removable drives.

The virus also creates the following folder:

  • C:\Documents and Settings\%currently logged-in user%\Application Data\tazebama

And may drop the file zPharaoh.dat into it.

Infection

Mazebat.B infects files in a polymorphic manner by appending data to a section of clean file code, then relocating the entire section together with the appended data. This action means that the altered code differs in every infected file.

The virus also adds garbage code to the file to 'pad' it and increase its polymorphism.

Registry

The worm modifies the Registry to disable certain functions.

It deletes this registry entry so that Autoplay is turned off:

  • HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer NoDriveTypeAutoRun = 00000091

It also creates this entry:

  • HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced ShowSuperHidden = 00000000

Protect your devices from malware with F‑Secure Total

Protecting your devices from malicious software is essential for maintaining online security. F‑Secure Total makes this easy, helping you to secure your devices in a brilliantly simple way.

  • Award‑winning antivirus and malware protection

  • Online browsing, banking, and shopping protection

  • 24/7 online identity and data breach monitoring

  • Unlimited VPN service to safe­guard your privacy

  • Password manager with private data protection

Choose how many devices you want to protect to get started.

  • Free customer support

  • Cancel anytime

  • The trial does not obligate you to buy the product

After 30 days your subscription will renew automatically for one year at €69.99.

More Support

Community

Ask questions in our Community.

User guides

Check the user guide for instructions.

Contact Support

Chat with with or call an agent.

Submit a Sample

Submit a file or URL for analysis.