Virus:Worm/Bagz.C.2
Date discovered:04/10/2004
Type:Worm
In the wild:No
Reported Infections:Low
Distribution Potential:Medium
Damage Potential:Medium
Static file:No
File size:~157.200 Bytes
VDF version:6.28.00.28

 General Method of propagation:
   • Email


Aliases:
   •  Symantec: W32.Bagz.D@mm
   •  Mcafee: W32/Bagz.d@MM
   •  Kaspersky: Email-Worm.Win32.Bagz.c
   •  TrendMicro: WORM_BAGZ.C
   •  Grisoft: I-Worm/Bagz.C
   •  VirusBuster: I-Worm.Bagz.F1
   •  Bitdefender: Win32.Bagz.D@mm


Platforms / OS:
   • Windows 95
   • Windows 98
   • Windows 98 SE
   • Windows NT
   • Windows ME
   • Windows 2000
   • Windows XP
   • Windows 2003


Side effects:
   • Blocks access to security websites
   • Disable security applications
   • Drops malicious files
   • Uses its own Email engine
   • Lowers security settings
   • Registry modification

 Files  It copies itself to the following locations. Those files have random bytes appended so they may differ from the original one:
   • %SYSDIR%\backup.doc %empty spaces% .exe
   • %SYSDIR%\admin.doc %empty spaces% .exe
   • %SYSDIR%\archivator.doc %empty spaces% .exe
   • %SYSDIR%\about.doc %empty spaces% .exe
   • %SYSDIR%\readme.doc %empty spaces% .exe
   • %SYSDIR%\help.doc %empty spaces% .exe
   • %SYSDIR%\photos.doc %empty spaces% .exe
   • %SYSDIR%\payment.doc %empty spaces% .exe
   • %SYSDIR%\archives.doc %empty spaces% .exe
   • %SYSDIR%\manual.doc %empty spaces% .exe
   • %SYSDIR%\inbox.doc %empty spaces% .exe
   • %SYSDIR%\outbox.doc %empty spaces% .exe
   • %SYSDIR%\save.doc %empty spaces% .exe
   • %SYSDIR%\rar.doc %empty spaces% .exe
   • %SYSDIR%\zip.doc %empty spaces% .exe
   • %SYSDIR%\ataches.doc %empty spaces% .exe
   • %SYSDIR%\documentation.doc %empty spaces% .exe
   • %SYSDIR%\docs.doc %empty spaces% .exe
   • %SYSDIR%\sysboot.doc %empty spaces% .exe


Archiving:
It creates archives and stores files in them.

The processed files are the following:
   • %SYSDIR%\backup.doc %empty spaces% .exe
   • %SYSDIR%\admin.doc %empty spaces% .exe
   • %SYSDIR%\archivator.doc %empty spaces% .exe
   • %SYSDIR%\about.doc %empty spaces% .exe
   • %SYSDIR%\readme.doc %empty spaces% .exe
   • %SYSDIR%\help.doc %empty spaces% .exe
   • %SYSDIR%\photos.doc %empty spaces% .exe
   • %SYSDIR%\payment.doc %empty spaces% .exe
   • %SYSDIR%\archives.doc %empty spaces% .exe
   • %SYSDIR%\manual.doc %empty spaces% .exe
   • %SYSDIR%\inbox.doc %empty spaces% .exe
   • %SYSDIR%\outbox.doc %empty spaces% .exe
   • %SYSDIR%\save.doc %empty spaces% .exe
   • %SYSDIR%\rar.doc %empty spaces% .exe
   • %SYSDIR%\zip.doc %empty spaces% .exe
   • %SYSDIR%\ataches.doc %empty spaces% .exe
   • %SYSDIR%\documentation.doc %empty spaces% .exe
   • %SYSDIR%\docs.doc %empty spaces% .exe
   • %SYSDIR%\sysboot.doc %empty spaces% .exe

