W32.Darby.B

Risk Level 2: Low

Printer Friendly Page

Discovered: October 18, 2004
Updated: February 13, 2007 12:28:47 PM
Also Known As: W32.HLLW.Darby, Worm.P2P.Darby.o [Kaspersky], WORM_DARBY.O [Trend Micro], W32/Darby.gen [McAfee]
Type: Worm
Systems Affected: Windows 2000, Windows 95, Windows 98, Windows Me, Windows NT, Windows Server 2003, Windows XP


When W32.Darby.B is executed, it does the following:
  1. Displays one of the following fake error messages in English or Spanish (depending on the language settings of the target host):
    • The file this total or partially damaged, impossible to open the file.
    • El archivo esta total o parcialmente danado, imposible abrir el archivo.

  2. Creates one or more copies of itself in %System% folder using one of the following file names:
    • NETRUNDLDRV
    • XPWIEKLIBl
    • WINDEFRAGUPD
    • IMAGE0X
    • KILLUSA
    • MICROROUTESTAT
    • DOSRUNDLDLL
    • CDGGROUPS386

      The files will have .com, .exe, .pif, or .scr file extensions.

      Note: %System% is a variable that refers to the System folder. By default this is C:\Windows\System (Windows 95/98/Me), C:\Winnt\System32 (Windows NT/2000), or C:\Windows\System32 (Windows XP).

  3. Adds the value:

    "[random worm filename]" = "%System%\[random worm filename]"

    to the registry key:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Run


    so that the worm runs when Windows starts.

  4. Adds the value:

    "[Default]" = "[path to worm] "%1" %*"

    to the registry keys:
    • HKEY_LOCAL_MACHINE\Software\CLASSES\batfile\shell\open\command
    • HKEY_LOCAL_MACHINE\Software\CLASSES\comfile\shell\open\command
    • HKEY_LOCAL_MACHINE\Software\CLASSES\exefile\shell\open\command
    • HKEY_LOCAL_MACHINE\Software\CLASSES\piffile\shell\open\command
    • HKEY_LOCAL_MACHINE\Software\CLASSES\scrfile\shell\open\command

      so that the worm runs when you run the files with the .bat, .com, .exe, .pif, and .scr extensions.

  5. Adds the value:

    "StubPath" = "[path to worm]"

    to the registry key:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components
    \Bardiel

  6. Adds the value:

    "Shell" = "Explorer.exe [path to worm]"

    to the registry key:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

  7. Adds the value:

    "run" = "%System%\[random worm filename]"

    to the registry key:

    HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows

    so that it runs every time Windows starts.

  8. Adds the values:

    "DisableRegistryTools" = "1"
    "DisableTaskMgr" = "1"


    to the registry keys:

    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\
    Policies\System
    HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Policies\System

    which disables the use of the registry editor and task manager.

  9. Adds the value:

    "(Default)" = "GDC"

    to the registry keys:

    HKEY_LOCAL_MACHINE\SOFTWARE\Classes\regfile\shell\open\command
    HKEY_LOCAL_MACHINE\SOFTWARE\Classes\keyfile\shell\open\command

    which disables the use of the registry editor and task manager.

  10. Adds the value:

    "Timeout"="0"

    to the registry key:

    HKEY_CURRENT_USER\Software\Microsoft\Windows Scripting\Host\Settings

  11. Modifies the Autoexec.bat file by appending the following line to hook system startup:

    @win %System%\[random worm filename]

  12. Modifies the Win.ini file by adding the following to the [windows] section of the file:

    run=%System%\[random worm filename]

    Note: %Windir% is a variable that refers to the Windows installation folder. By default, this is C:\Windows or C:\Winnt.

  13. Modifies %Windir%\system.ini, adding the following to the [boot] section:

    shell=Explorer.exe %System%\[random worm filename]

  14. Creates the following registry keys:

    HKEY_LOCAL_MACHINE\SOFTWARE\GedzacLABS\Bardiel.d
    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\GEDZAC LABS

  15. Registers itself as a service using the name "GEDZAC LABS"

  16. Creates the following data files:
    • \Bardiel.hta
    • %Temp%\bh.dat
    • %Temp%\bm.dat
    • %Windir%\microsoftweb.htm
    • %System%\BZIP.EXE
    • %System%\GZIP.ZIP

      Note: %Temp% is a variable that refers to the Windows temporary folder. By default, this is C:\Windows\TEMP (Windows 95/98/Me/XP) or C:\WINNT\Temp (Windows NT/2000).

  17. Modifies the values:
    • "Message Send HTML" = "1"
    • "Stationery Name" = "%Windows%\microsoftweb.htm"
    • "Wide Stationery Name" = "%Windows%\microsoftweb.htm"

      to the registry keys:

      HKEY_CURRENT_USER\Identities\[variable key]\Software\Microsoft\
      Outlook Express\5.0\Mail

      HKEY_CURRENT_USER\Identities\[variable key]\Software\Microsoft\
      Outlook Express\Mail\

      HKEY_CURRENT_USER\Identities\[variable key]\Software\Microsoft\
      Outlook Express\6.0\Mail


  18. Modifies the values:
    • "NewStationery" = "dword:00000000"
    • "EditorPreference" = "dword:00020000"

      to the registry keys:

      HKEY_CURRENT_USER\Software\Microsoft\Office\10.0\Common\MailSettings
      HKEY_CURRENT_USER\Software\Microsoft\Office\10.0\Outlook\Options\Mail
      HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Common\MailSettings
      HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook\Options\Mail
      HKEY_CURRENT_USER\Software\Microsoft\Office\8.0\Common\MailSettings
      HKEY_CURRENT_USER\Software\Microsoft\Office\8.0\Outlook\Options\Mail
      HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Common\MailSettings
      HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Outlook\Options\Mail
      HKEY_CURRENT_USER\Software\Microsoft\Office\Common\MailSettings
      HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\Options\Mail

      so that Microsoft Outlook Express attaches a copy of microsoftweb.htm to each email as a signature:

  19. The microsoftweb.htm file exploits the Microsoft Outlook IFrame Embedded URL vulnerability, which may download files from a remote server when viewed.

  20. The worm will also search for cached passwords and send them out using email.

  21. Next the worm copies itself to the shared folders of the following file-sharing applications and may modify registry keys to ensure that the folder is shared:
    • AppleJuice
    • BearShare
    • eDonkey
    • ICQ
    • Filetopia
    • FileNavigator
    • Gnucleus
    • Grokster
    • iMesh
    • Kazaa
    • Morpheus
    • Shareaza
    • LimeWire
    • Soulseek

      The worm uses the following file names:
    • ACDSee 5.5.exe
    • AOL Instant Messenger.exe
    • AVP Antivirus Pro Key Crack.exe
    • Age of Empires 2 crack.exe
    • Ana Kournikova Sex Video.exe
    • Animated Screen 7.0b.exe
    • Aol cracker.exe
    • Aol password cracker.exe
    • AquaNox2 Crack.exe
    • Audiograbber 2.05.exe
    • BabeFest 2003 ScreenSaver 1.5.exe
    • Babylon 3.50b reg_crack.exe
    • Battlefield1942_bloodpatch.exe
    • Battlefield1942_keygen.exe
    • Britney Spears Sex Video.exe
    • Buffy Vampire Slayer Movie.exe
    • Business Card Designer Plus 7.9.exe
    • Cable modem ultility pack.exe
    • Clone CD 5.0.0.3 (crack).exe
    • Clone CD 5.0.0.3.exe
    • Coffee Cup Free exe
    • Cool Edit Pro v2.55.exe
    • Counter-strike.exe
    • Crack Passwords Mail.exe
    • Credit Card Numbers generator(incl Visa,MasterCard,...).exe
    • Cristina Aguilera Sex Video.exe
    • DVD Copy Plus v5.0.exe
    • DVD Region-Free 2.3.exe
    • Delphi.exe
    • Diablo 2 Crack.exe
    • DirectDVD 5.0.exe
    • DirectX Buster (all versions).exe
    • DirectX InfoTool.exe
    • DivX Video Bundle 6.5.exe
    • Divx pro.exe
    • Divx_pro.exe
    • Download Accelerator Plus 6.1.exe
    • Edonkey2000-Speed me up scotty.exe
    • FIFA2003 crack.exe
    • Final Fantasy VII XP Patch 1.5.exe
    • Flash MX crack (trial).exe
    • FlashGet 1.5.exe
    • FreeRAM XP Pro 1.9.exe
    • GTA 3 Crack.exe
    • GTA 3 Serial.exe
    • Game Cube Real Emulator.exe
    • GetRight 5.0a.exe
    • Global DiVX Player 3.0.exe
    • Gothic2 licence.exe
    • Guitar Chords Library 5.5.exe
    • Hentai Anime Girls Movie.exe
    • Hitman_2_no_cd_crack.exe
    • Hot Babes XXX Screen Saver.exe
    • HotGirls.exe
    • Hotmail Hacker 2003-Xss Exploit.exe
    • Hotmail_hack.exe
    • ICQ Pro 2003a.exe
    • ICQ Pro 2003b (new beta).exe
    • IMesh 3.6.exe
    • IMesh 3.7b (beta).exe
    • IrfanView 4.5.exe
    • Jenifer Lopez Sex Video.exe
    • KaZaA Hack 2.5.0.exe
    • KaZaA Speedup 3.6.exe
    • Kazaa SDK + Xbit speedUp for 2.xx.exe
    • Links 2003 Golf game (crack).exe
    • Living Waterfalls 1.3.exe
    • MIRC 6.40.exe
    • MSN Messenger 5.2.exe
    • Macromedia dreamweaver key generator.exe
    • Mafia_crack.exe
    • Matrix Movie.exe
    • Matrix Screensaver 1.5.exe
    • Mcafee Antivirus Scan Crack.exe
    • MediaPlayer Update.exe
    • Microsoft KeyGenerator-Allmost all microsoft stuff.exe
    • Mp3Trim PRO 2.5.exe
    • NBA2003_crack.exe
    • NHL 2003 crack.exe
    • Need 4 Speed crack.exe
    • Nero Burning ROM crack.exe
    • Netbios Nuker 2003.exe
    • Netfast 1.8.exe
    • Network Cable e ADSL Speed 2.0.5.exe
    • Nimo CodecPack (new) 8.0.exe
    • Norton Anvirus Key Crack.exe
    • PS2 PlayStation Simulator.exe
    • PalTalk 5.01b.exe
    • Pamela_anderson.exe
    • Panda Antivirus Titanium Crack.exe
    • Play station emulator.exe
    • Pop-Up Stopper 3.5.exe
    • Popup Defender 6.5.exe
    • Quick Time Key Crack.exe
    • QuickTime_Pro_Crack.exe
    • Sakura Card Captor Movie.exe
    • Screen saver christina aguilera naked.exe
    • Screen saver christina aguilera.exe
    • Security-2003-Update.exe
    • Serials 2003 v.8.0 Full.exe
    • Serials2000.exe
    • Sex Live Simulator.exe
    • Sex Passwords.exe
    • SmartFTP 2.0.0.exe
    • SmartRipper v2.7.exe
    • Space Invaders 1978.exe
    • Spiderman Movie.exe
    • Splinter_Cell_Crack.exe
    • Starcraft serial.exe
    • Start Wars Trilogy Movies.exe
    • Steinberg_WaveLab_5_crack.exe
    • Stripping MP3 dancer+crack.exe
    • Subseven.exe
    • Thalia Sex Video.exe
    • Trillian 0.85 (free).exe
    • TweakAll 3.8.exe
    • UT2003_bloodpatch.exe
    • UT2003_keygen.exe
    • UT2003_no cd (crack).exe
    • UT2003_patch.exe
    • Unreal2_bloodpatch.exe
    • Unreal2_crack.exe
    • VB6.exe
    • Virtua Girl (Full).exe
    • Virtua girl - adriana.exe
    • Virtua girl - bailey short skirt.exe
    • VirtualSex.exe
    • Visual Basic 6.0 Msdn Plugin.exe
    • Visual basic 6.exe
    • WarCraft_3_crack.exe
    • Warcraft 3 crack.exe
    • Warcraft 3 serials.exe
    • WinOnCD 4 PE_crack.exe
    • WinRar 3.xx Password Cracker.exe
    • WinZip 9.0b.exe
    • WinZipped Visual C++ Tutorial.exe
    • Winamp 3.8.exe
    • Winamp plugin pack.exe
    • WindowBlinds 4.0.exe
    • Windows XP complete + serial.exe
    • Windows Xp Exploit.exe
    • Winzip KeyGenerator Crack.exe
    • Winzip full version key generator.exe
    • XNuker 2003 2.93b.exe
    • Yahoo Messenger 6.0.exe
    • Zelda Classic 2.00.exe

  22. Attempts to disable antivirus and firewall software by terminating predetermined processes and deleting files.

  23. Creates a script file with a random name and adds it to the mirc.ini file list, so that the worm is sent using DCC commands.

  24. May attempt to download and execute malicious files from a remote source on the Internet.

  25. Attempts to access network shares using predetermined user names and passwords. If successful, the worm will copy itself to the share.

  26. Emails itself to contacts in the Microsoft Outlook address book and addresses that it finds in local files with the following extensions:
    • .txt
    • .php
    • .asp
    • .ht*

      The worm ignores email addresses that contain certain predetermined strings.


      The email has the following characteristics:

      From: (Spoofed)

      Subject: (One of the following)
    • 1 Fantasmas
    • 11 Ghosts
    • 7 Days
    • 7 Dias
    • A Gift
    • Adiviananzas y Trivias
    • Areas
    • As much as they love you?
    • Bardiel
    • Buscas Amistad o Amor?
    • Chupayruna
    • Ciber Girls
    • Confirmacion de Suscripcion
    • Confirmation Gives Suscription
    • Conoces la Dimension Desubicada?
    • Cuanto te aman?
    • Cuentas Hack
    • For You
    • GEDZAC Targeta
    • GEDZAC postcard
    • GamesOnLine
    • Greetings
    • Informacion
    • Information
    • Invitacion
    • Invitation
    • La Profecia del Vampiro
    • Lamb Goes he Goes
    • Las fotos mas hot
    • Love
    • Magia
    • Magic
    • Mail Delivery Return System
    • Manual de Seduccion
    • Manual gives Secuction
    • Microsoft Internet Explorer
    • Models
    • Nostradamus and The Torres Twins
    • Nostradamus y Las Torres Gemelas
    • Odisea
    • Odyssey
    • Para Ti
    • Que Foto :)
    • Riddles and Tribias
    • Sadness :(
    • Saludos
    • Series, Movies, novels
    • Series, Peliculas, Telenovelas
    • SexSimulator
    • Sin Miedo
    • That picture :)
    • The First
    • The Master
    • The Pictures but Hot
    • The Prophecy gives the Vampire
    • Tristeza :(
    • Un Regalo
    • Utopia
    • Va Cordero Va
    • Without Fear
    • Zonas
    • do you Know the Dimension Desubicada?
    • do you Look for Friendship or Love?
    • you Count Hack


      Attachment: (One of the following)
    • (Demo).pif
    • _msg.zip
    • 10Claves.zip
    • 11Fantasmas.scr
    • 11Ghosts.scr
    • 16Playboy.zip
    • Angel.scr
    • AutoAyuda.pif
    • Bardiel
    • beso.zip
    • Boletin N.205.com
    • Bulletin N.205.com
    • Carta.scr
    • Chupayruna.scr
    • CiberGirls.pif
    • Crack.bat
    • CrazyTest.zip
    • CuentasPWL.pif
    • CwshredderPlus.zip
    • Day.scr
    • Dibujitos.zip
    • DimensionDesubicada.scr
    • Drawings.zip
    • E-Card.zip
    • EL-Card.zip
    • finder.bat
    • Fotos.scr
    • F**kSanta.zip (censored)
    • HackHotmail.zip
    • Help.pif
    • Ideal.zip
    • IlusionI.zip
    • Image.pif
    • Kiss.zip
    • Letter.scr
    • Lie.zip
    • MailFile.bat
    • ManualMagia.bat
    • ManualMagic.bat
    • ManualSec.pif
    • ManualSeduction.pif
    • Microsoft Bulletin 200.com
    • NoMentir.zip
    • Nostradamus.pif
    • Osama.zip
    • Ph0t0.zip
    • Pictures.scr
    • PornStars.zip
    • Profecia.pif
    • prophecy.pif
    • QueRaro.zip
    • QueRaro.zip
    • Realidad.bat
    • Reality.bat
    • Registro.zip
    • Registry.zip
    • ReturnMsg.zip
    • RptAcertijos.zip
    • Seduc.zip
    • Sex_Tantra.zip
    • SexSimulator.exe
    • SigName.zip
    • SigNombre.zip
    • Slayer.pif
    • TestG.zip
    • TestLove.pif
    • TestRayado.zip
    • TF.pif
    • Trivia.bat
    • TuFoto.pif
    • TuFuturo.zip
    • videoClip.zip
    • Virtual0034.zip
    • Visor.bat
    • www.EnterTvRed.com
    • www.ftpfree.com
    • www.gmol.com
    • www.Models.com
    • www.ModelsALLg.com
    • www.rdA.com
    • www.XImage.com
    • WWW.XIMAGE.COM
    • xImages.zip
    • YourPicture.pif
    • ZALIA.zip


Recommendations

Symantec Security Response encourages all users and administrators to adhere to the following basic security "best practices":

  • Use a firewall to block all incoming connections from the Internet to services that should not be publicly available. By default, you should deny all incoming connections and only allow services you explicitly want to offer to the outside world.
  • Enforce a password policy. Complex passwords make it difficult to crack password files on compromised computers. This helps to prevent or limit damage when a computer is compromised.
  • Ensure that programs and users of the computer use the lowest level of privileges necessary to complete a task. When prompted for a root or UAC password, ensure that the program asking for administration-level access is a legitimate application.
  • Disable AutoPlay to prevent the automatic launching of executable files on network and removable drives, and disconnect the drives when not required. If write access is not required, enable read-only mode if the option is available.
  • Turn off file sharing if not needed. If file sharing is required, use ACLs and password protection to limit access. Disable anonymous access to shared folders. Grant access only to user accounts with strong passwords to folders that must be shared.
  • Turn off and remove unnecessary services. By default, many operating systems install auxiliary services that are not critical. These services are avenues of attack. If they are removed, threats have less avenues of attack.
  • If a threat exploits one or more network services, disable, or block access to, those services until a patch is applied.
  • Always keep your patch levels up-to-date, especially on computers that host public services and are accessible through the firewall, such as HTTP, FTP, mail, and DNS services.
  • Configure your email server to block or remove email that contains file attachments that are commonly used to spread threats, such as .vbs, .bat, .exe, .pif and .scr files.
  • Isolate compromised computers quickly to prevent threats from spreading further. Perform a forensic analysis and restore the computers using trusted media.
  • Train employees not to open attachments unless they are expecting them. Also, do not execute software that is downloaded from the Internet unless it has been scanned for viruses. Simply visiting a compromised Web site can cause infection if certain browser vulnerabilities are not patched.
  • If Bluetooth is not required for mobile devices, it should be turned off. If you require its use, ensure that the device's visibility is set to "Hidden" so that it cannot be scanned by other Bluetooth devices. If device pairing must be used, ensure that all devices are set to "Unauthorized", requiring authorization for each connection request. Do not accept applications that are unsigned or sent from unknown sources.
  • For further information on the terms used in this document, please refer to the Security Response glossary.

Writeup By: Candid Wueest
Search by name
Example: W32.Beagle.AG@mm
Windows 7
Windows Vista Security