TSPY_TANDFUY.B

 Modified by: RonJay Kristoffer Caragay

 ALIASES:

TrojanDownloader:Win32/Tandfuy.B (Microsoft); Backdoor.Trojan (Symantec); Trojan-Dropper.Win32.Agent.ktmr (Kaspersky); Mal/Generic-L (Sophos); Trojan.Win32.Generic!BT (Sunbelt)

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

  TECHNICAL DETAILS

File Size:

36,640 bytes

File Type:

EXE

Memory Resident:

No

Initial Samples Received Date:

29 May 2014

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.

Other System Modifications

This spyware adds the following registry entries:

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\BITS
WOW64 = "1"

It modifies the following registry entries:

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\BITS\Parameters
ServiceDll = "%System%\midimapbits.dll"

(Note: The default value data of the said registry entry is "%System%\qmgr.dll".)

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\BITS
Start = "2"

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

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\BITS
Type = "272"

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

Dropping Routine

This spyware drops the following files:

  • %Temp%\version361.dat
  • %System%\midimapbits.dll

(Note: %Temp% is the Windows Temporary folder, which is usually C:\Windows\Temp.. %System% is the Windows system folder, which is usually C:\Windows\System32.)

Download Routine

This spyware downloads the file from the following URL and renames the file when stored in the affected system:

  • http://{BLOCKED}idata.com/eng/test/jp1.php?m={random}&os={os version}&ie={iexplorer version}
  • http://{BLOCKED}ate.{BLOCKED}ook.net/ja523.jpg
  • http://www.{BLOCKED}i-pg.co.jp/bbs/data/update/ja523.jpg
  • http://www.{BLOCKED}point.jp/member/img/ja523.jpg
  • http://www.{BLOCKED}eje.net/ja523.jpg
  • http://{BLOCKED}date.gndot.com/ja523.jpg
  • http://{BLOCKED}vidata.com/images/ja523.jpg
  • http://www.{BLOCKED}hoo.co.jp/ja523.jpg
  • http://www.{BLOCKED}te.com/ja523.jpg
  • http://www.{BLOCKED}han.co.kr/bbs/data/free/ja523.jpg
  • http://www.{BLOCKED}koking.jp/ja523.jpg
  • http://www.{BLOCKED}n.com/ja523.jpg
  • http://www.{BLOCKED}ngame.com/ja523.jpg
  • http://www.{BLOCKED}zmodo.jp/ja523.jpg
  • http://www.{BLOCKED}insmsn.com/ja523.jpg
  • http://www.{BLOCKED}ins.com/ja523.jpg
  • http://www.{BLOCKED}aync.jp/ja523.jpg
  • http://www.{BLOCKED}soft.jp/
  • http://www.{BLOCKED}story.com/start/ja523.jpg
  • http://www.{BLOCKED}tmarble.net/ja523.jpg

It saves the files it downloads using the following names:

  • %System Root%\a.dat
  • %Temp%\image.jpg

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

Other Details

This spyware connects to the following possibly malicious URL:

  • {BLOCKED}.145.238
  • {BLOCKED}.142.22
  • {BLOCKED}.63.230
  • {BLOCKED}.132.112
  • {BLOCKED}3.40.1
  • {BLOCKED}.215.210
  • {BLOCKED}.102.42
  • {BLOCKED}5.68.187
  • {BLOCKED}8.153.54
  • {BLOCKED}62.18
  • {BLOCKED}.196.132
  • {BLOCKED}0.49.173

  SOLUTION

Minimum Scan Engine:

9.700

FIRST VSAPI PATTERN FILE:

10.826.05

FIRST VSAPI PATTERN DATE:

29 May 2014

VSAPI OPR PATTERN File:

10.827.00

VSAPI OPR PATTERN Date:

29 May 2014

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 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\BITS
    • WOW64 = "1"

Step 3

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\BITS\Parameters
    • From: ServiceDll = "%System%\midimapbits.dll"
      To: ServiceDll = "%System%\qmgr.dll"
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\BITS
    • From: Start = "2"
      To: Start = "3"
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\BITS
    • From: Type = "272"
      To: Type = "32"

Step 4

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.
  • %System%\midimapbits.dll
  • %System Root%\a.dat
  • %Temp%\image.jpg
  • %Temp%\version361.dat

Step 5

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