The archives filename is one of the following:
   • %SYSDIR%\backup.zip
   • %SYSDIR%\admin.zip
   • %SYSDIR%\archivator.zip
   • %SYSDIR%\about.zip
   • %SYSDIR%\readme.zip
   • %SYSDIR%\help.zip
   • %SYSDIR%\photos.zip
   • %SYSDIR%\payment.zip
   • %SYSDIR%\archives.zip
   • %SYSDIR%\manual.zip
   • %SYSDIR%\inbox.zip
   • %SYSDIR%\outbox.zip
   • %SYSDIR%\save.zip
   • %SYSDIR%\rar.zip
   • %SYSDIR%\zip.zip
   • %SYSDIR%\ataches.zip
   • %SYSDIR%\documentation.zip
   • %SYSDIR%\docs.zip



The following files are created:

– Non malicious files:
   • %SYSDIR%\ipdb.dll
   • %SYSDIR%\jobdb.dll
   • %SYSDIR%\wdate.dll

%SYSDIR%\rpc32.exe Furthermore it gets executed after it was fully created. Further investigation pointed out that this file is malware, too. Detected as: Worm/Bagz.C.1

%SYSDIR%\run32.exe Further investigation pointed out that this file is malware, too. Detected as: Worm/Bagz.D.2

 Registry The following registry keys are added in order to load the service after reboot:

– [HKLM\SYSTEM\CurrentControlSet\Services\RPC32]
   • Type = 120
   • Start = 2
   • ErrorControl = 0
   • ImagePath = %SYSDIR%\rpc32.exe
   • DisplayName = Network Explorer
   • ObjectName = LocalSystem
   • Description = Starts and configures accessibility tools from one window

– [HKLM\SYSTEM\CurrentControlSet\Services\RPC32\Security]
   • Security = %hex values%

– [HKLM\SYSTEM\CurrentControlSet\Services\RPC32\Enum]
   • 0 = Root\LEGACY_RPC32\0000
   • Count = 1
   • NextInstance = 1

– [HKLM\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_RPC32]
   • NextInstance = 1

– [HKLM\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_RPC32\0000]
   • Service = RPC32
   • Legacy = 1
   • ConfigFlags = 0
   • Class = LegacyDriver
   • ClassGUID = {8ECC055D-047F-11D1-A537-0000F8753ED1}
   • DeviceDesc = Network Explorer

– [HKLM\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_RPC32\0000\Control]
   • *NewlyCreated* = 0
   • ActiveService = RPC32



The values of the following registry keys are removed:

