Trojan-Spy:W32/Banbra.RH

Classification

Category :

Malware

Type :

Trojan-Spy

Aliases :

Trojan-Spy:W32/Banbra.RH, Trojan-Spy:W32/Banbra.RH, Trojan-Banker.Win32.Banbra.dcn, Trojan:Win32/VB.JH (Microsoft), Trojan-Downloader.Win32.Banload.cfn (Other)

Summary

This type of trojan secretly installs spy programs and/or keylogger programs.

Removal

Based on the settings of your F-Secure security product, it will either move the file to the quarantine where it cannot spread or cause harm, or remove it.

A False Positive is when a file is incorrectly detected as harmful, usually because its code or behavior resembles known harmful programs. A False Positive will usually be fixed in a subsequent database update without any action needed on your part. If you wish, you may also:

  • Check for the latest database updates

    First check if your F-Secure security program is using the latest updates, then try scanning the file again.

  • Submit a sample

    After checking, if you still believe the file is incorrectly detected, you can submit a sample of it for re-analysis.

    Note: If the file was moved to quarantine, you need to collect the file from quarantine before you can submit it.

  • Exclude a file from further scanning

    If you are certain that the file is safe and want to continue using it, you can exclude it from further scanning by the F-Secure security product.

    Note: You need administrative rights to change the settings.

Technical Details

This malware steals login information for the Bradesco Net Empresa online banking site by displaying a fake login screen to individuals attempting to access the legitimate bank site. After harvesting the login details, the malware will save that information into a file that it emails to a remote user. The malware is compressed with UPX 3.0.

Execution

Upon execution, this malware turns off the Windows Firewall, using a command-line tool built into Windows and normally used to change system configuration:

  • netsh firewall set opmode mode=disable

It will also create the following folders:

  • %windir%\inetinfx.exe - copy of itself
  • %windir%\inidirx.ini - text file where the malware logs the login information it retrieves

The malware then stays resident in the memory, waiting. It continually monitors the browser window titles and when the title is changed to "https://bradesconetempresa.com.br - Bradesco - Colocando voc sempre frente - Microsoft Internet Explorer", it will activate and display a fake login screen, to fool the individual into believing they have accessed the legitimate website's login screen. Information entered into the login screen's forms are saved in the inidirx.ini text file and are sent to the email address master.canico[...]@gmail.com.

File System Changes

Creates these files:

  • %windir%\inetinfx.exe
  • %windir%\inidirx.ini

Process Changes

Creates these processes:

  • %windir%\system32\netsh.exe

Creates these mutexes:

  • MSIdent Logon

Network Connections

Attempts to connect to:

  • smtps.uol.com.br:[...]/TCP

Registry Modifications

Sets these values:

  • HKCU\Software\Microsoft\Windows\CurrentVersion\Run MicrosoftUpgrade = C:\WINDOWS\inetinfx.exe
  • HKCU\Identities Identity Ordinal = 00000002
  • HKCU\Software\Microsoft\Internet Account Manager\Accounts AssociatedID = \x1E\x8B\x0C\x5F\x3C\x6F\xC9\x42\xA5\xE6\x92\x95\x96\x74\x9C\xF9
  • HKCU\Software\Microsoft\Internet Account Manager Server ID = 00000004
  • HKLM\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile EnableFirewall = 00000000 DoNotAllowExceptions = 00000000
  • HKLM\Software\Microsoft\Tracing\FWCFG EnableFileTracing = 00000000 EnableConsoleTracing = 00000000 FileTracingMask = FFFF0000 ConsoleTracingMask = FFFF0000 MaxFileSize = 00100000 FileDirectory = %windir%\tracing

Creates these keys:

  • HKLM\Software\Microsoft\Tracing\FWCFG