Analysis by: Erika Bianca Mendoza

 PLATFORM:

Windows 2000, Windows XP, Windows Server 2003

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

  • Threat Type: Backdoor

  • Destructiveness: No

  • Encrypted: No

  • In the wild: Yes

  OVERVIEW

Upon execution, the main component of this backdoor attempts to load TestDll.dll, which is also detected as BKDR_HUPIGON.ZVZ. This .DLL then creates another .DLL, msnstp.dll and registers it as a service.

It connects to certain servers to wait for commands coming from a remote user.

It then obtains the affected system's IP and MAC address to initiates the connection. If the connection is successful, it waits for certain commands.

This backdoor may be downloaded by other malware/grayware/spyware from remote sites. It may be dropped by other malware. It may be unknowingly downloaded by a user while visiting malicious websites.

  TECHNICAL DETAILS

File Size: 20,480 bytes
File Type: EXE
Memory Resident: No
Initial Samples Received Date: 14 Sep 2011
Payload: Connects to URLs/IPs, Compromises system security, Collects system information

Arrival Details

This backdoor may be downloaded by other malware/grayware/spyware from remote sites.

It may be dropped by other malware.

It may be unknowingly downloaded by a user while visiting malicious websites.

Installation

This backdoor drops and executes the following files:

  • %System%\msnstp.dll - also detected as BKDR_HUPIGON.ZVZ

(Note: %System% is the Windows system folder, which is usually C:\Windows\System on Windows 98 and ME, C:\WINNT\System32 on Windows NT and 2000, or C:\Windows\System32 on Windows XP and Server 2003.)

It adds the following mutexes to ensure that only one of its copies runs at any one time:

  • afsdioufaiowehnjkrhfsdjkf

Autostart Technique

This backdoor registers itself as a system service to ensure its automatic execution at every system startup by adding the following registry entries:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\Irmon
ImagePath = "%System%\svchost.exe -k netsvcs"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\Irmon
Type = "20"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\Irmon
Start = "2"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\Irmon
ErrorControl = "1"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\Irmon
ObjectName = "LocalSystem"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\Irmon\Parameters HKEY_LOCAL_MACHINE\
SYSTEM\CurrentControlSet\Services\
Irmon\Parameters
ServiceDll = "%System%\msnstp.dll"

NOTES:

Upon execution, its main component attempts to load TestDll.dll, which is also detected as BKDR_HUPIGON.ZVZ. This .DLL then creates another .DLL, msnstp.dll and registers it as a service.

Backdoor Routine

It connects to the following servers to wait for commands coming from a remote user:

  • {BLOCKED}2009.{BLOCKED}fw.us
  • {BLOCKED}2009.{BLOCKED}ogle.com

It then obtains the affected system's IP and MAC address to initiates the connection. If the connection is successful, it waits for commands such as the following:

  • cmdview+
  • delete++
  • downfold
  • download
  • downstop
  • execute+
  • getdrive
  • process+
  • uninstal
  • update++

The server's reply should start with "#@$"

It may perform the following depending on the received command:

  • Delete files
  • Download / upload files
  • Download folder
  • Execute commands using cmd.exe
  • Execute files
  • Get drives
  • List / kill processes
  • Stop download
  • Uninstall backdoor
  • Update itself

  SOLUTION

Minimum Scan Engine: 9.200
FIRST VSAPI PATTERN FILE: 8.426.01
FIRST VSAPI PATTERN DATE: 14 Sep 2011

Step 1

For Windows XP and Windows Server 2003 users, before doing any scans, please make sure you disable System Restore to allow full scanning of your computer.

Step 2

Restart in Safe Mode

[ Learn More ]

Step 3

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\SYSTEM\CurrentControlSet\Services\
    • Irmon

Step 4

Search and delete this file

[ Learn More ]
There may be some component files that are hidden. Please make sure you check the Search Hidden Files and Folders checkbox in the More advanced options option to include all hidden files and folders in the search result.
  • %System%\msnstp.dll

Step 5

Restart in normal mode and scan your computer with your Trend Micro product for files detected as BKDR_HUPIGON.ZVZ. 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.