TROJ_GENERIC.DIT

 Analysis by: Christopher Daniel So

 PLATFORM:

Windows 2000, XP, 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 may be dropped by other malware. It may be unknowingly downloaded by a user while visiting malicious websites.

It attempts to steal sensitive online banking information, such as user names and passwords. This routine risks the exposure of the user's account information, which may then lead to the unauthorized use of the stolen data. It attempts to steal information, such as user names and passwords, used when logging into certain banking or finance-related websites.

It attempts to get information from a list of banks or financial institutions.

It connects to certain websites to send and receive information.

  TECHNICAL DETAILS

File Size:

3,657,392 bytes

File Type:

PE

Memory Resident:

Yes

Initial Samples Received Date:

31 Aug 2009

Payload:

Steals information, Modifies files

Arrival Details

This Trojan may be dropped by other malware.

It may be unknowingly downloaded by a user while visiting malicious websites.

Installation

This Trojan drops the following copies of itself into the affected system:

  • %Windows%\system\win.exe

(Note: %Windows% is the Windows folder, which is usually C:\Windows.)

Autostart Technique

This Trojan creates the following registry entries to enable automatic execution of dropped component at every system startup:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Run
Windows32 = %Windows%\system\win.exe

Other System Modifications

This Trojan overwrites the AUTOEXEC.BAT file with the following strings:

  • @echo off
  • SET cmdprinc=del
  • SET pasta1=c:\windows\downlo~1\gb*.*
  • SET pasta2=c:\windows\downlo~1\*.g??
  • SET pasta3=c:\windows\downlo~1\g*.*
  • SET pasta4=c:\arquiv~1\GbPlugin\g*.*
  • SET pasta5=c:\arquiv~1\GbPlugin\b*.*
  • SET pasta6=c:\arquiv~1\GbPlugin\c*.*
  • SET pasta55=c:\arquiv~1\GbPlugin\u*.*
  • SET pasta7=c:\windows\downlo~1\Ab*.*
  • SET pasta8=c:\windows\downlo~1\b*.*
  • SET pasta9=c:\windows\downlo~1\Ab*.*
  • SET pasta10=c:\progra~1\GbPlugin\g*.*
  • SET pasta11=c:\progra~1\GbPlugin\b*.*
  • SET pasta12=c:\progra~1\GbPlugin\c*.*
  • SET pasta56=c:\progra~1\GbPlugin\u*.*
  • SET pasta13=C:\progra~1\Scpad\s*.*
  • SET pasta14=c:\arquiv~1\Scpad\s*.*
  • SET pasta15=C:\WINDOWS\system32\scpsssh*.*
  • %cmdprinc% %pasta1%
  • %cmdprinc% %pasta2%
  • %cmdprinc% %pasta3%
  • %cmdprinc% %pasta4%
  • %cmdprinc% %pasta5%
  • %cmdprinc% %pasta6%
  • %cmdprinc% %pasta7%
  • %cmdprinc% %pasta8%
  • %cmdprinc% %pasta9%
  • %cmdprinc% %pasta10%
  • %cmdprinc% %pasta11%
  • %cmdprinc% %pasta12%
  • %cmdprinc% %pasta13%
  • %cmdprinc% %pasta14%
  • %cmdprinc% %pasta15%
  • %cmdprinc% %pasta55%
  • %cmdprinc% %pasta56%

It adds the following registry entries as part of its installation routine:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\SharedAccess\Parameters\
FirewallPolicy\StandardProfile\AuthorizedApplications\
List
{malware path and file name}.EXE = {malware path and file name}.EXE:*:Enabled:RPCCC

Information Theft

This Trojan monitors the Internet Explorer (IE) activities of the affected system, specifically the address bar or title bar. It recreates a legitimate website with a spoofed login page if a user visits banking sites with the following strings in the address bar or title bar:

  • Bradesco Prime
  • caixa1
  • CITI_card
  • credicard itau - cocada v1.0
  • htm/saibaMaisCadMaq/saibaMaisCompleto.htm
  • https://internetbanking.caixa.gov.br/siwinstatic/htm/saibaMaisCadMaq/saibaMaisCompleto.htm

It attempts to steal sensitive online banking information, such as user names and passwords. This routine risks the exposure of the user's account information, which may then lead to the unauthorized use of the stolen data.

It attempts to steal information from the following banks and/or other financial institutions:

  • Bradesco
  • Caixa
  • Citibank
  • Itau

Attacked Entities

This Trojan attempts to get information from a list of banks or financial institutions.

Stolen Information

The stolen information is saved in the following file:

  • %System%\reg_0001.txt

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

It sends the data it gathers to the following email addresses via SMTP:

  • {BLOCKED}@msn.com

Other Details

This Trojan connects to the following website to send and receive information:

  • http://{BLOCKED}ka.freeweb7.com/bar.php

  SOLUTION

Minimum Scan Engine:

8.900

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

Identify and terminate files detected as TROJ_GENERIC.DIT

[ Learn More ]
  1. Windows Task Manager may not display all running processes. In this case, please use a third-party process viewer, preferably Process Explorer, to terminate the malware/grayware/spyware file. You may download the said tool here.
  2. 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.
  3. 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_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
    • Windows32 = "%Windows%\system\win.exe"
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\AuthorizedApplications\List
    • {malware path and file name}.EXE = "{malware path and file name}.EXE:*:Enabled:RPCCC"

Step 4

Restoring AUTOEXEC.BAT

  1. Open AUTOEXEC.BAT using Notepad. Click Start>Run, type this text string in the Open input box then press Enter:
    notepad C:autoexec.bat
  2. Delete the following entries created by the malware:
    @echo off
    SET cmdprinc=del
    SET pasta1=c:\windows\downlo~1\gb*.*
    SET pasta2=c:\windows\downlo~1\*.g??
    SET pasta3=c:\windows\downlo~1\g*.*
    SET pasta4=c:\arquiv~1\GbPlugin\g*.*
    SET pasta5=c:\arquiv~1\GbPlugin\b*.*
    SET pasta6=c:\arquiv~1\GbPlugin\c*.*
    SET pasta55=c:\arquiv~1\GbPlugin\u*.*
    SET pasta7=c:\windows\downlo~1\Ab*.*
    SET pasta8=c:\windows\downlo~1\b*.*
    SET pasta9=c:\windows\downlo~1\Ab*.*
    SET pasta10=c:\progra~1\GbPlugin\g*.*
    SET pasta11=c:\progra~1\GbPlugin\b*.*
    SET pasta12=c:\progra~1\GbPlugin\c*.*
    SET pasta56=c:\progra~1\GbPlugin\u*.*
    SET pasta13=C:\progra~1\Scpad\s*.*
    SET pasta14=c:\arquiv~1\Scpad\s*.*
    SET pasta15=C:\WINDOWS\system32\scpsssh*.*
    %cmdprinc% %pasta1%
    %cmdprinc% %pasta2%
    %cmdprinc% %pasta3%
    %cmdprinc% %pasta4%
    %cmdprinc% %pasta5%
    %cmdprinc% %pasta6%
    %cmdprinc% %pasta7%
    %cmdprinc% %pasta8%
    %cmdprinc% %pasta9%
    %cmdprinc% %pasta10%
    %cmdprinc% %pasta11%
    %cmdprinc% %pasta12%
    %cmdprinc% %pasta13%
    %cmdprinc% %pasta14%
    %cmdprinc% %pasta15%
    %cmdprinc% %pasta55%
    %cmdprinc% %pasta56%

  3. Close AUTOEXEC.BAT and click Yes when prompted to save.

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%\reg_0001.txt

Step 6

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