Analysis by: Kathleen Notario

ALIASES:

Trojan.FakeAV (Symantec); Trojan:Win32/FakeSysdef (Microsoft); Trojan.Win32.Jorik.Fraud.aoe (Kaspersky); Generic FakeAlert.by (Mcafee); Mal/FakeAV-EE (Sophos)

 PLATFORM:

Windows 2000, Windows XP, Windows Server 2003

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

  • Threat Type: Trojan

  • Destructiveness: No

  • Encrypted: No

  • 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 connects to certain URLs. It may do this to remotely inform a malicious user of its installation. It may also do this to download possibly malicious files onto the computer, which puts the computer at a greater risk of infection by other threats.

It deletes the initially executed copy of itself.

  TECHNICAL DETAILS

File Size: 458,240 bytes
File Type: EXE
Memory Resident: Yes
Initial Samples Received Date: 09 Aug 2011

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

  • %System Root%\Documents and Settings\All Users\Application Data\{random filename 2}
  • %System Root%\Documents and Settings\All Users\Application Data\{random filename 2}.exe
  • %Desktop%\System Repair.lnk
  • %Start Menu%\Programs\System Repair\System Repair.lnk
  • %Start Menu%\Programs\System Repair\Uninstall System Repair.lnk

(Note: %System Root% is the root folder, which is usually C:\. It is also where the operating system is located.. %Desktop% is the current user's desktop, which is usually C:\Windows\Profiles\{user name}\Desktop on Windows 98 and ME, C:\WINNT\Profiles\{user name}\Desktop on Windows NT, and C:\Documents and Settings\{User Name}\Desktop on Windows 2000, XP, and Server 2003.. %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.)

It drops the following copies of itself into the affected system:

  • %System Root%\Documents and Settings\All Users\Applicaton Data\{random filename 1}.exe

(Note: %System Root% is the root folder, which is usually C:\. It is also where the operating system is located.)

It creates the following folders:

  • %User Temp%\smtmp
  • %Start Menu%\Programs\System Repair
  • %User Temp%\smtmp\1
  • %User Temp%\smtmp\2
  • %User Temp%\smtmp\3
  • %User Temp%\smtmp\4

(Note: %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.. %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.)

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
{random filename 1} = "%System Root%\Documents and Settings\All Users\Application Data\{random filename 1}.exe"

Other System Modifications

This Trojan adds the following registry entries:

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Policies\
ActiveDesktop
NoChangingWallpaper = "1"

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Policies\
Associations
LowRiskFileTypes = "/{hq:/s`s:/ogn:/uyu:/dyd:/c`u:/bnl:/ble:/sdf:/lrh:/iul:/iulm:/fhg:/clq:/kqf:/`wh:/lqf:/lqdf:/lnw:/lq2:/l2t:/v`w:/rbs:"

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Policies\
Attachments
SaveZoneInformation = "1"

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Policies\
System
DisableTaskMgr = "1"

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Policies\
Explorer
NoDesktop = "1"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\policies\
system
DisableTaskMgr = "1"

HKEY_CURRENT_USER\Software
75fa38b7-8b94-4995-ad32-52e938867954 = "{blank}"

It modifies the following registry entries:

HKEY_CURRENT_USER\Software\Microsoft\
Internet Explorer\Download
CheckExeSIgnatures = "no"

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

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Explorer\
Advanced
Hidden = "0"

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

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Explorer\
Advanced
ShowSuperHidden = "0"

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

Download Routine

This Trojan connects to the following malicious URLs:

  • http://{BLOCKED}ail.org/404.php?type=stats&affid={3 randim numbers}&subid=01&iruns

Other Details

This Trojan deletes the initially executed copy of itself

NOTES:

This malware moves specific files in the following directories:

Operating System major version is 5 (XP, 2000, 2003):
From: %System Root%\Documents and Settings\All Users\Start Menu\
To: %User Temp%\smtmp\1\

From: %User Profile%\Application Data\Microsoft\Internet Explorer\Quick Launch\
To: %User Temp%\smtmp\2\

From: %System Root%\Documents and Settings\All Users\Desktop\
To: %User Temp%\smtmp\4\

Operating System major version is 6 (Vista, 2008, 7)
From: %System Root%\ProgramData\Start Menu\
To: %User Temp%\smtmp\1\

From: %User Profile%\Application Data\Roaming\Microsoft\Internet Explorer\Quick Launch\
To: %User Temp%\smtmp\2\

From: %User Profile%\Application Data\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar\
To: %User Temp%\smtmp\3\

From: %System Root%\ProgramData\Desktop\
To: %User Temp%\smtmp\4\

It also modifies the attributes of files found in the affected system into Hidden, to trick the users that the files have been deleted.

  SOLUTION

Minimum Scan Engine: 9.200
FIRST VSAPI PATTERN FILE: 8.346.07
FIRST VSAPI PATTERN DATE: 09 Aug 2011

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_FAKEAL.DGH

[ 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 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
    • {random filename 1} = "%System Root%\Documents and Settings\All Users\Application Data\{random filename 1}.exe"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\ActiveDesktop
    • NoChangingWallpaper = "1"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Associations
    • LowRiskFileTypes = "/{hq:/s`s:/ogn:/uyu:/dyd:/c`u:/bnl:/ble:/sdf:/lrh:/iul:/iulm:/fhg:/clq:/kqf:/`wh:/lqf:/lqdf:/lnw:/lq2:/l2t:/v`w:/rbs:"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments
    • SaveZoneInformation = "1"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System
    • DisableTaskMgr = "1"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
    • NoDesktop = "1"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system
    • DisableTaskMgr = "1"
  • In HKEY_CURRENT_USER\Software
    • 75fa38b7-8b94-4995-ad32-52e938867954 = "{blank}"

Step 4

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\Internet Explorer\Download
    • From: CheckExeSIgnatures = "no"
      To: CheckExeSIgnatures = "yes"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
    • From: Hidden = "0"
      To: Hidden = "1"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
    • From: ShowSuperHidden = "0"
      To: ShowSuperHidden = "1"

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.
  • %Start Menu%\Programs\System Repair

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\{random filename 2}
  • %System Root%\Documents and Settings\All Users\Application Data\{random filename 2}.exe
  • %Desktop%\System Repair.lnk

Step 7

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

NOTES:

ADDITIONAL CLEAN INSTRUCTIONS:

To unhide the files hidden by this malware, perform the following steps:

  1. Open a Command Prompt.
  2. >For Windows 2000, Windows XP, and Windows Server 2003 users:
    Click Start > Run, type CMD in the text box provided, and then press Enter.

    For Windows Vista and Windows 7 users:
    Click the Start button, type CMD in the Search input field then press Enter.

  3. For every drive in the computer, type the following command:

  4. •attrib -h {drive letter}:\*.* /s /d
  5. Close Command Prompt. Type exit then press Enter.

To Restore Files to its Original Location:

Open %User Temp%\smtmp and copy the files as follows:

  • If operating system major version is 5 (XP, 2000, 2003):
    From: %User Temp%\smtmp\1\
    To: %System Root%\Documents and Settings\All Users\Start Menu\
  • From: %User Temp%\smtmp\2\
    To: %User Profile%\Application Data\Microsoft\Internet Explorer\Quick Launch\
  • From: %User Temp%\smtmp\4\
    To: %System Root%\Documents and Settings\All Users\Desktop\
  • If operating system major version is 6 (Vista, 2008, 7)
    From: %User Temp%\smtmp\1\
    To: %System Root%\ProgramData\Start Menu\
  • From: %User Temp%\smtmp\2\
    To: %User Profile%\Application Data\Roaming\Microsoft\Internet Explorer\Quick Launch\
  • From: %User Temp%\smtmp\3\
    To: %User Profile%\Application Data\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar\
  • From: %User Temp%\smtmp\4\
    To: %System Root%\ProgramData\Desktop\

After moving the files, delete the folder %User Temp%\smtmp.


Did this description help? Tell us how we did.