–  %all registry keys%
   • %unknown% = %all directories%\pfwadmin.exe
   • %unknown% = %all directories%\persfw.exe
   • %unknown% = %all directories%\sched.exe
   • %unknown% = %all directories%\aswupdsv.exe
   • %unknown% = %all directories%\aswregsvr.exe
   • %unknown% = %all directories%\aswboot.exe
   • %unknown% = %all directories%\ashskpck.exe
   • %unknown% = %all directories%\ashskpcc.exe
   • %unknown% = %all directories%\ashsimpl.exe
   • %unknown% = %all directories%\ashserv.exe
   • %unknown% = %all directories%\ashquick.exe
   • %unknown% = %all directories%\ashpopwz.exe
   • %unknown% = %all directories%\ashmaisv.exe
   • %unknown% = %all directories%\ashlogv.exe
   • %unknown% = %all directories%\ashdisp.exe
   • %unknown% = %all directories%\ashchest.exe
   • %unknown% = %all directories%\ashbug.exe
   • %unknown% = %all directories%\ashavast.exe
   • %unknown% = %all directories%\symnavo.dll
   • %unknown% = %all directories%\statushp.dll
   • %unknown% = %all directories%\sdstp32i.dll
   • %unknown% = %all directories%\sdsok32i.dll
   • %unknown% = %all directories%\sdsnd32i.dll
   • %unknown% = %all directories%\sdpck32i.dll
   • %unknown% = %all directories%\scriptui.dll
   • %unknown% = %all directories%\scanmgr.dll
   • %unknown% = %all directories%\scandres.dll
   • %unknown% = %all directories%\scandlvr.dll
   • %unknown% = %all directories%\savscan.exe
   • %unknown% = %all directories%\savrtpel.sys
   • %unknown% = %all directories%\savrt32.dll
   • %unknown% = %all directories%\savrt.sys
   • %unknown% = %all directories%\s32navo.dll
   • %unknown% = %all directories%\s32integ.dll
   • %unknown% = %all directories%\quaropts.dat
   • %unknown% = %all directories%\quarantine
   • %unknown% = %all directories%\quar32.dll
   • %unknown% = %all directories%\qspak32.dll
   • %unknown% = %all directories%\qconsole.exe
   • %unknown% = %all directories%\qconres.dll
   • %unknown% = %all directories%\ptchinst.dll
   • %unknown% = %all directories%\probegse.dll
   • %unknown% = %all directories%\patch25d.dll
   • %unknown% = %all directories%\opscan.exe
   • %unknown% = %all directories%\officeav.dll
   • %unknown% = %all directories%\oeheur.dll
   • %unknown% = %all directories%\netbrext.dll
   • %unknown% = %all directories%\navwnt.exe
   • %unknown% = %all directories%\navw32.exe
   • %unknown% = %all directories%\navuihtm.dll
   • %unknown% = %all directories%\navui.nsi
   • %unknown% = %all directories%\navui.dll
   • %unknown% = %all directories%\navtskwz.dll
   • %unknown% = %all directories%\navtasks.dll
   • %unknown% = %all directories%\navstub.exe
   • %unknown% = %all directories%\navstats.dll
   • %unknown% = %all directories%\navshext.dll
   • %unknown% = %all directories%\navprod.dll
   • %unknown% = %all directories%\navopts.dll
   • %unknown% = %all directories%\navoptrf.dll
   • %unknown% = %all directories%\navntutl.dll
   • %unknown% = %all directories%\navlucbk.dll
   • %unknown% = %all directories%\navlogv.dll
   • %unknown% = %all directories%\navlnch.dll
   • %unknown% = %all directories%\navlcom.dll
   • %unknown% = %all directories%\navevent.dll
   • %unknown% = %all directories%\naverror.dll
   • %unknown% = %all directories%\navcomui.dll
   • %unknown% = %all directories%\navcfgwz.dll
   • %unknown% = %all directories%\navapw32.exe
   • %unknown% = %all directories%\navapw32.dll
   • %unknown% = %all directories%\navapsvc.exe
   • %unknown% = %all directories%\navapscr.dll
   • %unknown% = %all directories%\navap32.dll
   • %unknown% = %all directories%\n32exclu.dll
   • %unknown% = %all directories%\n32call.dll
   • %unknown% = %all directories%\ltchkres.dll
   • %unknown% = %all directories%\djsalert.dll
   • %unknown% = %all directories%\defalert.dll
   • %unknown% = %all directories%\cfgwzres.dll
   • %unknown% = %all directories%\cfgwiz.exe
   • %unknown% = %all directories%\ccimscn.exe
   • %unknown% = %all directories%\ccimscan.dll
   • %unknown% = %all directories%\ccavmail.dll
   • %unknown% = %all directories%\bootwarn.exe
   • %unknown% = %all directories%\avres.dll
   • %unknown% = %all directories%\avcompbr.dll
   • %unknown% = %all directories%\apwutil.dll
   • %unknown% = %all directories%\apwcmdnt.dll
   • %unknown% = %all directories%\aboutplg.dll
   • %unknown% = %all directories%\zlparser.dll
   • %unknown% = %all directories%\vsvault.dll
   • %unknown% = %all directories%\vsruledb.dll
   • %unknown% = %all directories%\vsmon.exe
   • %unknown% = %all directories%\vsdb.dll
   • %unknown% = %all directories%\vsavpro.dll
   • %unknown% = %all directories%\ssleay32.dll
   • %unknown% = %all directories%\cerbprovider.pvx
   • %unknown% = %all directories%\camupd.dll
   • %unknown% = %all directories%\zonealarm.exe
   • %unknown% = %all directories%\zl_priv.htm
   • %unknown% = %all directories%\zlclient.exe
   • %unknown% = %all directories%\zav.zap
   • %unknown% = %all directories%\zauninst.exe
   • %unknown% = %all directories%\zatutor.exe
   • %unknown% = %all directories%\tutorwiz.dll
   • %unknown% = %all directories%\security.zap
   • %unknown% = %all directories%\programs.zap
   • %unknown% = %all directories%\idlock.zap
   • %unknown% = %all directories%\framewrk.dll
   • %unknown% = %all directories%\firewall.zap
   • %unknown% = %all directories%\filter.zap
   • %unknown% = %all directories%\email.zap
   • %unknown% = %all directories%\alert.zap
   • %unknown% = %all directories%\wormres.dll
   • %unknown% = %all directories%\vsowow.dll
   • %unknown% = %all directories%\vsoupd.dll
   • %unknown% = %all directories%\vsoui.dll
   • %unknown% = %all directories%\mcshield.dll
   • %unknown% = %all directories%\vsagntui.dll
   • %unknown% = %all directories%\shlres.dll
   • %unknown% = %all directories%\shextres.inf
   • %unknown% = %all directories%\shextbin.inf
   • %unknown% = %all directories%\scrstres.inf
   • %unknown% = %all directories%\scrpsbin.inf
   • %unknown% = %all directories%\scrpres.dll
   • %unknown% = %all directories%\scanserv.dll
   • %unknown% = %all directories%\scan.dat
   • %unknown% = %all directories%\patchw32.dll
   • %unknown% = %all directories%\outscres.dll
   • %unknown% = %all directories%\outscan.dll
   • %unknown% = %all directories%\ntclient.dll
   • %unknown% = %all directories%\naievent.dll
   • %unknown% = %all directories%\naiann.dll
   • %unknown% = %all directories%\mcvsworm.dll
   • %unknown% = %all directories%\mcvsskt.dll
   • %unknown% = %all directories%\mcvsshld.exe
   • %unknown% = %all directories%\mcvsshl.dll
   • %unknown% = %all directories%\mcvsscrp.dll
   • %unknown% = %all directories%\mcvsrte.exe
   • %unknown% = %all directories%\mcvsmap.exe
   • %unknown% = %all directories%\mcvsftsn.exe
   • %unknown% = %all directories%\mcvsescn.exe
   • %unknown% = %all directories%\mcvsctl.dll
   • %unknown% = %all directories%\mcurial.dll
   • %unknown% = %all directories%\mcshield.exe
   • %unknown% = %all directories%\mcscan32.dll
   • %unknown% = %all directories%\mcmnhdlr.exe
   • %unknown% = %all directories%\mcavtsub.dll
   • %unknown% = %all directories%\imscnres.inf
   • %unknown% = %all directories%\imscnbin.inf
   • %unknown% = %all directories%\ftscnres.dll
   • %unknown% = %all directories%\emscnres.dll
   • %unknown% = %all directories%\edisk.dll
   • %unknown% = %all directories%\ashldres.dll
   • %unknown% = %all directories%\appinit.ini
   • %unknown% = %all directories%\804mbd1.img
   • %unknown% = %all directories%\804mbd1.chk
   • %unknown% = %all directories%\mghtml.exe
   • %unknown% = %all directories%\mcinfo.exe
   • %unknown% = %all directories%\mcappins.exe
   • %unknown% = %all directories%\dunzip32.dll
   • %unknown% = %all directories%\mvtx.exe
   • %unknown% = %all directories%\mpfwizard.exe
   • %unknown% = %all directories%\mpfupdchk.dll
   • %unknown% = %all directories%\mpfui.dll
   • %unknown% = %all directories%\mpftray.exe
   • %unknown% = %all directories%\mpfservice.exe
   • %unknown% = %all directories%\mpfconsole.exe
   • %unknown% = %all directories%\mpfagent.exe

 Email It contains an integrated SMTP engine in order to send emails. A direct connection with the destination server will be established. The characteristics are described in the following:


