Analysis by: Anthony Joe Melgarejo
 Modified by: Rika Joi Gregorio

 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: Yes

  • In the wild: Yes

  OVERVIEW

Infection Channel: Downloaded from the Internet, Dropped by other malware

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.

It does not have any propagation routine.

It executes commands from a remote malicious user, effectively compromising the affected system. It connects to a website to send and receive information.

It does not drop any other file.

It does not have any downloading capability.

  TECHNICAL DETAILS

File Size: 36,864 bytes
File Type: EXE
Memory Resident: Yes
Initial Samples Received Date: 16 May 2013
Payload: Connects to URLs/IPs, Collects system information, Logs keystrokes

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.

Installation

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

  • x1505ajki

Autostart Technique

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

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Active Setup\Installed Components\{GUID}
StubPath = "{malware path}\{malware file name}.exe"

Other System Modifications

This backdoor adds the following registry keys:

HKEY_CURRENT_USER\Software\Local AppWizard-Generated Applications\
FastMofa

HKEY_CURRENT_USER\Software\Local AppWizard-Generated Applications\
FastMofa\Recent File List

HKEY_CURRENT_USER\Software\Local AppWizard-Generated Applications\
FastMofa\Settings

HKEY_CURRENT_USER\Software\Local AppWizard-Generated Applications

Propagation

This backdoor does not have any propagation routine.

Backdoor Routine

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

  • Manage files, registry, processes, services, devices, and installed applications
  • Download and inject remote codes to legitimate processes
  • Capture screenshots, webcam and audio
  • Log keystrokes and active window
  • Manage open windows
  • Perform remote shell
  • Relay server
  • Retrieve cached passwords and hashes
  • Send hardware information (CPU speed, Memory)
  • Send system information (LAN IP, WAN IP, Computer name, User name, Account Type, OS)
  • Update, Uninstall, Restart the malware
  • View active ports

It connects to the following websites to send and receive information:

  • {BLOCKED}.{BLOCKED}.88.66:443

Dropping Routine

This backdoor does not drop any other file.

Download Routine

This backdoor does not have any downloading capability.

NOTES:

It queries the default web browser by accessing the following registry entry:

HKEY_CLASSES_ROOT\http\shell\open\command

It then launches a hidden Web browser process (e.g., iexplore.exe). The malware then injects its code to the said process, which contains its backdoor routines.

It does not have rootkit capabilities.

It does not exploit any vulnerability.

  SOLUTION

Minimum Scan Engine: 9.300
FIRST VSAPI PATTERN FILE: 9.934.02
FIRST VSAPI PATTERN DATE: 22 May 2013
VSAPI OPR PATTERN File: 9.935.00
VSAPI OPR PATTERN Date: 23 May 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

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_CURRENT_USER\Software
    • Local AppWizard-Generated Applications

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_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\{GUID}
    • StubPath = "{malware path}\{malware file name}.exe"

Step 5

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