Skip to content

Export page to PDF
TSPY_BANCOS.AEM
Aliases: TrojanSpy:Win32/Banker (Microsoft); PWS-Banker!dho (McAfee); Infostealer.Bancos (Symantec); Trojan.Win32.Tjp.h (Kaspersky); Trojan.Win32.Generic!BT (Sunbelt); Trojan.Generic.2816748 (FSecure)
Malware type: Spyware
Destructive: No
Platform: Windows 2000, Windows XP, Windows Server 2003
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: 1,363,456 bytes
File type: EXE
Memory resident: Yes
Initial samples received date: 19 Dec 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 creates the following folders:

  • %System Root%\Temp

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

Autostart Technique

This spyware adds the following registry entries to enable its automatic execution at every system startup:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Run
DrvStart = "%Windows%\Media\HPMedia.exe"

Other System Modifications

This spyware deletes the following files:

  • %Windows%\Media\AuxImgDll.dll.old
  • %System Root%\AuxImgDll.dll.old

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

It modifies the following registry entries:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows NT\CurrentVersion\Tracing\
Microsoft\Imapi
LogSessionName = "stdout"

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

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows NT\CurrentVersion\Tracing\
Microsoft\Imapi
Active = "1"

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

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows NT\CurrentVersion\Tracing\
Microsoft\Imapi
ControlFlags = "1"

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

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows NT\CurrentVersion\Tracing\
Microsoft\Imapi\ImapiSvc
Guid = "8107d8e9-e323-49f5-bba2-abc35c243dca"

(Note: The default value data of the said registry entry is 8107d8e9-e323-49f5-bba2-abc35c243dca.)

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows NT\CurrentVersion\Tracing\
Microsoft\Imapi\ImapiSvc
BitNames = "{random characters}"

(Note: The default value data of the said registry entry is ImapiDebugError ImapiDebugWarning ImapiDebugTrace ImapiDebugInfo ImapiDebugX ImapiDebugSort.)

Dropping Routine

This spyware drops the following files:

  • %System Root%\Temp.tjp
  • %Windows%\Media\AuxImgDll.dll
  • %System Root%\AuxImgDll.dll
  • %Windows%\Media\HPMedia.exe
  • %System Root%\user.dat
  • %System Root%\upset1.dat
  • %Windows%\wnetsock08.dll
  • Emails.dat
  • %System Root%\temp\{malware file name}
  • %System Root%\Temp\SelfDelete.bat
  • %Temp%\v67g59qf.TMP
  • %System Root%\.exe

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

This report is generated via an automated analysis system.

Solution


Minimum scan engine: 9.300

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

Restart in Safe Mode

[ Learn more ]

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_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
    • DrvStart = "%Windows%\Media\HPMedia.exe"

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\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Tracing\Microsoft\Imapi
    • From: LogSessionName = "stdout"
      To: LogSessionName = ""{random values}""
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Tracing\Microsoft\Imapi
    • From: Active = "1"
      To: Active = ""1""
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Tracing\Microsoft\Imapi
    • From: ControlFlags = "1"
      To: ControlFlags = ""1""
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Tracing\Microsoft\Imapi\ImapiSvc
    • From: Guid = "8107d8e9-e323-49f5-bba2-abc35c243dca"
      To: Guid = ""8107d8e9-e323-49f5-bba2-abc35c243dca""
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Tracing\Microsoft\Imapi\ImapiSvc
    • From: BitNames = "{random characters}"
      To: BitNames = "" ImapiDebugError ImapiDebugWarning ImapiDebugTrace ImapiDebugInfo ImapiDebugX ImapiDebugSort""

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.
  • %System Root%\Temp.tjp
  • %Windows%\Media\AuxImgDll.dll
  • %System Root%\AuxImgDll.dll
  • %Windows%\Media\HPMedia.exe
  • %System Root%\user.dat
  • %System Root%\upset1.dat
  • %Windows%\wnetsock08.dll
  • Emails.dat
  • %System Root%\temp\{malware file name}
  • %System Root%\Temp\SelfDelete.bat
  • %Temp%\v67g59qf.TMP
  • %System Root%\.exe

Step 6

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.
  • %System Root%\Temp

Step 7

Restart in normal mode and scan your computer with your Trend Micro product for files detected as TSPY_BANCOS.AEM. 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 8

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.

  • %Windows%\Media\AuxImgDll.dll.old
  • %System Root%\AuxImgDll.dll.old


Did this description help? Tell us how we did.
Analysis By: Automation

Connect with us on