ALIASES:

Trojan:X97M/ShellHide.C (Microsoft); Downloader-FBHE!D6B4F8E060CF (McAfee); Trojan.Mdropper!gen4 (Symantec); Trojan-Dropper.MSWord.Agent.se (Kaspersky); Troj/DocDl-EOG (Sophos)

 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: 644,113 bytes
File Type: DOCX
Memory Resident: Yes
Initial Samples Received Date: 10 Feb 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:

  • %All Users Profile%\Memsys\ms.exe
  • cmd.exe /c copy "%System Root%/ProgramData/Memsys/ms.exe" "%temp%\FolderN\name.exe" /Y
  • cmd.exe /c echo [zoneTransfer]ZoneID = 2 > %temp%\FolderN\name.exe:Zone.Identifier
  • "%User Temp%\svhost.exe"

(Note: %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). . %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).)

It creates the following folders:

  • %User Temp%\FolderN
  • %Application Data%\0EFADD19-2A94-41FB-8931-F2BBC5D61333
  • %Application Data%\0EFADD19-2A94-41FB-8931-F2BBC5D61333\Logs\{username}
  • %Application Data%\0EFADD19-2A94-41FB-8931-F2BBC5D61333\Logs
  • %All Users Profile%\Memsys

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

  • %User Startup%\name.exe.lnk

(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 deletes the following files:

  • %All Users Profile%\Memsys\sirfoxFindMe

(Note: %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). )

Dropping Routine

This Trojan drops the following files:

  • %User Temp%\FolderN\name.exe
  • %User Temp%\svhost.exe
  • %Application Data%\0EFADD19-2A94-41FB-8931-F2BBC5D61333\storage.dat
  • %All Users Profile%\Memsys\ms.exe
  • %Application Data%\0EFADD19-2A94-41FB-8931-F2BBC5D61333\run.dat
  • %Application Data%\0EFADD19-2A94-41FB-8931-F2BBC5D61333\catalog.dat
  • %User Temp%\FolderN\name.exe:Zone.Identifier
  • %Application Data%\Microsoft\UProof\CUSTOM.DIC
  • {malware file path and name}

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

Other Details

This Trojan connects to the following possibly malicious URL:

  • http://onyechina.{BLOCKED}s.org

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 W2KM_BARTALEX.QFA

[ 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.
  • %User Temp%\FolderN\name.exe
  • %User Temp%\svhost.exe
  • %Application Data%\0EFADD19-2A94-41FB-8931-F2BBC5D61333\storage.dat
  • %All Users Profile%\Memsys\ms.exe
  • %Application Data%\0EFADD19-2A94-41FB-8931-F2BBC5D61333\run.dat
  • %Application Data%\0EFADD19-2A94-41FB-8931-F2BBC5D61333\catalog.dat
  • %User Temp%\FolderN\name.exe:Zone.Identifier
  • %Application Data%\Microsoft\UProof\CUSTOM.DIC
  • {malware file path and name}

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.
  • %User Temp%\FolderN
  • %Application Data%\0EFADD19-2A94-41FB-8931-F2BBC5D61333
  • %Application Data%\0EFADD19-2A94-41FB-8931-F2BBC5D61333\Logs\{username}
  • %Application Data%\0EFADD19-2A94-41FB-8931-F2BBC5D61333\Logs
  • %All Users Profile%\Memsys

Step 6

Restart in normal mode and scan your computer with your Trend Micro product for files detected as W2KM_BARTALEX.QFA. 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 7

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.

  • %All Users Profile%\Memsys\sirfoxFindMe


Did this description help? Tell us how we did.