Trojan.Win32.KHALESI.BC
Windows
![](/vinfo/imgFiles/legend.jpg)
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
350,720 bytes
EXE
Yes
19 Mar 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:
- "{malware file path and name}"
- %Windows%\Microsoft.NET\Framework64\v4.0.30319\mscorsvw.exe
- %System%\sppsvc.exe
- %System%\svchost.exe -k LocalServiceAndNoImpersonation
- "%System Root%\Program Files\Windows Media Player\wmpnetwk.exe"
- %System%\svchost.exe -k NetworkService
(Note: %Windows% is the Windows folder, where it usually is C:\Windows 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.. %System Root% is the Windows root folder, where it usually is C:\ on all Windows operating system versions.)
It creates the following folders:
- %Windows%\ServiceProfiles\NetworkService\AppData\Local\Microsoft\Windows\Caches
- %Windows%\ServiceProfiles\LocalService\AppData\Roaming\Microsoft\UPnP Device Host
- %All Users Profile%\{AAB70C16-8BDC-1693-EE95-556A95F472AD}
- %Windows%\ServiceProfiles\NetworkService\AppData\Local\Microsoft
- %Windows%\ServiceProfiles\LocalService\AppData\Roaming\Microsoft\UPnP Device Host\upnphost
- %All Users Profile%\Microsoft\Windows\Caches
- %Windows%\ServiceProfiles\LocalService\AppData\Roaming\Microsoft
(Note: %Windows% is the Windows folder, where it usually is C:\Windows on all Windows operating system versions.. %All Users Profile% is the common user's profile folder, which is usually C:\Documents and Settings\All Users on Windows 2000(32-bit), XP, and Server 2003(32-bit), or C:\ProgramData on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit). )
Autostart Technique
This Trojan adds the following registry entries to enable its automatic execution at every system startup:
HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Run
{36A72426-A3EC-8A83-EE95-556A95F472AD} = "{random characters}"
Other System Modifications
This Trojan deletes the following files:
- %Windows%\Tasks\{36A72426-A3EC-8A83-EE95-556A95F472AD}.job
- %Windows%\ServiceProfiles\NetworkService\AppData\Local\Microsoft\Windows\Caches\{AFBF9F1A-8EE8-4C77-AF34-C647E37CA0D9}.1.ver0x0000000000000000.db
- {malware file path and name}
(Note: %Windows% is the Windows folder, where it usually is C:\Windows on all Windows operating system versions.)
It adds the following registry entries:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
UPnP Device Host\HTTP Server\VROOTS\
/upnphost
(Default) = "{random characters}"
It modifies the following registry entries:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\BITS
Start = "3"
(Note: The default value data of the said registry entry is 3.)
It deletes the following registry keys:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Run\
QQ
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Run\
mnt_usb
Dropping Routine
This Trojan drops the following files:
- %Windows%\ServiceProfiles\LocalService\AppData\Roaming\Microsoft\UPnP Device Host\upnphost\udhisapi.dll
- %All Users Profile%\{AAB70C16-8BDC-1693-EE95-556A95F472AD}\0708dc89.exe
- %AppDataLocal%\Microsoft\Media Player\CurrentDatabase_372.wmdb
(Note: %Windows% is the Windows folder, where it usually is C:\Windows on all Windows operating system versions.. %All Users Profile% is the common user's profile folder, which is usually C:\Documents and Settings\All Users on Windows 2000(32-bit), XP, and Server 2003(32-bit), or C:\ProgramData 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).)
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 Trojan.Win32.KHALESI.BC
- 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
- {36A72426-A3EC-8A83-EE95-556A95F472AD} = "{random characters}"
- In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\UPnP Device Host\HTTP Server\VROOTS\/upnphost
- (Default) = "{random characters}"
Step 5
Restore these modified registry values
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_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\BITS
- From: Start = "3"
To: Start = ""3""
- From: Start = "3"
Step 6
Search and delete these components
- %Windows%\ServiceProfiles\LocalService\AppData\Roaming\Microsoft\UPnP Device Host\upnphost\udhisapi.dll
- %All Users Profile%\{AAB70C16-8BDC-1693-EE95-556A95F472AD}\0708dc89.exe
- %AppDataLocal%\Microsoft\Media Player\CurrentDatabase_372.wmdb
Step 7
Search and delete these folders
- %Windows%\ServiceProfiles\NetworkService\AppData\Local\Microsoft\Windows\Caches
- %Windows%\ServiceProfiles\LocalService\AppData\Roaming\Microsoft\UPnP Device Host
- %All Users Profile%\{AAB70C16-8BDC-1693-EE95-556A95F472AD}
- %Windows%\ServiceProfiles\NetworkService\AppData\Local\Microsoft
- %Windows%\ServiceProfiles\LocalService\AppData\Roaming\Microsoft\UPnP Device Host\upnphost
- %All Users Profile%\Microsoft\Windows\Caches
- %Windows%\ServiceProfiles\LocalService\AppData\Roaming\Microsoft
Step 8
Restart in normal mode and scan your computer with your Trend Micro product for files detected as Trojan.Win32.KHALESI.BC. 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.
- %Windows%\Tasks\{36A72426-A3EC-8A83-EE95-556A95F472AD}.job
- %Windows%\ServiceProfiles\NetworkService\AppData\Local\Microsoft\Windows\Caches\{AFBF9F1A-8EE8-4C77-AF34-C647E37CA0D9}.1.ver0x0000000000000000.db
- {malware file path and name}
Step 10
Restore these deleted registry keys/values from backup
*Note: Only Microsoft-related keys/values will be restored. If the malware/grayware also deleted registry keys/values related to programs that are not from Microsoft, please reinstall those programs on your computer.
- In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
- In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
- mnt_usb
Did this description help? Tell us how we did.