ALIASES:

TrojanDownloader:Win32/Dofoil.R (Microsoft); Generic Downloader.x!glw (McAfee); Trojan-Downloader.Win32.Dofoil (Sunbelt)

 PLATFORM:

Windows 2000, Windows XP, Windows Server 2003

 OVERALL RISK RATING:
 REPORTED INFECTION:
 SYSTEM IMPACT RATING:
 INFORMATION EXPOSURE:

  • Threat Type: Spyware

  • Destructiveness: No

  • Encrypted:

  • In the wild: Yes

  OVERVIEW

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

It disables Task Manager, Registry Editor, and Folder Options.

  TECHNICAL DETAILS

File Size: 151,552 bytes
File Type: EXE
Memory Resident: No
Initial Samples Received Date: 30 Oct 2012

Arrival Details

This spyware 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 spyware drops the following copies of itself into the affected system:

  • %User Profile%\BDFF95\BDFF95.exe

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

It creates the following folders:

  • %User Profile%\Application Data\BDFF95

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

Other System Modifications

This spyware deletes the following files:

  • %User Profile%\BDFF95\BDFF95.exe
  • %User Profile%\BDFF95\BDFF95.exe:Zone.Identifier
  • %User Temp%\1.tmp
  • %Windows%\SoftwareDistribution\DataStore\Logs\edbtmp.log

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

It adds the following registry keys:

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Policies\
Explorer\Run

HKEY_CURRENT_USER\Software\Classes\
clsid

HKEY_CURRENT_USER\clsid\{fbeb8a05-beee-4442-804e-409d6c4515e9}

HKEY_CURRENT_USER\clsid\{fbeb8a05-beee-4442-804e-409d6c4515e9}\
InprocServer32

It adds the following registry entries:

HKEY_CURRENT_USER\clsid\{fbeb8a05-beee-4442-804e-409d6c4515e9}\
InprocServer32
ThreadingModel = "Both"

It modifies the following registry entries:

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\WinSock2\Parameters\
Protocol_Catalog9\Catalog_Entries\000000000013
PackedCatalogItem = "{random values}"

(Note: The default value data of the said registry entry is {random values}.)

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\WinSock2\Parameters\
Protocol_Catalog9\Catalog_Entries\000000000012
PackedCatalogItem = "{random values}"

(Note: The default value data of the said registry entry is {random values}.)

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\WinSock2\Parameters\
Protocol_Catalog9\Catalog_Entries\000000000011
PackedCatalogItem = "{random values}"

(Note: The default value data of the said registry entry is {random values}.)

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\WinSock2\Parameters\
Protocol_Catalog9\Catalog_Entries\000000000010
PackedCatalogItem = "{random values}"

(Note: The default value data of the said registry entry is {random values}.)

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\WinSock2\Parameters\
Protocol_Catalog9\Catalog_Entries\000000000009
PackedCatalogItem = "{random values}"

(Note: The default value data of the said registry entry is {random values}.)

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\WinSock2\Parameters\
Protocol_Catalog9\Catalog_Entries\000000000008
PackedCatalogItem = "{random values}"

(Note: The default value data of the said registry entry is {random values}.)

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\WinSock2\Parameters\
Protocol_Catalog9\Catalog_Entries\000000000005
PackedCatalogItem = "{random values}"

(Note: The default value data of the said registry entry is {random values}.)

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\WinSock2\Parameters\
Protocol_Catalog9\Catalog_Entries\000000000004
PackedCatalogItem = "{random values}"

(Note: The default value data of the said registry entry is {random values}.)

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\WinSock2\Parameters\
Protocol_Catalog9\Catalog_Entries\000000000003
PackedCatalogItem = "{random values}"

(Note: The default value data of the said registry entry is {random values}.)

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\WinSock2\Parameters\
Protocol_Catalog9\Catalog_Entries\000000000002
PackedCatalogItem = "{random values}"

(Note: The default value data of the said registry entry is {random values}.)

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\WinSock2\Parameters\
Protocol_Catalog9\Catalog_Entries\000000000001
PackedCatalogItem = "{random values}"

(Note: The default value data of the said registry entry is {random values}.)

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\WinSock2\Parameters\
NameSpace_Catalog5\Catalog_Entries\000000000003
LibraryPath = "mswsock.dll"

(Note: The default value data of the said registry entry is %SystemRoot%\System32\mswsock.dll.)

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\WinSock2\Parameters\
NameSpace_Catalog5\Catalog_Entries\000000000001
LibraryPath = "mswsock.dll"

(Note: The default value data of the said registry entry is %SystemRoot%\System32\mswsock.dll.)

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\SharedAccess\Epoch
Epoch = "194"

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

It creates the following registry entry(ies) to disable Task Manager, Registry Tools and Folder Options:

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Policies\
Explorer\Run
Classes = "%User Profile%\BDFF95\BDFF95.exe"

