TROJ_MATSNU.AJ


 ALIASES:

Trojan:Win32/Matsnu.gen!A (Microsoft); Generic Dropper.p (McAfee); Backdoor.Matsnu (Symantec); Trojan-Dropper.Win32.Injector.ddfg (Kaspersky); Trojan.Win32.Generic!BT (Sunbelt); Trojan.Generic.KDV.558797 (FSecure)

 PLATFORM:

Windows 2000, Windows XP, Windows Server 2003

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

  • Threat Type: Trojan

  • Destructiveness: No

  • Encrypted:

  • In the wild: Yes

  OVERVIEW

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

It deletes itself after execution.

  TECHNICAL DETAILS

File Size:

114,688 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

28 Jul 2012

Arrival Details

This Trojan 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 Trojan creates the following folders:

  • %Program Files%\Trusteer\Rapport\bin
  • %Program Files%\Trusteer
  • %Program Files%\Trusteer\Rapport

(Note: %Program Files% is the default Program Files folder, usually C:\Program Files.)

Autostart Technique

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

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Run
68AD0FD042 = "%System%\A33C684A68AD0FD04E23.exe,"

It 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%\A33C684A68AD0FD04E23.exe,"

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

It registers as a system service to ensure its automatic execution at every system startup by adding the following registry keys:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\RapportMgmtService

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\RapportCerberus_29574

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\RapportEI

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\RapportKELL

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\RapportPG

Other System Modifications

This Trojan adds the following registry keys:

HKEY_CLASSES_ROOT\.eze

HKEY_CLASSES_ROOT\MyEze.1\shell\
open\command

HKEY_LOCAL_MACHINE\Software\Microsoft\
Windows NT\CurrentVersion\Image File Execution Options\
RapportSetup-Full.exe

HKEY_LOCAL_MACHINE\Software\Microsoft\
Windows NT\CurrentVersion\Image File Execution Options\
RapportSetup.exe

HKEY_LOCAL_MACHINE\Software\Microsoft\
Windows NT\CurrentVersion\Image File Execution Options\
RapportMgmtService.exe

HKEY_LOCAL_MACHINE\Software\Microsoft\
Windows NT\CurrentVersion\Image File Execution Options\
RapportService.exe

It adds the following registry entries:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows NT\CurrentVersion\Image File Execution Options\
RapportSetup-Full.exe
Debugger = "RPXService.exe"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows NT\CurrentVersion\Image File Execution Options\
RapportSetup.exe
Debugger = "RPXService.exe"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows NT\CurrentVersion\Image File Execution Options\
RapportMgmtService.exe
Debugger = "RPService.exe"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows NT\CurrentVersion\Image File Execution Options\
RapportService.exe
Debugger = "RPService.exe"

It modifies the following registry entries:

HKEY_CURRENT_USER\Software\Microsoft\
Windows NT\CurrentVersion\Windows
load = "%User Temp%\14281ADD68AD0FD0E666.exe,"

Dropping Routine

This Trojan drops the following files:

  • %System%\A33C684A68AD0FD04E23.exe
  • %User Temp%\14281ADD68AD0FD0E666.exe
  • %Windows%\RPService.exe
  • %Program Files%\Trusteer\Rapport\bin\RapportService.exe
  • %Start Menu%\Programs\Trusteer Rapport\Rapport Console.lnk
  • %Start Menu%\Programs\Trusteer Rapport\Start Rapport.lnk
  • %Start Menu%\Programs\Trusteer Rapport\Stop Rapport.lnk

(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.. %User Temp% is the current user's Temp folder, which is usually C:\Documents and Settings\{user name}\Local Settings\Temp on Windows 2000, XP, and Server 2003.. %Windows% is the Windows folder, which is usually C:\Windows or C:\WINNT.. %Program Files% is the default Program Files folder, usually C:\Program Files.. %Start Menu% is the current user's Start Menu folder, which is usually C:\Windows\Profiles\{user name}\Start Menu on Windows 98 and ME, C:\WINNT\Profiles\{user name}\Start Menu on Windows NT and C:\Windows\Start Menu or C:\Documents and Settings\{User name}\Start Menu on Windows 2000, XP, and Server 2003.)

Other Details

This Trojan connects to the following possibly malicious URL:

  • http://{BLOCKED}ub.com/stats/counterz.php?id=68AD0FD0424C49576957&stat=0
  • http://{BLOCKED}ub.com/hskjdgf84t3yh/ajsdga4g.php?id=68AD0FD0424C49576957&stat=0
  • http://{BLOCKED}ub.com/login/hi.php?id=68AD0FD0424C49576957&stat=0
  • http://{BLOCKED}ub.com/home/credit.php?id=68AD0FD0424C49576957&stat=0

It deletes itself after execution.

This report is generated via an automated analysis system.

  SOLUTION

Minimum Scan Engine:

9.200

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

Identify and delete files detected as TROJ_MATSNU.AJ using either the Startup Disk or Recovery Console

[ 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
    • RapportMgmtService
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
    • RapportCerberus_29574
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
    • RapportEI
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
    • RapportKELL
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
    • RapportPG
  • In HKEY_CLASSES_ROOT
    • .eze
  • In HKEY_CLASSES_ROOT\MyEze.1\shell\open
    • command
  • In HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options
    • RapportSetup-Full.exe
  • In HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options
    • RapportSetup.exe
  • In HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options
    • RapportMgmtService.exe
  • In HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options
    • RapportService.exe

Step 4

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
    • 68AD0FD042 = "%System%\A33C684A68AD0FD04E23.exe,"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\RapportSetup-Full.exe
    • Debugger = "RPXService.exe"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\RapportSetup.exe
    • Debugger = "RPXService.exe"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\RapportMgmtService.exe
    • Debugger = "RPService.exe"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\RapportService.exe
    • Debugger = "RPService.exe"

Step 5

Restore this modified 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 NT\CurrentVersion\Windows
    • load = "%User Temp%\14281ADD68AD0FD0E666.exe,"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
    • From: userinit = "%System%\userinit.exe,%System%\A33C684A68AD0FD04E23.exe,"
      To: userinit = ""%Windows%\system32\userinit.exe,""

Step 6

Search and delete these files

[ 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%\A33C684A68AD0FD04E23.exe
  • %User Temp%\14281ADD68AD0FD0E666.exe
  • %Windows%\RPService.exe
  • %Program Files%\Trusteer\Rapport\bin\RapportService.exe
  • %Start Menu%\Programs\Trusteer Rapport\Rapport Console.lnk
  • %Start Menu%\Programs\Trusteer Rapport\Start Rapport.lnk
  • %Start Menu%\Programs\Trusteer Rapport\Stop Rapport.lnk

Step 7

Search and delete these folders

[ 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.
  • %Program Files%\Trusteer\Rapport\bin
  • %Program Files%\Trusteer
  • %Program Files%\Trusteer\Rapport

Step 8

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