TSPY_MAMAW.MCS


 ALIASES:

PWS:Win32/Zbot.JA (Microsoft); Spy-Agent.bw.gen.b (McAfee); Trojan.Zbot (Symantec); Trojan-Spy.Win32.Zbot.auv (Kaspersky); Trojan.Win32.Generic.pak!cobra (Sunbelt); Trojan horse SHeur.ASRL (AVG)

 PLATFORM:

Windows 2000, Windows XP, Windows Server 2003

 OVERALL RISK RATING:
 REPORTED INFECTION:
 SYSTEM IMPACT RATING:
 INFORMATION EXPOSURE:

  • Threat Type: Spyware

  • Destructiveness: No

  • Encrypted:

  • In the wild: Yes

  OVERVIEW

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

  TECHNICAL DETAILS

File Size:

136,192 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

09 Apr 2013

Arrival Details

This spyware 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 spyware drops the following copies of itself into the affected system:

  • %System%\ntos.exe

(Note: %System% is the Windows system folder, which is usually C:\Windows\System32.)

It creates the following folders:

  • %System%\wsnpoem

(Note: %System% is the Windows system folder, which is usually C:\Windows\System32.)

Autostart Technique

This spyware modifies the following registry entries to ensure it automatic execution at every system startup:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows NT\CurrentVersion\Winlogon
userinit = "%System%\userinit.exe,%System%\ntos.exe,"

(Note: The default value data of the said registry entry is %Windows%\system32\userinit.exe,.)

Other System Modifications

This spyware deletes the following files:

  • %System%\ntos.exe

(Note: %System% is the Windows system folder, which is usually C:\Windows\System32.)

It adds the following registry entries:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows NT\CurrentVersion\Winlogon
pathx = "{malware path and file name}"

HKEY_CURRENT_USER\Software\Microsoft\
Windows NT\CurrentVersion\Network
UID = "WILBERT-60C03E4_00009867"

HKEY_CURRENT_USER\Software\Microsoft\
Windows NT\CurrentVersion\Network
UID = "WILBERT-60C03E4_0000F6F2"

HKEY_CURRENT_USER\Software\Microsoft\
Windows NT\CurrentVersion\Network
UID = "WILBERT-60C03E4_00016126"

Other Details

This spyware connects to the following possibly malicious URL:

  • http://{BLOCKED}9.246.234/2/cfg.bin

This report is generated via an automated analysis system.

  SOLUTION

Minimum Scan Engine:

9.300

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

Identify and delete files detected as TSPY_MAMAW.MCS using either the Startup Disk or Recovery Console

[ Learn More ]

Step 3

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_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
    • pathx = "{malware path and file name}"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Network
    • UID = "WILBERT-60C03E4_00009867"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Network
    • UID = "WILBERT-60C03E4_0000F6F2"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Network
    • UID = "WILBERT-60C03E4_00016126"

Step 4

Restore these modified registry values

[ Learn More ]

Important:Editing the Windows Registry incorrectly can lead to irreversible system malfunction. Please do this only if you know how to or you can seek your system administrator's help. You may also check out this Microsoft article first before modifying your computer's registry.

  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
    • From: userinit = "%System%\userinit.exe,%System%\ntos.exe,"
      To: userinit = ""%Windows%\system32\userinit.exe,""

Step 5

Search and delete this folder

[ Learn More ]
Please make sure you check the Search Hidden Files and Folders checkbox in the More advanced options option to include all hidden folders in the search result.
  • %System%\wsnpoem

Step 6

Scan your computer with your Trend Micro product to delete files detected as TSPY_MAMAW.MCS. 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.

Step 7

Restore this file from backup only Microsoft-related files will be restored. If this malware/grayware also deleted files related to programs that are not from Microsoft, please reinstall those programs on you computer again.

  • %System%\ntos.exe


Did this description help? Tell us how we did.