TrojanSpy.Win32.LOKI.THBBHAI

 Analysis by: Jay Bradley Nebre

 ALIASES:

Backdoor.Win32.Androm.reyb(KASPERSKY); Win32/PSW.Fareit.L trojan(NOD32)

 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:

Downloaded from the Internet, Dropped by other malware


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 executes then deletes itself afterward.

It gathers certain information on the affected computer.

  TECHNICAL DETAILS

File Size:

829,304 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

28 Feb 2019

Payload:

Connects to URLs/IPs, Adds registry entries

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.

Installation

This Trojan Spy adds the following folders:

  • %Application Data%\{substring from hash of machine GUID}

(Note: %Application Data% is the current user's Application Data folder, which is usually C:\Documents and Settings\{user name}\Application Data on Windows 2000, XP, and Server 2003, or C:\Users\{user name}\AppData\Roaming on Windows Vista, 7, and 8.)

It drops the following files:

  • %Application Data%\{substring from hash of machine GUID}\{substring from hash of machine GUID}.lck - used for resource locking
  • %Application Data%\{substring from hash of machine GUID}\{substring from hash of machine GUID}.hdb - hash database of stolen information

(Note: %Application Data% is the current user's Application Data folder, which is usually C:\Documents and Settings\{user name}\Application Data on Windows 2000, XP, and Server 2003, or C:\Users\{user name}\AppData\Roaming on Windows Vista, 7, and 8.)

It drops the following copies of itself into the affected system:

  • %Application Data%\{substring from hash of machine GUID}\{substring from hash of machine GUID}.exe

(Note: %Application Data% is the current user's Application Data folder, which is usually C:\Documents and Settings\{user name}\Application Data on Windows 2000, XP, and Server 2003, or C:\Users\{user name}\AppData\Roaming on Windows Vista, 7, and 8.)

It executes then deletes itself afterward.

It adds the following mutexes to ensure that only one of its copies runs at any one time:

  • {Hash of Machine GUID}

Information Theft

This Trojan Spy gathers the following information on the affected computer:

  • User name
  • Computer name
  • Machine GUID

It attempts to steal stored account information used in the following installed File Transfer Protocol (FTP) clients or file manager software:

  • 32BitFtp
  • ALFTP
  • BitKinex
  • Bitvise SSH
  • BlazeFtp
  • ClassicFTP
  • Cyberduck
  • EasyFTP
  • ExpanDrive
  • Far
  • Far2
  • Far Manager
  • FileZilla
  • FlashFXP
  • Fling
  • FreshFTP
  • FTPBox
  • FTPGetter
  • FTPInfo
  • FTP Navigator
  • FTP Now
  • FTPShell
  • fullsync
  • DeluxeFTP
  • GoFTP
  • JaSFtp
  • AbleFTP
  • Automize
  • LinasFTP
  • MyFTP
  • NetDrive
  • NetDrive2
  • Fastream NETFile
  • NexusFile
  • NovaFTP
  • Notepad++ NppFTP
  • Odin Secure FTP Expert
  • PuTTY
  • KiTTY
  • SecureFX
  • SftpNetDrive
  • sherrod FTP
  • SmartFTP
  • Staff-FTP
  • Steed
  • SuperPutty
  • Syncovery
  • Total Commander
  • UltraFXP
  • WinFtp Client
  • FSProtocol
  • WinSCP
  • WS_FTP
  • Ipswitch
  • Xftp

It attempts to steal stored email credentials from the following:

  • Thunderbird
  • Postbox
  • FossaMail
  • Foxmail
  • IncrediMail
  • Outlook

It attempts to get stored information such as user names, passwords, and hostnames from the following browsers:

  • ChromePlus
  • Comodo Dragon
  • Chrome
  • Nichrome
  • Rockmelt
  • Spark
  • Chromium
  • Titan Browser
  • Torch
  • YandexBrowser
  • Epic Privacy Browser
  • CocCoc
  • Vivaldi
  • Chromodo
  • Superbird
  • Coowon
  • Mustang Browser
  • 360Browser
  • Citrio
  • Chrome SxS
  • Orbitum
  • Iridium
  • Opera
  • ChromiumViewer
  • Internet Explorer
  • Firefox
  • SeaMonkey
  • Flock Browser
  • K-Meleon
  • IceDragon
  • BlackHawk
  • Cyberfox
  • Pale Moon
  • Lunascape6
  • Waterfox
  • QtWeb
  • QupZilla
  • Safari

Stolen Information

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

  • {BLOCKED}.{BLOCKED}.34.234/hook/logs/fre.php

  SOLUTION

Minimum Scan Engine:

9.850

FIRST VSAPI PATTERN FILE:

14.842.05

FIRST VSAPI PATTERN DATE:

28 Feb 2019

VSAPI OPR PATTERN File:

14.843.00

VSAPI OPR PATTERN Date:

01 Mar 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

Identify and terminate files detected as TrojanSpy.Win32.LOKI.THBBHAI

[ 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 4

Search and delete this file

[ Learn More ]
There may be some files 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.
  • %Application Data%\{substring from hash of machine GUID}\{substring from hash of machine GUID}.lck
  • %Application Data%\{substring from hash of machine GUID}\{substring from hash of machine GUID}.hdb
  • %Application Data%\{substring from hash of machine GUID}\{substring from hash of machine GUID}.exe

Step 5

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.
  • %Application Data%\{substring from hash of machine GUID}

Step 6

Scan your computer with your Trend Micro product to delete files detected as TrojanSpy.Win32.LOKI.THBBHAI. 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.