TrojanSpy.Win64.EMOTET.FBZ

 Analysis by: Francesca Villasanta

 ALIASES:

UDS:Trojan-Banker.Win64.Emotet.cmsy (KASPERSKY); Trojan:Win64/Emotetcrypt.MD!MTB (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

Infection Channel:

Downloaded from the Internet, Dropped by other malware


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 does not have any propagation routine.

It executes commands from a remote malicious user, effectively compromising the affected system.

It deletes the initially executed copy of itself.

  TECHNICAL DETAILS

File Size:

562733534 bytes

File Type:

DLL

Memory Resident:

No

Initial Samples Received Date:

17 Mar 2023

Payload:

Connects to URLs/IPs, Collects system information, Saves files, Deletes copies of itself, Drops files, Executes commands

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 and executes them:

  • If executed with administrator rights:
    • %System%\{Random Characters}\{Random Characters}.dll
  • If executed without administrator rights:
    • %AppDataLocal%\{Random Characters}\{Random Characters}.dll

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

It adds the following processes:

  • If executed with administrator rights:
    • %System%\regsvr32.exe "%System%\{Random Characters}\{Random Characters}.dll"
  • If executed without administrator rights:
    • %System%\regsvr32.exe "%AppDataLocal%\{Random Characters}\{Random Characters}.dll"

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

It creates the following folders:

  • If executed with administrator rights:
    • %System%\{Random Characters}
  • If executed without administrator rights:
    • %AppDataLocal%\{Random Characters}

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

Propagation

This Trojan Spy does not have any propagation routine.

Backdoor Routine

This Trojan Spy executes the following commands from a remote malicious user:

  • Download and execute code in memory

Rootkit Capabilities

This Trojan Spy does not have rootkit capabilities.

Information Theft

This Trojan Spy gathers the following data:

  • Computer Name
  • Volume Serial Number

Other Details

This Trojan Spy does the following:

  • It receives commands and sends encrypted gathered information to the following URLs via HTTP/HTTPS POST by storing it in the Cookie header:
    • http://{BLOCKED}.{BLOCKED}.146.47:8080/{Random}/{Random}/{Random}/
    • http://{BLOCKED}.{BLOCKED}.160.88:80/{Random}/{Random}/{Random}/
    • http://{BLOCKED}.{BLOCKED}.199.165:8080/{Random}/{Random}/{Random}/
    • http://{BLOCKED}.{BLOCKED}.155.143:8080/{Random}/{Random}/{Random}/
    • http://{BLOCKED}.{BLOCKED}.88.10:8080/{Random}/{Random}/{Random}/
    • http://{BLOCKED}.{BLOCKED}.226.75:8080/{Random}/{Random}/{Random}/
    • https://{BLOCKED}.{BLOCKED}.202.34:443/{Random}/{Random}/{Random}/
    • https://{BLOCKED}.{BLOCKED}.20.25:443/{Random}/{Random}/{Random}/
    • http://{BLOCKED}.{BLOCKED}.131.28:8080/{Random}/{Random}/{Random}/
    • http://{BLOCKED}.{BLOCKED}.39.149:8080/{Random}/{Random}/{Random}/
    • https://{BLOCKED}.{BLOCKED}.212.5:443/{Random}/{Random}/{Random}/
    • http://{BLOCKED}.{BLOCKED}.28.199:8080/{Random}/{Random}/{Random}/
    • http://{BLOCKED}.{BLOCKED}.45.86:4143/{Random}/{Random}/{Random}/
    • http://{BLOCKED}.{BLOCKED}.8.30:8080/{Random}/{Random}/{Random}/
    • http://{BLOCKED}.{BLOCKED}.32.31:7080/{Random}/{Random}/{Random}/
    • https://{BLOCKED}.{BLOCKED}.143.56:443/{Random}/{Random}/{Random}/
    • https://{BLOCKED}.{BLOCKED}.222.65:443/{Random}/{Random}/{Random}/
    • http://{BLOCKED}.{BLOCKED}.28.33:8080/{Random}/{Random}/{Random}/
    • http://{BLOCKED}.{BLOCKED}.201.15:8080/{Random}/{Random}/{Random}/
    • http://{BLOCKED}.{BLOCKED}.227.137:8080/{Random}/{Random}/{Random}/
    • http://{BLOCKED}.{BLOCKED}.242.26:8080/{Random}/{Random}/{Random}/
    • http://{BLOCKED}.{BLOCKED}.193.249:8080/{Random}/{Random}/{Random}/
    • http://{BLOCKED}.{BLOCKED}.21.224:8080/{Random}/{Random}/{Random}/
    • https://{BLOCKED}.{BLOCKED}.75.120:443/{Random}/{Random}/{Random}/
    • http://{BLOCKED}.{BLOCKED}.253.162:8080/{Random}/{Random}/{Random}/
    • http://{BLOCKED}.{BLOCKED}.2.232:8080/{Random}/{Random}/{Random}/
    • https://{BLOCKED}.{BLOCKED}.240.217:443/{Random}/{Random}/{Random}/
    • http://{BLOCKED}.{BLOCKED}.135.165:8080/{Random}/{Random}/{Random}/
    • https://{BLOCKED}.{BLOCKED}.126.41:443/{Random}/{Random}/{Random}/
    • http://{BLOCKED}.{BLOCKED}.99.3:8080/{Random}/{Random}/{Random}/
    • http://{BLOCKED}.{BLOCKED}.221.146:8080/{Random}/{Random}/{Random}/
    • https://{BLOCKED}.{BLOCKED}.188.93:443/{Random}/{Random}/{Random}/
    • https://{BLOCKED}.{BLOCKED}.232.124:443/{Random}/{Random}/{Random}/
    • http://{BLOCKED}.{BLOCKED}.196.120:8080/{Random}/{Random}/{Random}/
    • http://{BLOCKED}.{BLOCKED}.35.198:8080/{Random}/{Random}/{Random}/
    • http://{BLOCKED}.{BLOCKED}.5.27:8080/{Random}/{Random}/{Random}/
    • http://{BLOCKED}.{BLOCKED}.142.56:8080/{Random}/{Random}/{Random}/
    • http://{BLOCKED}.{BLOCKED}.205.3:8080/{Random}/{Random}/{Random}/
    • https://{BLOCKED}.{BLOCKED}.166.162:443/{Random}/{Random}/{Random}/
    • http://{BLOCKED}.{BLOCKED}.103.152:8080/{Random}/{Random}/{Random}/
    • http://{BLOCKED}.{BLOCKED}.146.25:7080/{Random}/{Random}/{Random}/
    • http://{BLOCKED}.{BLOCKED}.227.76:8080/{Random}/{Random}/{Random}/
    • http://{BLOCKED}.{BLOCKED}.166.154:8080/{Random}/{Random}/{Random}/
    • http://{BLOCKED}.{BLOCKED}.150.244:8080/{Random}/{Random}/{Random}/
    • https://{BLOCKED}.{BLOCKED}.159.50:443/{Random}/{Random}/{Random}/
    • http://{BLOCKED}.{BLOCKED}.156.166:8080/{Random}/{Random}/{Random}/
    • https://{BLOCKED}.{BLOCKED}.201.2:443/{Random}/{Random}/{Random}/
    • http://{BLOCKED}.{BLOCKED}.117.186:8080/{Random}/{Random}/{Random}/
    • http://{BLOCKED}.{BLOCKED}.0.91:8080/{Random}/{Random}/{Random}/

It deletes the initially executed copy of itself.

It does not exploit any vulnerability.

  SOLUTION

Minimum Scan Engine:

9.800

FIRST VSAPI PATTERN FILE:

18.368.08

FIRST VSAPI PATTERN DATE:

07 Apr 2023

VSAPI OPR PATTERN File:

18.369.00

VSAPI OPR PATTERN Date:

08 Apr 2023

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

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 3

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

Step 4

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

Step 5

Scan your computer with your Trend Micro product to delete files detected as TrojanSpy.Win64.EMOTET.FBZ. 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.