BKDR_REPLIAM.A

 Analysis by: Nikko Tamana

 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:

  • Threat Type: Backdoor

  • Destructiveness: No

  • Encrypted:

  • In the wild: Yes

  OVERVIEW


This Backdoor 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:

319,488 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

05 Mar 2013

Arrival Details

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

Autostart Technique

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

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Run
GmailReporter = ""{Malware path and file name}.exe""

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Run
GmailReporter = ""{Malware path and file name}.exe""

Other System Modifications

This Backdoor adds the following registry entries as part of its installation routine:

HKEY_CLASSES_ROOT\MJ
CLSID = {random values}

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
MJ
CLSID = {random values}

It adds the following registry keys as part of its installation routine:

HKEY_CLASSES_ROOT\MJ

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
MJ

Other Details

This Backdoor drops the following file(s)/component(s):

  • %System Root%\Documents and Settings\All Users\SxS - Other operating system then Windows Vista and up
  • %System Root%\Documents and Settings\All Users\SxS\bug.log - Other operating system then Windows Vista and up
  • %ProgramData%\SxS - For Windows Vista and up
  • %ProgramData%\SxS\bug.log - For Windows Vista and up
  • %System Root%\Users\All Users\SxS - For Windows Vista and up
  • %System Root%\Users\All Users\SxS\bug.log - For Windows Vista and up

(Note: %System Root% is the Windows root folder, where it usually is C:\ on all Windows operating system versions.. %ProgramData% is a version of the Program Files folder where any user on a multi-user computer can make changes to programs. This contains application data for all users. This is usually C:\ProgramData in Windows Vista, 7, and 8.)

  SOLUTION

Minimum Scan Engine:

9.300

FIRST VSAPI PATTERN FILE:

9.768.02

FIRST VSAPI PATTERN DATE:

05 Mar 2013

VSAPI OPR PATTERN File:

9.769.00

VSAPI OPR PATTERN Date:

06 Mar 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

Scan your computer with your Trend Micro product and note files detected as BKDR_REPLIAM.A

Step 3

Restart in Safe Mode

[ Learn More ]

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. Before you could do this, you must restart in Safe Mode. For instructions on how to do this, you may refer to this page If the preceding step requires you to restart in safe mode, you may proceed to edit the system registry.

  • In HKEY_CLASSES_ROOT
    • MJ
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes
    • MJ

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
    • GmailReporter = ""{Malware path and file name}.exe""
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
    • GmailReporter = ""{Malware path and file name}.exe""

Step 6

Search and delete these files

[ Learn More ]
There may be some 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 Root%\Documents and Settings\All Users\SxS - Other operating system then Windows Vista and up
  • %System Root%\Documents and Settings\All Users\SxS\bug.log - Other operating system then Windows Vista and up
  • %ProgramData%\SxS - For Windows Vista and up
  • %ProgramData%\SxS\bug.log - For Windows Vista and up
  • %System Root%\Users\All Users\SxS - For Windows Vista and up
  • %System Root%\Users\All Users\SxS\bug.log - For Windows Vista and up

Step 7

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