TrojanSpy.Win32.LOKI.TIOIBYSW
Windows
Threat Type: Trojan Spy
Destructiveness: No
Encrypted:
In the wild: Yes
OVERVIEW
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.
TECHNICAL DETAILS
1,037,954 bytes
EXE
Yes
16 Mar 2020
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 processes:
- "%User Temp%\Xcstc\Xcstmts.exe"
- %User Temp%\Xcstc.lnk
- "%System Root%\Users\Public\Runex.bat"
- %System Root%\Users\Public\Runex.bat
- %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).. %System Root% is the Windows root folder, where it usually is C:\ on all Windows operating system versions.. %System% is the Windows system folder, where it usually is C:\Windows\System32 on all Windows operating system versions.)
It creates the following folders:
- %User Temp%\Xcstc
- %Windows% \System32
- %User Profile%\AppData
- %AppDataLocal%\Xcst
- %Application Data%\737FF7
- %System Root%\Users
(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).. %Windows% is the Windows folder, where it usually is C:\Windows on all Windows operating system versions.. %User Profile% is the current user's profile folder, which is usually C:\Documents and Settings\{user name} on Windows 2000(32-bit), XP, and Server 2003(32-bit), or C:\Users\{user name} on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit).. %AppDataLocal% is the Local Application Data folder, which is usually C:\Documents and Settings\{user name}\Local Settings\Application Data on Windows 2000(32-bit), XP, and Server 2003(32-bit), or C:\Users\{user name}\AppData\Local 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 Root% is the Windows root folder, where it usually is C:\ on all Windows operating system versions.)
Autostart Technique
This Trojan Spy adds the following registry entries to enable its automatic execution at every system startup:
HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Run
Xcst = "%AppDataLocal%\Xcst\Xcst_nekro.hta"
Other System Modifications
This Trojan Spy deletes the following files:
- %Windows%\SysWOW64\tapiunattend.exe
(Note: %Windows% is the Windows folder, where it usually is C:\Windows on all Windows operating system versions.)
Dropping Routine
This Trojan Spy drops the following files:
- %Application Data%\737FF7\73A3E3.exe
- %AppDataLocal%\Xcst\Xcsttne.exe
- %Windows% \System32\bcd.dll
- %User Temp%\Xcstc\Xcstmts.exe
- %AppDataLocal%\Xcst\Xcst_nekro.hta
- %AppDataLocal%\Xcst\Xcst
- %System Root%\Users\Public\Clean.bat
- %User Temp%\Xcstc.lnk
- %User Temp%\Xcstc\Xcst
- %System Root%\Users\Public\Runex.bat
- %Application Data%\737FF7\73A3E3.lck
- %System Root%\Users\Public\bcd.dll
- %User Temp%\Xcstc
- %AppDataLocal%\Xcst\Xcstent.vbs
(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).. %AppDataLocal% is the Local Application Data folder, which is usually C:\Documents and Settings\{user name}\Local Settings\Application Data on Windows 2000(32-bit), XP, and Server 2003(32-bit), or C:\Users\{user name}\AppData\Local on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit).. %Windows% is the Windows folder, where it usually is C:\Windows on all Windows operating system versions.. %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.)
This report is generated via an automated analysis system.
SOLUTION
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
Step 3
Identify and terminate files detected as TrojanSpy.Win32.LOKI.TIOIBYSW
- 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.
- 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.
- 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 value
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\Software\Microsoft\Windows\CurrentVersion\Run
- Xcst = "%AppDataLocal%\Xcst\Xcst_nekro.hta"
Step 5
Search and delete these components
- %Application Data%\737FF7\73A3E3.exe
- %AppDataLocal%\Xcst\Xcsttne.exe
- %Windows% \System32\bcd.dll
- %User Temp%\Xcstc\Xcstmts.exe
- %AppDataLocal%\Xcst\Xcst_nekro.hta
- %AppDataLocal%\Xcst\Xcst
- %System Root%\Users\Public\Clean.bat
- %User Temp%\Xcstc.lnk
- %User Temp%\Xcstc\Xcst
- %System Root%\Users\Public\Runex.bat
- %Application Data%\737FF7\73A3E3.lck
- %System Root%\Users\Public\bcd.dll
- %User Temp%\Xcstc
- %AppDataLocal%\Xcst\Xcstent.vbs
Step 6
Search and delete these folders
- %User Temp%\Xcstc
- %Windows% \System32
- %User Profile%\AppData
- %AppDataLocal%\Xcst
- %Application Data%\737FF7
- %System Root%\Users
Step 7
Restart in normal mode and scan your computer with your Trend Micro product for files detected as TrojanSpy.Win32.LOKI.TIOIBYSW. 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.
Step 8
Restore this file from backup only Microsoft-related files will be restored. If this malware/grayware also deleted files related to programs that are not from Microsoft, please reinstall those programs on you computer again.
- %Windows%\SysWOW64\tapiunattend.exe
Did this description help? Tell us how we did.