VBS_DUNIHI.EW

 Analysis by: Alvin John Nieto
 Modified by: Mark Joseph Manahan

 ALIASES:

W32/VBS-E (Sophos) ,VBS/Agent (AVG) ,VBS/Kryptik.P (Fortinet) ,Virus.VBS.Agent (Ikarus) ,Worm.VBS.Dinihou.y (Kaspersky) ,Worm:VBS/Jenxcus.K, Worm:VBS/Jenxcus.K (Microsoft) ,VBS/Autorun.worm.aapd (McAfee) ,VBS/Agent.NDH worm (Eset) ,VBS.Dunihi (Symantec) ,VBS/Downloader.WLU (Panda) ,Trojan.VBS.Crypter.a (v) (Sunbelt)

 PLATFORM:

Windows 2000, Windows Server 2003, Windows XP (32-bit, 64-bit), Windows Vista (32-bit, 64-bit), Windows 7 (32-bit, 64-bit)

 OVERALL RISK RATING:
 DAMAGE POTENTIAL:
 DISTRIBUTION POTENTIAL:
 REPORTED INFECTION:
 INFORMATION EXPOSURE:

  • Threat Type: Worm

  • Destructiveness: No

  • Encrypted: Yes

  • In the wild: Yes

  OVERVIEW

Infection Channel:

Downloaded from the Internet, Dropped by other malware, Propagates via removable drives

This worm arrives via removable drives. It arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites.

It executes commands from a remote malicious user, effectively compromising the affected system.

  TECHNICAL DETAILS

File Size:

59,525 bytes

File Type:

VBS

Memory Resident:

Yes

Initial Samples Received Date:

25 Nov 2013

Payload:

Connects to URLs/IPs, Collects system information

Arrival Details

This worm arrives via removable drives.

It arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites.

Installation

This worm drops the following copies of itself into the affected system:

  • %User Profile%\{Malware Filename}.vbe

(Note: %User Profile% is the current user's profile folder, which is usually C:\Documents and Settings\{user name} on Windows 2000, XP, and Server 2003, or C:\Users\{user name} on Windows Vista and 7.)

Autostart Technique

This worm adds the following registry entries to enable its automatic execution at every system startup:

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Run
{Malware Filename} = "wscript.exe //B "%User Profile%\{Malware Filename}.vbe""

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Run
{Malware Filename} = "wscript.exe //B "%User Profile%\{Malware Filename}.vbe""

It drops the following file(s) in the Windows User Startup folder to enable its automatic execution at every system startup:

  • %User Startup%\{Malware Filename}.vbe

(Note: %User Startup% is the current user's Startup folder, which is usually C:\Windows\Profiles\{user name}\Start Menu\Programs\Startup on Windows 98 and ME, C:\WINNT\Profiles\{user name}\Start Menu\Programs\Startup on Windows NT, and C:\Documents and Settings\{User name}\Start Menu\Programs\Startup.)

Other System Modifications

This worm adds the following registry keys:

HKEY_LOCAL_MACHINE\SOFTWARE\{Malware Filename}

It adds the following registry entries:

HKEY_LOCAL_MACHINE\SOFTWARE\{Malware Filename}
(Default) = "{true\false} - {date executed}"

Propagation

This worm drops the following copy(ies) of itself in all removable drives:

  • {Drive Letter}:\{Malware Filename}.vbs

Backdoor Routine

This worm executes the following commands from a remote malicious user:

  • Execute commands
  • Update and uninstall itself
  • Upload and download files
  • Enumerate files and folders
  • Enumerate drivers
  • Delete files
  • Remote Command Shell
  • Terminate process
  • Sleep (Idle)

It connects to the following URL(s) to send and receive commands from a remote malicious user:

  • {BLOCKED}ria.zapto.org:1644

NOTES:
It drops shortcut files pointing to the copy of itself in removable drives. These dropped .LNK files use the names of the files located on the said drives for their file names. It then sets the attributes of the original folders to Hidden to trick the user into clicking the .LNK files. When the .LNK has been executed it will trigger execution of the malware VBS_DUNIHI.EW.

  SOLUTION

Minimum Scan Engine:

9.700

FIRST VSAPI PATTERN FILE:

10.432.09

FIRST VSAPI PATTERN DATE:

25 Nov 2013

Step 1

Before doing any scans, Windows XP, Windows Vista, and Windows 7 users must disable System Restore to allow full scanning of their computers.

Step 2

Restart in Safe Mode

[ Learn More ]

Step 3

Scan your computer with your Trend Micro product and note files detected as VBS_DUNIHI.EW

Step 4

Delete this registry key

[ Learn More ]

Important: Editing the Windows Registry incorrectly can lead to irreversible system malfunction. Please do this step only if you know how or you can ask assistance from your system administrator. Else, check this Microsoft article first before modifying your computer's registry.

  • In HKEY_LOCAL_MACHINE\SOFTWARE
    • {Malware Filename}

Step 5

Delete this registry value

[ Learn More ]

Important: Editing the Windows Registry incorrectly can lead to irreversible system malfunction. Please do this step only if you know how or you can ask assistance from your system administrator. Else, check this Microsoft article first before modifying your computer's registry.

  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
    • {Malware Filename} = "wscript.exe //B "%User Profile%\{Malware Filename}.vbe""
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
    • {Malware Filename} = "wscript.exe //B "%User Profile%\{Malware Filename}.vbe""

Step 6

Restart in normal mode and scan your computer with your Trend Micro product for files detected as VBS_DUNIHI.EW. If the detected files have already been cleaned, deleted, or quarantined by your Trend Micro product, no further step is required. You may opt to simply delete the quarantined files. Please check this Knowledge Base page for more information.


Did this description help? Tell us how we did.