TrojanSpy.MSIL.KRANGER.E


 ALIASES:

Trojan:Win32/Lokibot.ART!MTB [non_writable_container] (Microsoft); Fareit-FRB!14DAD981953B (McAfee); HEUR:Backdoor.Win32.Androm.gen (Kaspersky)

 PLATFORM:

Windows

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

  • 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

File Size:

571,392 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

24 Feb 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%\UoP6wYxoNzU4QQ2BRrEeAcPaKzYkYRt94Nlspb.exe
  • cmd.exe /c copy "%System Root%/Users/ADMINI~1/AppData/Local/Temp/UoP6wYxoNzU4QQ2BRrEeAcPaKzYkYRt94Nlspb.exe" "%appdata%\FolderN\name.exe" /Y
  • cmd.exe /c reg add "HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows" /v Load /t REG_SZ /d "%appdata%\FolderN\name.exe.lnk" /f
  • cmd.exe /c echo [zoneTransfer]ZoneID = 2 > %appdata%\FolderN\name.exe:Zone.Identifier
  • cmd.exe /c ren "%appdata%\FolderN\name.exe.jpg" name.exe
  • %Application Data%\tmp.exe
  • "%User Temp%\.exe"
  • %Application Data%\FolderN\name.exe.bat
  • "%Application Data%\AdobeX\PythonSoft.exe"
  • "%Application Data%\AdobeX\PythonSoft.exe" 2 1152 36125346
  • reg add "HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows" /v Load /t REG_SZ /d "%Application Data%\FolderN\name.exe.lnk" /f
  • cmd.exe cmd /c bfsvc.exe "true" "true" "true" "true"
  • timeout /t 300000
  • tasklist /nh /fi "imagename eq .exe"
  • find /i ".exe"
  • "%Application Data%\FolderN\name.exe"
  • cmd.exe /c copy "%System Root%/Users/{username}/AppData/Roaming/FolderN/name.exe" "%appdata%\FolderN\name.exe" /Y

(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).)

It creates the following folders:

  • %Application Data%\Screenshots
  • %Application Data%\AdobeX
  • %Application Data%\FolderN

(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 Spy drops the following file(s) in the Windows User Startup folder to enable its automatic execution at every system startup:

  • %User Startup%\AdobeX.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).)

Other System Modifications

This Trojan Spy deletes the following files:

  • %User Temp%\FindMe
  • %Application Data%\FolderN\yFLAQt7NZJSC\WweKYQSSg==.bat
  • %User Temp%\ranger.browserlogging.vault.dll
  • %Application Data%\.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).)

It adds the following registry entries:

HKEY_CURRENT_USER\Software\Microsoft-5ODFPS
exepath = "{random characters}"

HKEY_CURRENT_USER\Software\Microsoft-5ODFPS
licence = "1E858FE9DAD89A5A998A17E74E19EE90"

It modifies the following registry entries:

HKEY_CURRENT_USER\Software\Microsoft\
Windows NT\CurrentVersion\Windows
Load = "%Application Data%\FolderN\name.exe.lnk"

Dropping Routine

This Trojan Spy drops the following files:

  • %Application Data%\Screenshots\time_20191027_174655.png
  • %Application Data%\Screenshots\time_20191027_173654.png
  • %Application Data%\Screenshots\time_20191027_181656.dat
  • %User Temp%\.exe
  • %Application Data%\AdobeX\PythonSoft.exe
  • %Application Data%\Screenshots\time_20191027_182657.dat
  • %Application Data%\Screenshots\time_20191027_173654.dat
  • %User Temp%\UoP6wYxoNzU4QQ2BRrEeAcPaKzYkYRt94Nlspb.exe
  • %Application Data%\Screenshots\time_20191027_181656.png
  • %Application Data%\FolderN\name.exe
  • %Application Data%\Screenshots\time_20191027_175655.png
  • %Application Data%\FolderN\name.exe.bat
  • %Application Data%\FolderN\name.exe:Zone.Identifier
  • %Application Data%\AdobeX\PythonSoft.exe:ZoneIdentifier
  • %User Temp%\bfsvc.exe
  • %Application Data%\FolderN\name.exe.lnk
  • %Application Data%\Screenshots\time_20191027_180656.dat
  • %Application Data%\tmp.exe
  • %Application Data%\Screenshots\time_20191027_180656.png
  • %User Temp%\FolderN\name.exe.jpg
  • %Application Data%\Screenshots\time_20191027_182657.png
  • %User Temp%\Ranger.BrowserLogging.dll
  • %Application Data%\Screenshots\time_20191027_174655.dat
  • %Application Data%\Screenshots\time_20191027_175655.dat
  • %Application Data%\microsoft\logs.dat

(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).)

Other Details

This Trojan Spy connects to the following possibly malicious URL:

  • http://{BLOCKED}u.sh/jMSLc.txt
  • http://{BLOCKED}efromnorm.com

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 TrojanSpy.MSIL.KRANGER.E

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

[ 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\Software\Microsoft-5ODFPS
    • exepath = "{random characters}"
  • In HKEY_CURRENT_USER\Software\Microsoft-5ODFPS
    • licence = "1E858FE9DAD89A5A998A17E74E19EE90"

Step 5

Restore these modified registry values

[ Learn More ]

Important:Editing the Windows Registry incorrectly can lead to irreversible system malfunction. Please do this only if you know how to or you can seek your system administrator's help. You may also check out this Microsoft article first before modifying your computer's registry.

  • In HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows
    • Load = "%Application Data%\FolderN\name.exe.lnk"

Step 6

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%\Screenshots\time_20191027_174655.png
  • %Application Data%\Screenshots\time_20191027_173654.png
  • %Application Data%\Screenshots\time_20191027_181656.dat
  • %User Temp%\.exe
  • %Application Data%\AdobeX\PythonSoft.exe
  • %Application Data%\Screenshots\time_20191027_182657.dat
  • %Application Data%\Screenshots\time_20191027_173654.dat
  • %User Temp%\UoP6wYxoNzU4QQ2BRrEeAcPaKzYkYRt94Nlspb.exe
  • %Application Data%\Screenshots\time_20191027_181656.png
  • %Application Data%\FolderN\name.exe
  • %Application Data%\Screenshots\time_20191027_175655.png
  • %Application Data%\FolderN\name.exe.bat
  • %Application Data%\FolderN\name.exe:Zone.Identifier
  • %Application Data%\AdobeX\PythonSoft.exe:ZoneIdentifier
  • %User Temp%\bfsvc.exe
  • %Application Data%\FolderN\name.exe.lnk
  • %Application Data%\Screenshots\time_20191027_180656.dat
  • %Application Data%\tmp.exe
  • %Application Data%\Screenshots\time_20191027_180656.png
  • %User Temp%\FolderN\name.exe.jpg
  • %Application Data%\Screenshots\time_20191027_182657.png
  • %User Temp%\Ranger.BrowserLogging.dll
  • %Application Data%\Screenshots\time_20191027_174655.dat
  • %Application Data%\Screenshots\time_20191027_175655.dat
  • %Application Data%\microsoft\logs.dat

Step 7

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%\Screenshots
  • %Application Data%\AdobeX
  • %Application Data%\FolderN

Step 8

Restart in normal mode and scan your computer with your Trend Micro product for files detected as TrojanSpy.MSIL.KRANGER.E. 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 9

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.

  • %User Temp%\FindMe
  • %Application Data%\FolderN\yFLAQt7NZJSC\WweKYQSSg==.bat
  • %User Temp%\ranger.browserlogging.vault.dll
  • %Application Data%\.exe


Did this description help? Tell us how we did.