TrojanSpy.Win32.EMOTET.BTNSY

 Analysis by: Earle Maui Earnshaw

 ALIASES:

Trojan-Banker.Win32.Emotet.cdbo (Kaspersky); Trojan:Win32/Emotet!rfn (Microsoft);

 PLATFORM:

Windows

 OVERALL RISK RATING:
 DAMAGE POTENTIAL:
 DISTRIBUTION POTENTIAL:
 REPORTED INFECTION:
 INFORMATION EXPOSURE:

  • Threat Type: Trojan Spy

  • Destructiveness: No

  • Encrypted: No

  • In the wild: Yes

  OVERVIEW

Infection Channel:

Dropped by other malware, Downloaded from the Internet


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 connects to certain websites to send and receive information.

  TECHNICAL DETAILS

File Size:

192,512 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

18 Feb 2019

Payload:

Connects to URLs/IPs, Steals information

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%\{string1}{string2}.exe - if run with admin privilages
  • %AppDataLocal%\{string1}{string2}\{string1}{string2}.exe - if run without admin privileges
    {string1} and {string2} are randomly chosen from the following strings:
    • adam  
    • admin  
    • alaska  
    • ar
    • avat
    • avatar
    • avg      
    • based   
    • cbs  
    • culture
    • daf     
    • dasmrc  
    • define
    • detect
    • dev     
    • diag    
    • eap    
    • earcon
    • enroll  
    • form   
    • guids  
    • idl     
    • indexer
    • iprop    
    • iss     
    • jersey   
    • lime  
    • mapi    
    • mdmmcd   
    • menus  
    • metagen  
    • mfidl   
    • mini   
    • mouse    
    • neutral
    • not
    • panes  
    • pnp  
    • polic  
    • radar    
    • repl  
    • resw    
    • right   
    • ripple
    • sat     
    • serv   
    • shader
    • single
    • slide  
    • source  
    • started  
    • subs  
    • svcs   
    • thunk    
    • tmpl   
    • tuip   
    • turned  
    • uuidgen
    • vsc     
    • wab    
    • wcs    
    • wfp     
    • wgx  
    • without
    • wordpad  
    • zip    

(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, XP, and Server 2003, or C:\Users\{user name}\AppData\Local on Windows Vista, 7, and 8.)

It creates the following folders:

  • %AppDataLocal%\{string1}{string2}

(Note: %AppDataLocal% is the Local Application Data folder, which is usually C:\Documents and Settings\{user name}\Local Settings\Application Data on Windows 2000, XP, and Server 2003, or C:\Users\{user name}\AppData\Local on Windows Vista, 7, and 8.)

It adds the following mutexes to ensure that only one of its copies runs at any one time:

  • PEM{Hash of full file path}
  • Global\I{Volume Serial Number}
  • Global\M{Volume Serial Number}

Autostart Technique

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

HKEY_LOCAL_MACHINE\System\ControlSet001\
services\{string1}{string2}
Type = 16

HKEY_LOCAL_MACHINE\System\ControlSet001\
services\{string1}{string2}
Start = 2

HKEY_LOCAL_MACHINE\System\ControlSet001\
services\{string1}{string2}
ErrorControl = 0

HKEY_LOCAL_MACHINE\System\ControlSet001\
services\{string1}{string2}
ImagePath = %System%\{string1}{string2}.exe

HKEY_LOCAL_MACHINE\System\ControlSet001\
services\{string1}{string2}
DisplayName = {string1]{string2}

HKEY_LOCAL_MACHINE\System\ControlSet001\
services\{string1}{string2}
ObjectName = LocalSystem

Information Theft

This Trojan Spy gathers the following data:

  • Machine Name
  • OS Version
  • Current Running processes and the process ID of each process

Other Details