From:
The sender address is spoofed.


To:
– Email addresses found in specific files on the system.


Subject:
One of the following:
   • please responce; Read this; urgent; toxic; contract; Money; office;
      Have a nice day; Hello; Russian's; Amirecans; attachments; attach;
      waiting; best regards; Administrator; Warning; text; Vasia; re:
      Andrey; re: please; re: order; Allert!; Att; Hi



Body:
The body of the email is one of the following:

   • Did you get the previous document I attached for you?
     I resent it in this email just in case, because I
     really need you to check it out asap.
     
     Best Regards

   • Hi
     
     I made a mistake and forgot to click attach
     on the previous email I sent you. Please give me
     your opinion on this opportunity when you get a chance.
     
     Best Regards

   • Hi
     
     I was supposed to send you this document yesterday.
     Sorry for the delay, please forward this to your family if possible.
     It contains important info for both of you.

   • Hi
     
     Sorry, I forgot to send an important
     document to you in that last email. I had an important phone call.
     Please checkout attached doc file when you have a moment.
     
     Best Regards

   • Hi
     
     I was in a rush and I forgot to attach an important
     document. Please see attached doc file.
     
     Best Regards,

   • Sorry to bother you, but I am having a problem receiving your emails.
     I am responding to your last email in the attached file.
     Please get back to me if there is any problem reading the attachment

   • I am responding to your last email in the attached file.
     I had a delivery problem with your inbox, so maybe you'll receive this now.

   • Can you please check out the email I have attached?
     For some reason, I received only part of your last several emails.
     I want to make sure that there are no problems with either of our accounts.

   • This email is being sent as attachment because
     it was previously blocked by your email filters.
     Please view the attachment and respond.
     Thanks

   • I resent this email as attachment because
     it was previously blocked by your email filters.
     Please read the attachment and respond.
     Thanks

   • I apologize, but I need you to verify
     that I have the correct contact info for you.
     My system crashed last weekend and
     I lost most of my friends and work contacts.
     Please check the attached (.pdf) and
     please let me know if your info is current.

   • My last email to you was returned.
     The reason is that I am not currently
     added to your "allowed" contact list.
     Please add my updated contact info
     provided in the attached (.pdf) file
     so I can send you emails in the future.
     Sincerely

   • I have updated my email address
     See the (.pdf) file attached and
     please respond if you have any questions.

   • We have made recent updates to our database.
     Please verify your mailing address on file is correct.
     We have attached a (.pdf) sheet for you to use for your response.

   • Hello
     
     Our contact information has changed.
     See the attached (.pdf) sheet for details.
     
     Sincerely,

   • ***URGENT: SERVICE SHUTDOWN NOTICE***
     Due to your failure to comply with our email
     Rules and Regulations, your email account has been
     temporarily suspended for 24 hours unless we are contacted regarding
     this situation.
     You must read the attached document for further
     instructions. Failure to comply will result in termination of your account.
     Regards,
     Net Operator
     ***URGENT: SERVICE SHUTDOWN NOTICE***

   • ***ATTENTION: YOUR EMAIL IS NOT BEING DELIVERED!***
     
     ,
     You are currently unable to send emails.
     This may be a billing issue.
     Please call the billing center.
     The
      for the billing office is located in the attached
     contact list for your convenience.
     ***ATTENTION: YOUR EMAIL IS NOT BEING DELIVERED!***

   • ***YOUR MESSAGE HAS BEEN RECOGNIZED AS SPAM***
     Hello,
     
     The previous email you sent has been recognized as spam.
     This means your email was not delivered to your friend or client.
     You must open the attached file to receive more information.
     ***YOUR MESSAGE HAS BEEN RECOGNIZED AS SPAM***

   • Hello,
     What version of windows you are using?
     This last document I received from you came out weird.
     Please see the attached word file and resend the file to me.
     Many thanks,
     User

   • Hello,
     My PC crashed while I was sending that last email.
     I have re-attached the document of yours that I discovered.
     Please read attached document and respond ASAP.
     Sincerely,
     User

   • Hello,
     Your email was sent in an INVALID format.
     To verify this email was sent from you,
     simply open the attached email (.eml) file
     and click yes in the sender options box.
     Thank You,
     User

   • Hello,
      Your email was received.
     YOUR REPLY IS URGENT!
     Please view the attached text file for instructions.
     Regards,
     User

   • Hello,
      I was in a hurry and I forgot to attach an important
      document. Please see attached.
      Best Regards,
     User

   • Hello,
      I resent this email as attachment because
      it was previously blocked by your email filters.
      Please read the attachment and respond.
     
     Thanks,User

   • Hello,
     Sorry, I forgot to attach the new contact information.
     Please view the attached (.pdf) contact sheet.
     Sincerely,
     User