Dropping Routine

This spyware drops the following files:

  • GAC_MSIL
  • GAC
  • \systemroot\assembly\GAC\Desktop.ini
  • %System Root%\RECYCLER
  • %System Root%\RECYCLER\S-1-5-21-4025279379-4087772427-2915903831-500
  • @
  • n
  • %System Root%\RECYCLER\S-1-5-18

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

This report is generated via an automated analysis system.

  SOLUTION

Minimum Scan Engine: 9.300

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

Enable Registry Editor, Task Manager, and Folder options

[ Learn More ]
By doing this step, you also enable other applications/programs disabled by this malware/grayware.

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\Microsoft\Windows\CurrentVersion\Policies\Explorer
    • Run
  • In HKEY_CURRENT_USER\Software\Classes
    • clsid
  • In HKEY_CURRENT_USER\clsid
    • {fbeb8a05-beee-4442-804e-409d6c4515e9}
  • In HKEY_CURRENT_USER\clsid\{fbeb8a05-beee-4442-804e-409d6c4515e9}
    • InprocServer32

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\clsid\{fbeb8a05-beee-4442-804e-409d6c4515e9}\InprocServer32
    • ThreadingModel = "Both"

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_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\WinSock2\Parameters\Protocol_Catalog9\Catalog_Entries\000000000013
    • From: PackedCatalogItem = "{random values}"
      To: PackedCatalogItem = ""{random values}""
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\WinSock2\Parameters\Protocol_Catalog9\Catalog_Entries\000000000012
    • From: PackedCatalogItem = "{random values}"
      To: PackedCatalogItem = ""{random values}""
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\WinSock2\Parameters\Protocol_Catalog9\Catalog_Entries\000000000011
    • From: PackedCatalogItem = "{random values}"
      To: PackedCatalogItem = ""{random values}""
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\WinSock2\Parameters\Protocol_Catalog9\Catalog_Entries\000000000010
    • From: PackedCatalogItem = "{random values}"
      To: PackedCatalogItem = ""{random values}""
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\WinSock2\Parameters\Protocol_Catalog9\Catalog_Entries\000000000009
    • From: PackedCatalogItem = "{random values}"
      To: PackedCatalogItem = ""{random values}""
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\WinSock2\Parameters\Protocol_Catalog9\Catalog_Entries\000000000008
    • From: PackedCatalogItem = "{random values}"
      To: PackedCatalogItem = ""{random values}""
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\WinSock2\Parameters\Protocol_Catalog9\Catalog_Entries\000000000005
    • From: PackedCatalogItem = "{random values}"
      To: PackedCatalogItem = ""{random values}""
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\WinSock2\Parameters\Protocol_Catalog9\Catalog_Entries\000000000004
    • From: PackedCatalogItem = "{random values}"
      To: PackedCatalogItem = ""{random values}""
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\WinSock2\Parameters\Protocol_Catalog9\Catalog_Entries\000000000003
    • From: PackedCatalogItem = "{random values}"
      To: PackedCatalogItem = ""{random values}""
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\WinSock2\Parameters\Protocol_Catalog9\Catalog_Entries\000000000002
    • From: PackedCatalogItem = "{random values}"
      To: PackedCatalogItem = ""{random values}""
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\WinSock2\Parameters\Protocol_Catalog9\Catalog_Entries\000000000001
    • From: PackedCatalogItem = "{random values}"
      To: PackedCatalogItem = ""{random values}""
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\WinSock2\Parameters\NameSpace_Catalog5\Catalog_Entries\000000000003
    • From: LibraryPath = "mswsock.dll"
      To: LibraryPath = ""%SystemRoot%\System32\mswsock.dll""
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\WinSock2\Parameters\NameSpace_Catalog5\Catalog_Entries\000000000001
    • From: LibraryPath = "mswsock.dll"
      To: LibraryPath = ""%SystemRoot%\System32\mswsock.dll""
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\SharedAccess\Epoch
    • From: Epoch = "194"
      To: Epoch = ""3d""

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.
  • GAC_MSIL
  • GAC
  • \systemroot\assembly\GAC\Desktop.ini
  • %System Root%\RECYCLER
  • %System Root%\RECYCLER\S-1-5-21-4025279379-4087772427-2915903831-500
  • @
  • n
  • %System Root%\RECYCLER\S-1-5-18

Step 7

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.
  • %User Profile%\Application Data\BDFF95

Step 8

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

Step 9

Restore this file from backup only Microsoft-related files will be restored. If this malware/grayware also deleted files related to programs that are not from Microsoft, please reinstall those programs on you computer again.

  • %User Profile%\BDFF95\BDFF95.exe
  • %User Profile%\BDFF95\BDFF95.exe:Zone.Identifier
  • %User Temp%\1.tmp
  • %Windows%\SoftwareDistribution\DataStore\Logs\edbtmp.log


Did this description help? Tell us how we did.