Loki Info Stealer Propagates through LZH Files

Insights and analysis by Miguel Ang

We previously encountered a spam sample that propagates the info stealer Loki through Windows Cabinet (CAB) files. Recently, we acquired another sample that delivers the same malware, but this time through LZH compressed archive files. Trend Micro detects the attachment and the dropper as TrojanSpy.Win32.LOKI.TIOIBYTU.

LZH files, more commonly used in Japan for compressing files, have also been used to deliver other malware such as Negasteal and Ave Maria.

The malicious LZH file attachment comes from an email posing as a payment confirmation advice from a bank. The attachment is named “payment confirmation.lzh”.

Figure 1. Sample email delivering Loki through LZH attachment

The LZH archive attachment contained the Loki dropper named bFbnF2vovw15SVM.exe. It also has a folder named “crypted_files,” which contains an empty folder named “myself_crypted” inside. This was either the result of an error in archiving the sample or was meant to be used to contain additional components or payloads.

Figure 2. Attachment contents


Figure 3. Contents of the “crypted files” folder

The Loki dropper uses .NET compiled binaries to add multiple layers of obfuscation. It eventually uses process hollowing to load and execute the main Loki payload. This method is reminiscent of the campaign that propagates Loki through CAB file attachments. The main Loki payload that it drops also has the same hash as the variant concealed through CAB files, indicating that both samples are under the same ongoing campaign.

 

Figure 4. Obfuscated compiled binaries


Detachment from malicious files

Cybercriminals can use a variety of file attachments to spread malware, ranging from more common file types like Word Document or PDF, to less familiar ones like CAB or LZH files. Regardless of the file type used to conceal it, the fact remains that malware can compromise systems, disrupt device performance, or steal data. The following best practices can help prevent malware infections:

  • Do not download attachments or click links on emails from unknown sources. This may lead to the installation of malware. Users may check where the embedded links lead to by hovering the pointer over the link.
  • Read emails carefully to gauge the credibility of its contents. Some giveaway signs of spam are bad grammar, misspelled words, and unfamiliar or spoofed email addresses.
  • Avoid sharing contact details and other sensitive information on public web forums or social media.
It is also advisable to check the device for common malware infection symptoms. These include slower performance, faster battery drain, crashes, or failure to load.

For a more proactive defense against threats that use emails as entry points, the following solutions are recommended:

Indicators of Compromise

URL

hxxp://retrak.co[.]ke/psy/five/fre.php

File Name SHA-256 Trend Micro
Pattern Detection
bFbnF2vovw15SVM.exe 
e6adc1df97033110cdf1bd9e9763559fe17811e2234013e4d57fa23b6ddbb207
TrojanSpy.Win32.LOKI.TIOIBYTU
payment confirmation.lzh   fb37c52635a47cacba754f811ec64937aa6da3c0ced0162c201748b38952e164 TrojanSpy.Win32.LOKI.TIOIBYTU
HIDE

Like it? Add this infographic to your site:
1. Click on the box below.   2. Press Ctrl+A to select all.   3. Press Ctrl+C to copy.   4. Paste the code into your page (Ctrl+V).

Image will appear the same size as you see above.

Veröffentlicht in Cybercrime & Digital Threats