Analysis by: Sabrina Lei Sioting

 PLATFORM:

Windows 2000, Windows XP, Windows Server 2003

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

  • Threat Type: Trojan

  • Destructiveness: No

  • Encrypted: Yes

  • 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 employs registry shell spawning by adding certain registry entries. This allows this malware to execute even when other applications are opened.

It modifies certain registry entries to disable Security Center functions. Doing this allows this malware to execute its routines without being detected.

It deletes the initially executed copy of itself.

  TECHNICAL DETAILS

File Size: 342,016 bytes
File Type: EXE
Memory Resident: Yes
Initial Samples Received Date: 24 Jan 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 drops the following copies of itself into the affected system:

  • %Application Data%\{random three letters}.exe

(Note: %Application Data% is the current user's Application Data folder, which is usually C:\Windows\Profiles\{user name}\Application Data on Windows 98 and ME, C:\WINNT\Profiles\{user name}\Application Data on Windows NT, and C:\Documents and Settings\{user name}\Local Settings\Application Data on Windows 2000, XP, and Server 2003.)

It drops the following files:

  • %System Root%\Documents and Settings\All Users\Application Data\4e0b8f8f
  • %User Profile%\Application Data\eb1beb3f
  • %Application Data%\ebda722c
  • %User Profile%\Templates\e8662524

(Note: %System Root% is the root folder, which is usually C:\. It is also where the operating system is located.. %User Profile% is the current user's profile folder, which is usually C:\Windows\Profiles\{user name} on Windows 98 and ME, C:\WINNT\Profiles\{user name} on Windows NT, and C:\Documents and Settings\{user name} on Windows 2000, XP, and Server 2003.. %Application Data% is the current user's Application Data folder, which is usually C:\Windows\Profiles\{user name}\Application Data on Windows 98 and ME, C:\WINNT\Profiles\{user name}\Application Data on Windows NT, and C:\Documents and Settings\{user name}\Local Settings\Application Data on Windows 2000, XP, and Server 2003.)

Autostart Technique

This Trojan employs registry shell spawning to ensure its execution when certain file types are accessed by adding the following entries:

HKEY_CLASSES_ROOT\mdaw\shell\
open\command
{default} = ""%Application Data%\{random three letters}.exe" -a "%1" %*"

HKEY_CURRENT_USER\Software\Classes\
.exe
{default} = "mdaw"

HKEY_CURRENT_USER\Software\Classes\
mdaw\shell\open\
command
{default} = ""%Application Data%\{random three letters}.exe" -a "%1" %*"

Other System Modifications

This Trojan modifies the following registry key(s)/entry(ies) as part of its installation routine:

HKEY_CLASSES_ROOT\.exe
{default} = "mdaw"

(Note: The default value data of the said registry entry is exefile.)

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

HKEY_CLASSES_ROOT\mdaw

HKEY_CURRENT_USER\Software\Classes\
.exe

HKEY_CURRENT_USER\Software\Classes\
mdaw

It modifies the following registry entries to disable Security Center functions:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Security Center
AntiVirusDisableNotify = "1"

(Note: The default value data of the said registry entry is 0.)

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Security Center
FirewallDisableNotify = "1"

(Note: The default value data of the said registry entry is 0.)

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Security Center
UpdatesDisableNotify = "1"

(Note: The default value data of the said registry entry is 0.)

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Security Center
AntiVirusOverride = "1"

(Note: The default value data of the said registry entry is 0.)

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Security Center
FirewallOverride = "1"

(Note: The default value data of the said registry entry is 0.)

Other Details

This Trojan connects to the following possibly malicious URL:

  • http://{BLOCKED}.com
  • http://{BLOCKED}.com
  • http://{BLOCKED}.com
  • http://{BLOCKED}.com

It deletes the initially executed copy of itself

  SOLUTION

Minimum Scan Engine: 9.200
FIRST VSAPI PATTERN FILE: 8.728.07
FIRST VSAPI PATTERN DATE: 24 Jan 2012
VSAPI OPR PATTERN File: 8.729.00
VSAPI OPR PATTERN Date: 24 Jan 2012

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 terminate files detected as TROJ_FAKEAV.FMS

[ Learn More ]
  1. If the detected file is displayed in either Windows Task Manager or Process Explorer but you cannot delete it, restart your computer in safe mode. To do this, refer to this link for the complete steps.
  2. If the detected file is not displayed in either Windows Task Manager or Process Explorer, continue doing the next steps.

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. 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
    • mdaw
  • In HKEY_CURRENT_USER\Software\Classes
    • .exe
  • In HKEY_CURRENT_USER\Software\Classes
    • mdaw

Step 4

Delete these registry values

[ 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_MACHINESOFTWAREMicrosoftSecurity Center

    • FirewallDisableNotify = "1"
    • UpdatesDisableNotify = "1"
    • AntiVirusDisableNotify = "1"
    • AntiVirusOverride = "1"
    • FirewallOverride = "1"
  • In HKEY_LOCAL_MACHINESOFTWAREPolicies
    MicrosoftWindowsFirewallDomainProfile

    • EnableFirewall = "0"
  • In HKEY_LOCAL_MACHINESOFTWAREPolicies
    MicrosoftWindowsFirewall StandardProfile

    • EnableFirewall = "0"
  • In HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoft
    WindowsWindowsUpdate

    • DoNotAllowXPSP2 = "1"

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_CLASSES_ROOT\.exe
    • From: default = "mdaw"
      To: default = "exefile"

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 Root%\Documents and Settings\All Users\Application Data\4e0b8f8f
%User Profile%\Application Data\eb1beb3f
%Application Data%\ebda722c
%User Profile%\Templates\e8662524

Step 7

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