TROJ_SIREFEF.AAH


 ALIASES:

Trojan:Win32/Sirefef.AB (Microsoft); Ransom!gm (McAfee); Trojan.Win32.Generic!BT (Sunbelt)

 PLATFORM:

Windows 2000, Windows XP, Windows Server 2003

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

  • Threat Type: Trojan

  • Destructiveness: No

  • Encrypted:

  • 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.

  TECHNICAL DETAILS

File Size:

169,984 bytes

File Type:

EXE

Memory Resident:

No

Initial Samples Received Date:

23 Aug 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.

Other System Modifications

This Trojan deletes the following files:

  • \systemroot\system32\

It adds the following registry keys:

HKEY_CURRENT_USER\Software\Classes\
clsid

HKEY_CURRENT_USER\clsid\{42aedc87-2188-41fd-b9a3-0c966feabec1}

HKEY_CURRENT_USER\clsid\{42aedc87-2188-41fd-b9a3-0c966feabec1}\
InprocServer32

It adds the following registry entries:

HKEY_CURRENT_USER\clsid\{42aedc87-2188-41fd-b9a3-0c966feabec1}\
InprocServer32
ThreadingModel = "Both"

It modifies the following registry entries:

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\000000000007
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\000000000006
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.)

Dropping Routine

This Trojan drops the following files:

  • @
  • L
  • n
  • GAC_MSIL
  • GAC
  • \systemroot\assembly\GAC\Desktop.ini

This report is generated via an automated analysis system.

  SOLUTION

Minimum Scan Engine:

9.200

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

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\Classes
    • clsid
  • In HKEY_CURRENT_USER\clsid
    • {42aedc87-2188-41fd-b9a3-0c966feabec1}
  • In HKEY_CURRENT_USER\clsid\{42aedc87-2188-41fd-b9a3-0c966feabec1}
    • InprocServer32

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\clsid\{42aedc87-2188-41fd-b9a3-0c966feabec1}\InprocServer32
    • ThreadingModel = "Both"

Step 4

Restore these modified registry values

[ Learn More ]

Important:Editing the Windows Registry incorrectly can lead to irreversible system malfunction. Please do this only if you know how to or you can seek your system administrator's help. You may also check out this Microsoft article first before modifying your computer's registry.

  • 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\000000000007
    • From: PackedCatalogItem = "{random values}"
      To: PackedCatalogItem = ""{random values}""
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\WinSock2\Parameters\Protocol_Catalog9\Catalog_Entries\000000000006
    • 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""

Step 5

Search and delete these components

[ Learn More ]
There may be some components 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.
  • @
  • L
  • n
  • GAC_MSIL
  • GAC
  • \systemroot\assembly\GAC\Desktop.ini

Step 6

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

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.

  • \systemroot\system32\


Did this description help? Tell us how we did.