TrojanSpy.Win32.LOKI.HA

 Analysis by: Henry Alarcon Jr.

 ALIASES:

Trojan:Win32/Occamy.C (Microsoft), HEUR:Backdoor.Win32.Agent.gen (Kaspersky)

 PLATFORM:

Windows

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

  • Threat Type: Trojan Spy

  • Destructiveness: No

  • Encrypted:

  • 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 gathers certain information on the affected computer.

It deletes itself after execution.

  TECHNICAL DETAILS

File Size:

695,296 bytes

File Type:

EXE

Memory Resident:

Yes

Payload:

Drops files, Modifies system registry, Connects to URLs/IPs

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

(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 adds the following mutexes to ensure that only one of its copies runs at any one time:

  • {hash of machine GUID}

Other System Modifications

This Trojan Spy adds the following registry keys:

HKEY_CURRENT_USER\http://decreplace.eu/a1-new/fre.php

It also creates the following registry entry(ies) as part of its installation routine:

HKEY_CURRENT_USER\http://decreplace.eu/a1-new/fre.php
{substring from hash of machine GUID} = %Application Data%\{substring from hash of machine GUID}\{substring from hash of machine GUID}.exe

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:

  • 360Browser
  • 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:

  • http://{BLOCKED}lace.eu/a1-new/fre.php

Other Details

This Trojan Spy deletes itself after execution.

  SOLUTION

Minimum Scan Engine:

9.850

FIRST VSAPI PATTERN FILE:

14.736.04

FIRST VSAPI PATTERN DATE:

07 Jan 2019

VSAPI OPR PATTERN File:

14.737.00

VSAPI OPR PATTERN Date:

08 Jan 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.HA

[ 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

Delete this registry key

[ 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_CURRENT_USER\http://decreplace.eu/a1-new/fre.php
    • {substring from hash of machine GUID} = %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.HA. 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.