This Trojan Spy connects to the following website to send and receive information:

  • {BLOCKED}.{BLOCKED}.199.76
  • {BLOCKED}.{BLOCKED}.143.96
  • {BLOCKED}.{BLOCKED}.82.225
  • {BLOCKED}.{BLOCKED}.243.126
  • {BLOCKED}.{BLOCKED}.61.163
  • {BLOCKED}.{BLOCKED}.228.7
  • {BLOCKED}.{BLOCKED}.203.51
  • {BLOCKED}.{BLOCKED}.254.93
  • {BLOCKED}.{BLOCKED}.31.68
  • {BLOCKED}.{BLOCKED}.241.251
  • {BLOCKED}.{BLOCKED}.168.2
  • {BLOCKED}.{BLOCKED}.117.247
  • {BLOCKED}.{BLOCKED}.31.206
  • {BLOCKED}.{BLOCKED}.208.183
  • {BLOCKED}.{BLOCKED}.151.102
  • {BLOCKED}.{BLOCKED}.239.130
  • {BLOCKED}.{BLOCKED}.213.173
  • {BLOCKED}.{BLOCKED}.18.45
  • {BLOCKED}.{BLOCKED}.163.11
  • {BLOCKED}.{BLOCKED}.54.74
  • {BLOCKED}.{BLOCKED}.118.27
  • {BLOCKED}.{BLOCKED}.79.48
  • {BLOCKED}.{BLOCKED}.162.36
  • {BLOCKED}.{BLOCKED}.100.185
  • {BLOCKED}.{BLOCKED}.33.82
  • {BLOCKED}.{BLOCKED}.84.70
  • {BLOCKED}.{BLOCKED}.231.96
  • {BLOCKED}.{BLOCKED}.128.163
  • {BLOCKED}.{BLOCKED}.32.17
  • {BLOCKED}.{BLOCKED}.76.245
  • {BLOCKED}.{BLOCKED}.150.93
  • {BLOCKED}.{BLOCKED}.52.70
  • {BLOCKED}.{BLOCKED}.248.48
  • {BLOCKED}.{BLOCKED}.217.39
  • {BLOCKED}.{BLOCKED}.214.53
  • {BLOCKED}.{BLOCKED}.230.228
  • {BLOCKED}.{BLOCKED}.66.29
  • {BLOCKED}.{BLOCKED}.19.67
  • {BLOCKED}.{BLOCKED}.239.130
  • {BLOCKED}.{BLOCKED}.147.203
  • {BLOCKED}.{BLOCKED}.30.28
  • {BLOCKED}.{BLOCKED}.193.16
  • {BLOCKED}.{BLOCKED}.189.46
  • {BLOCKED}.{BLOCKED}.139.199
  • {BLOCKED}.{BLOCKED}.67.107
  • {BLOCKED}.{BLOCKED}.86.72
  • {BLOCKED}.{BLOCKED}.90.90
  • {BLOCKED}.{BLOCKED}.148.222
  • {BLOCKED}.{BLOCKED}.153.46
  • {BLOCKED}.{BLOCKED}.66.50

It does the following:

  • Deletes the outdated copy of itself in the following directories:
    • %System%\{string1}{string2}.exe
    • %AppDataLocal%\{string1}{string2}\{string1}{string2}.exe

    Where {string1 }and {string2} can be any of the following:
    • android
    • archive
    • balloon
    • bml
    • boost          
    • bundle
    • cat
    • cch            
    • clear          
    • compare        
    • compile
    • cyan    
    • cyrl    
    • diala          
    • did     
    • dir            
    • dmi
    • drv
    • dsm     
    • emit    
    • etl     
    • eula    
    • fetch
    • fix     
    • graph   
    • hop     
    • iface   
    • imp
    • intel   
    • iprop   
    • jit
    • keand
    • lanes
    • lime
    • map     
    • mddefw  
    • merged         
    • mnu
    • msra
    • pass    
    • pdh     
    • portto  
    • ras     
    • readme
    • reports
    • restore
    • role
    • route
    • rule    
    • running
    • sbs     
    • select  
    • sendand
    • shims   
    • steps
    • stg
    • symbol  
    • sync    
    • tabbtn
    • tap
    • the
    • vert
    • work    
    • wpc     

(Note: %AppDataLocal% is the Local Application Data folder, which is usually C:\Documents and Settings\{user name}\Local Settings\Application Data on Windows 2000, XP, and Server 2003, or C:\Users\{user name}\AppData\Local on Windows Vista, 7, and 8.)

  SOLUTION

Minimum Scan Engine:

9.850

FIRST VSAPI PATTERN FILE:

14.824.04

FIRST VSAPI PATTERN DATE:

19 Feb 2019

VSAPI OPR PATTERN File:

14.825.00

VSAPI OPR PATTERN Date:

20 Feb 2019

Step 1

Before doing any scans, Windows XP, Windows Vista, and Windows 7 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

Restart in Safe Mode

[ Learn More ]

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. Before you could do this, you must restart in Safe Mode. For instructions on how to do this, you may refer to this page If the preceding step requires you to restart in safe mode, you may proceed to edit the system registry.

 
  • HKEY_LOCAL_MACHINE\System\ControlSet001\services\{string1}{string2}

Step 5

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