Analysis by: Mohammed Malubay

ALIASES:

Trojan:Win32/Emotet.ARJ!MTB(MICROSOFT); Trojan-Banker.Win32.Emotet.gdrl(KASPERSKY);

 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 itself after execution.

  TECHNICAL DETAILS

File Size: 622,592 bytes
File Type: EXE
Memory Resident: Yes
Initial Samples Received Date: 16 Sep 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 drops the following copies of itself into the affected system and executes them:

  • %System%\{random characters}\{random characters}.exe → if executed with administrative rights
  • %AppDataLocal%\{random characters}\{random characters}.exe → if executed without administrative rights

(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:

  • %System%\{random characters}\{random characters}.exe → if executed with administrative rights
  • %AppDataLocal%\{random characters}\{random characters}.exe → if executed without administrative rights

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

Autostart Technique

This Trojan Spy registers itself as a system service to ensure its automatic execution at every system startup by adding the following registry entries:

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
services\{random characters}
=

Other System Modifications

This Trojan Spy adds the following registry entries:

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
services\{random characters}
Type = 16

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
services\{random characters}
Start = 2

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
services\{random characters}
ErrorControl = 0

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
services\{random characters}
ImagePath = "%System%\{random characters}\{random characters}.exe"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
services\{random characters}
DisplayName = {random characters}

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
services\{random characters}
ObjectName = LocalSystem

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
services\{random characters}
Description = The Diagnostic Policy Service enables problem detection, troubleshooting and resolution for Windows components. If this service is stopped, diagnostics will no longer function.

Adware Routine

This Trojan Spy deletes itself after execution.

Other Details

This Trojan Spy connects to the following possibly malicious URL:

  • http://{BLOCKED}.{BLOCKED}.51.61:8080/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.235.113:8080/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.82.32/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.148.81/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.45.53/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.11.155/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.195.246/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.44.53/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.24.148/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.187.110/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.12.63:8080/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.101.72:8080/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.1.184:443/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.138.101:7080/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.164.178:8081/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.42.60:8080/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.227.113:8080/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.78.244:8080/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.190.154:8080/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.183.2/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.130.105:443/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.227.143/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.167.120:8080/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.239.255/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.118.12/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.238.49/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.154.240/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.229.1/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.236.163:443/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.226.142:8080/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.148.68:443/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.135.237/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.213.180:443/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.179.102/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.75.175/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.15.20/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.12.132/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.133.239:443/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.140.6/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.144.120/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.15.50/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.221.191:8080/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.217.94:8080/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.220.183:8080/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.56.70:8080/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.36.108/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.203.63:8080/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.244.204:443/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.177.139/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.216.178:7080/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.240.58/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.215.76/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.151.3/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.44.183/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.100.220:7080/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.9.252:7080/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.129.215:8080/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.29.128:8080/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.161.17/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.131.68:8080/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.229.152:8080/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.70.250:8080/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.78.109:8080/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.140.91:7080/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.201.19:7080/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.163.68:7080/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.143.245:8080/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.215.3:8080/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.114.64:443/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.94.36/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.105.76/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.173.91:8080/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.14.170:8080/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.78.80:443/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.9.137:8080/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.62.81:20/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.93.134/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.253.80:443/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.143.163/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.58.26/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.181.198:443/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.145.86/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.94.200/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.75.46/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.93.103:443/{Random characters}
  • http://{BLOCKED}.{BLOCKED}.205.155:8080/{Random characters}

  SOLUTION

Minimum Scan Engine: 9.850
FIRST VSAPI PATTERN FILE: 16.244.06
FIRST VSAPI PATTERN DATE: 23 Sep 2020
VSAPI OPR PATTERN File: 16.245.00
VSAPI OPR PATTERN Date: 24 Sep 2020

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.XXPE50FFF036

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

Restart in Safe Mode

[ Learn More ]

Step 5

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_LOCAL_MACHINE\SYSTEM\ControlSet001\services\procinst
    • Type = 16
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\procinst
    • Start = 2
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\procinst
    • ErrorControl = 0
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\procinst
    • ImagePath = "%System%\{random characters}\{random characters}.exe"
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\procinst
    • DisplayName = procinst
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\procinst
    • ObjectName = LocalSystem
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\procinst
    • Description = The Diagnostic Policy Service enables problem detection, troubleshooting and resolution for Windows components.  If this service is stopped, diagnostics will no longer function.

Step 6

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\ControlSet001\services\{random characters}
    • (null)

Step 7

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

Step 8

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


Did this description help? Tell us how we did.