TrojanSpy.Win32.EMOTET.YXCBEZ

 Analysis by: Bren Matthew Ebriega

 ALIASES:

Trojan:Win32/Emotet!mclg (MICROSOFT)

 PLATFORM:

Windows

 OVERALL RISK RATING:
 DAMAGE POTENTIAL:
 DISTRIBUTION POTENTIAL:
 REPORTED INFECTION:
 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.

It deletes the initially executed copy of itself.

  TECHNICAL DETAILS

File Size:

1,070,080 bytes

File Type:

DLL

Memory Resident:

Yes

Initial Samples Received Date:

10 Mar 2022

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 drops the following copies of itself into the affected system:

  • If executed without administrative rights:
    • %AppDataLocal%\{random characters}\{random characters}.{3 random characters}
  • If executed with administrative rights:
    • %System%\{random characters}\{random characters}.{3 random characters}

(Note: %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).. %System% is the Windows system folder, where it usually is C:\Windows\System32 on all Windows operating system versions.)

It adds the following processes:

  • If executed without administrative rights:
    • "%AppDataLocal%\{random characters}.{3 random characters}",{random characters}
    • "%AppDataLocal%\{random characters}.{3 random characters}",DllRegisterServer
  • If executed with administrative rights:
    • "%System%\{random characters}\{random characters}.{3 random characters}",{random characters}
    • "%System%\{random characters}\{random characters}.{3 random characters}",DllRegisterServer

(Note: %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).. %System% is the Windows system folder, where it usually is C:\Windows\System32 on all Windows operating system versions.)

It creates the following folders:

  • If executed without administrative rights:
    • %AppDataLocal%\{random characters}\
  • If executed with administrative rights:
    • %System%\{random characters}\

(Note: %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).. %System% is the Windows system folder, where it usually is C:\Windows\System32 on all Windows operating system versions.)

Other System Modifications

This Trojan Spy adds the following registry entries:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\{random characters}.{3 random characters}
ImagePath = %System%\rundll32.exe "%System%\{random characters}.{3 random characters}",{random characters}

Other Details

This Trojan Spy adds the following registry keys:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\{random characters}.{3 random characters}

It connects to the following possibly malicious URL:

  • http://{BLOCKED}.{BLOCKED}.98.78:8080
  • http://{BLOCKED}.{BLOCKED}.72.155:8080
  • http://{BLOCKED}.{BLOCKED}.253.194:443
  • http://{BLOCKED}.{BLOCKED}.192.135:8080
  • http://{BLOCKED}.{BLOCKED}.25.78:8080
  • http://{BLOCKED}.{BLOCKED}.106.167:8080
  • http://{BLOCKED}.{BLOCKED}.128.206:8080
  • http://{BLOCKED}.{BLOCKED}.15.27:8080
  • http://{BLOCKED}.{BLOCKED}.58.89:443
  • http://{BLOCKED}.{BLOCKED}.57.149:443
  • http://{BLOCKED}.{BLOCKED}.237.188:443
  • http://{BLOCKED}.{BLOCKED}.204.80:443
  • http://{BLOCKED}.{BLOCKED}.242.185:443
  • http://{BLOCKED}.{BLOCKED}.244.177:8080
  • http://{BLOCKED}.{BLOCKED}.168.220:8080
  • http://{BLOCKED}.{BLOCKED}.143.207:443
  • http://{BLOCKED}.{BLOCKED}.239.39:8080
  • http://{BLOCKED}.{BLOCKED}.209.142:8080
  • http://{BLOCKED}.{BLOCKED}.78.138:443
  • http://{BLOCKED}.{BLOCKED}.178.147:8080
  • http://{BLOCKED}.{BLOCKED}.67.203:8080
  • http://{BLOCKED}.{BLOCKED}.168.15:8080
  • http://{BLOCKED}.{BLOCKED}.103.16:80
  • http://{BLOCKED}.{BLOCKED}.233.66:443
  • http://{BLOCKED}.{BLOCKED}.81.119:8080
  • http://{BLOCKED}.{BLOCKED}.62.48:8080
  • http://{BLOCKED}.{BLOCKED}.73.125:443
  • http://{BLOCKED}.{BLOCKED}.209.141:8080
  • http://{BLOCKED}.{BLOCKED}.72.86:443
  • http://{BLOCKED}.{BLOCKED}.228.122:443
  • http://{BLOCKED}.{BLOCKED}.250.14:80
  • http://{BLOCKED}.{BLOCKED}.208.37:8080
  • http://{BLOCKED}.{BLOCKED}.172.107:8080
  • http://{BLOCKED}.{BLOCKED}.216.46:443
  • http://{BLOCKED}.{BLOCKED}.146.35:443
  • http://{BLOCKED}.{BLOCKED}.204.169:8080

It deletes the initially executed copy of itself.

  SOLUTION

Minimum Scan Engine:

9.800

FIRST VSAPI PATTERN FILE:

17.360.04

FIRST VSAPI PATTERN DATE:

04 Feb 2022

VSAPI OPR PATTERN File:

17.361.00

VSAPI OPR PATTERN Date:

05 Feb 2022

Step 1

Trend Micro Predictive Machine Learning detects and blocks malware at the first sign of its existence, before it executes on your system. When enabled, your Trend Micro product detects this malware under the following machine learning name:

    • Troj.Win32.TRX.XXPE50FFF053

Step 2

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 3

Note that not all files, folders, and registry keys and entries are installed on your computer during this malware's/spyware's/grayware's execution. This may be due to incomplete installation or other operating system conditions. If you do not find the same files/folders/registry information, please proceed to the next step.

Step 4

Delete this registry key

[ 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_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\{random characters}.{3 random characters}

Step 5

Search and delete these files

[ Learn More ]
There may be some files 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.  
  • %AppDataLocal%\{random characters}\{random characters}.{3 random characters}
  • %System%\{random characters}\{random characters}.{3 random characters}

Step 6

Search and delete this folder

[ 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.
  • %AppDataLocal%\{random characters}\
  • %System%\{random characters}\

Step 7

Scan your computer with your Trend Micro product to delete files detected as TrojanSpy.Win32.EMOTET.YXCBEZ. 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 the following Trend Micro Support pages for more information:


Did this description help? Tell us how we did.