Attachment:
The filename of the attachment is one of the following:
   • backup.zip; admin.zip; archivator.zip; about.zip; readme.zip;
      help.zip; photos.zip; payment.zip; archives.zip; manual.zip;
      inbox.zip; outbox.zip; save.zip; rar.zip; zip.zip; ataches.zip;
      documentation.zip; docs.zip; backup.doc %empty spaces%.exe;
      admin.doc %empty spaces%.exe; archivator.doc %empty
      spaces%
.exe; about.doc %empty spaces%.exe; readme.doc
      %empty spaces%.exe; help.doc %empty spaces%.exe;
      photos.doc %empty spaces%.exe; payment.doc %empty
      spaces%
.exe; archives.doc %empty spaces%.exe; manual.doc
      %empty spaces%.exe; inbox.doc %empty spaces%.exe;
      outbox.doc %empty spaces%.exe; save.doc %empty
      spaces%
.exe; rar.doc %empty spaces%.exe; zip.doc %empty
      spaces%
.exe; ataches.doc %empty spaces%.exe;
      documentation.doc %empty spaces%.exe; docs.doc %empty
      spaces%
.exe; sysboot.doc %empty spaces%.exe



The email may look like one of the following:



 Mailing Search addresses:
It searches the following files for email addresses:
   • .TBB
   • .tbb
   • .TBI
   • .tbi
   • .DBX
   • .dbx
   • .HTM
   • .htm
   • .TXT
   • .txt


