Trojan.JS.BANKER.THBAIAI

 Analysis by: Henry Alarcon Jr.

 ALIASES:

Trojan-Banker.JS.Agent.x (KASPERSKY)

 PLATFORM:

Windows

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

  • Threat Type: Trojan Spy

  • Destructiveness: No

  • Encrypted: Yes

  • In the wild: Yes

  OVERVIEW

Infection Channel:

Dropped by other malware, Downloaded from the Internet, Via email

This Trojan Spy arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites. It may be dropped by other malware.

  TECHNICAL DETAILS

File Size:

27,643 bytes

File Type:

JS

Memory Resident:

No

Initial Samples Received Date:

19 Feb 2019

Payload:

Connects to URLs/IPs, Steals information

Arrival Details

This Trojan Spy arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites.

It may be dropped by the following malware:

Stolen Information

This Trojan Spy sends the gathered information via HTTP POST to the following URL:

  • https://{BLOCKED}coesmdsgovbr.org/javascript/log3.php?logins=1

Other Details

This Trojan Spy does the following:

  • This malware looks for the following strings first before its executing malicious routine:
    • fetuar
    • agar
    • agamento
    • "sign
    • ontinu
    • inaliza
    • cessa
    • confirma
    • ok
    • ntra
    • avan
    • ogin
    • uber
    • Avan
    • esquisa
    • earch
    • usca
    • clkLgn
    • submit
    • Continuar
    • Finalizar
    • btn btn --arrrow btn-full
    • bv
    • youtube
    • XXXXXXXXXXXX
  • It replace the < button tags with < button id="idbtn1".
  • It wont continue to its malicious routine if found the following strings:
    • digo de seguran
    • digo de Seguran
    • cvv
  • It monitors all visited websites and gathers the following information:
    • location.hostname
    • location.href
    • HTML input elements with the ff. types:
      • password
      • text
      • email
      • tel
      • number
      • hidden
  • It also triggers its malicious routine when following buttons are clicked:
    • "#idSIButton9"
    • "#signIn"
    • "#login-signin"
    • "#idbtn1"
  • It won't continue to its malicious routine if developers tools/ debugger is open in the browser.

  SOLUTION

Minimum Scan Engine:

9.850

FIRST VSAPI PATTERN FILE:

14.824.02

FIRST VSAPI PATTERN DATE:

19 Feb 2019

VSAPI OPR PATTERN File:

14.825.00

VSAPI OPR PATTERN Date:

20 Feb 2019

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

Note that not all files, folders, and registry keys and entries are installed on your computer during this malware's/spyware's/grayware's execution. This may be due to incomplete installation or other operating system conditions. If you do not find the same files/folders/registry information, please proceed to the next step.

Step 3

Scan your computer with your Trend Micro product to delete files detected as Trojan.JS.BANKER.THBAIAI. 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 the following Trend Micro Support pages for more information:


Did this description help? Tell us how we did.