Avoid addresses:
It does not send emails to addresses containing one of the following strings:
   • winzip; winrar; webmaster@; update; unix; support@; support; spam;
      sopho; samples; root@; rating@; postmaster@; pgp; panda; ntivi;
      noreply; noone@; nobody@; news; netadmin@; local; listserv; linux;
      kasp; info@; icrosoft; hostmaster@; help@; google; gold-certs@; gold-;
      free-av; feste; f-secur; contract@; contact@; certs@; certific; cafee;
      bugs@; bsd; anyone@; all@; administrator@; admin; abuse; @microsoft;
      @messagelab; @iana; @foo; @avp; oocies

 Hosts The host file is modified as explained:

– In this case existing entries are deleted.

– Access to the following domains is effectively blocked:
   • ad.doubleclick.net; ad.fastclick.net; ads.fastclick.net;
      ar.atwola.com; atdmt.com; avp.ch; avp.com; avp.ru; awaps.net;
      banner.fastclick.net; banners.fastclick.net; ca.com; click.atdmt.com;
      clicks.atdmt.com; dispatch.mcafee.com; download.mcafee.com;
      download.microsoft.com; downloads.microsoft.com; engine.awaps.net;
      fastclick.net; f-secure.com; ftp.f-secure.com; ftp.sophos.com;
      go.microsoft.com; liveupdate.symantec.com; mast.mcafee.com;
      mcafee.com; media.fastclick.net; msdn.microsoft.com; my-etrust.com;
      nai.com; networkassociates.com; office.microsoft.com;
      phx.corporate-ir.net; secure.nai.com; securityresponse.symantec.com;
      service1.symantec.com; sophos.com; spd.atdmt.com;
      support.microsoft.com; symantec.com; update.symantec.com;
      updates.symantec.com; us.mcafee.com; vil.nai.com; viruslist.ru;
      windowsupdate.microsoft.com; www.avp.ch; www.avp.com; www.avp.ru;
      www.awaps.net; www.ca.com; www.fastclick.net; www.f-secure.com;
      www.kaspersky.ru; www.mcafee.com; www.my-etrust.com; www.nai.com;
      www.networkassociates.com; www.sophos.com; www.symantec.com;
      www.trendmicro.com; www.viruslist.ru; www3.ca.com; localhost




The modified host file will look like this:


 File details Programming language:
The malware program was written in MS Visual C++.


Runtime packer:
In order to aggravate detection and reduce size of the file it is packed with the following runtime packer:
   • UPX

Description inserted by Andrei Gherman on Thursday, May 4, 2006
Description updated by Andrei Gherman on Thursday, May 4, 2006

Back . . . .