Analysis by: Carl Maverick Pascual
 Modified by: Arvin Roi Macaraeg

ALIASES:

Trojan:Win32/Emotet.DHF!MTB(Microsoft); Trojan-Banker.Win32.Emotet.dygd(Kaspersky);

 PLATFORM:

Windows

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

  • Threat Type: Trojan Spy

  • Destructiveness: No

  • Encrypted: Yes

  • In the wild: Yes

  OVERVIEW

Infection Channel: 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. It deletes itself after execution.

  TECHNICAL DETAILS

File Size: 372,806 bytes
File Type: EXE
Memory Resident: Yes
Initial Samples Received Date: 05 Nov 2019
Payload: Connects to URLs/IPs, Deletes itself, Drops files

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 adds the following folders:

  • %AppDataLocal%\{string1}{string2} → if run without admin privileges

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

It drops the following copies of itself into the affected system:

  • %System%\{string1}{string2}.exe → if run with admin privileges
  • %AppDataLocal%\{string1}{string2}\{string1}{string2}.exe → if run without admin privileges
    where {string1} and {string2} can be any of the following strings:
    • term
    • with
    • poller
    • indiana
    • shader
    • sti
    • dlgs
    • metered
    • asptlb
    • conman
    • plain
    • while
    • cpl
    • crash
    • teapot
    • device
    • adam
    • battery
    • trouble
    • caching
    • hand
    • hlf
    • hero
    • smc
    • readand
    • cpls
    • network
    • engn
    • mmc
    • lcl
    • pdh
    • clw
    • vista
    • client
    • pairs
    • fsi
    • medium
    • pdeft
    • known
    • reach
    • vert
    • boost
    • snd
    • fwk
    • builder
    • iab
    • mscms
    • ssp
    • cable
    • etw
    • angle
    • ordered
    • scalar
    • songs
    • ctnt
    • server
    • chinese
    • media
    • endif
    • supp
    • setthe
    • misc
    • diagram
    • urd

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

  • {Malware File Path}\{Malware File Name}.exe --{8 Random Characters}
  • %System%\{string1}{string2}.exe → if run with admin privileges
  • %System%\{string1}{string2}.exe --{8 Random Characters} → if run with admin privileges
  • %AppDataLocal%\{string1}{string2}\{string1}{string2}.exe → if run without admin privileges
  • %AppDataLocal%\{string1}{string2}\{string1}{string2}.exe --{8 Random Characters} → if run without admin privileges

(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 mutexes to ensure that only one of its copies runs at any one time:

  • Global\I{Volume Serial Number}
  • Global\M{Volume Serial Number}
  • Global\E{Volume Serial Name}

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\{string1}{string2}
ImagePath = %System%\{string1}{string2}.exe

It adds the following registry entries to enable its automatic execution at every system startup:

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Run
{string1}{string2} = "%AppDataLocal%\{string1}{string2}\{string1}{string2}.exe"

Other System Modifications

This Trojan Spy adds the following registry keys:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\{string1}{string2}

It adds the following registry entries:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\{string1}{string2}
Type = 16

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\{string1}{string2}
Start = 2

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\{string1}{string2}
ErrorControl = 0

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\{string1}{string2}
DisplayName = {string1}{string2}

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\{string1}{string2}
ObjectName = {string1}{string2}

Information Theft

This Trojan Spy gathers the following data:

  • Computer Name
  • Process SessionId
  • OS Version
  • Running Processes
  • File CRC
  • Processor Architecture

Other Details

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

    • {BLOCKED}.{BLOCKED}.19.232:8080/{string}
    • {BLOCKED}.{BLOCKED}220.155:8080/{string}
    • {BLOCKED}.{BLOCKED}05.223:7080/{string}
    • {BLOCKED}.{BLOCKED}00.130:8080/{string}
    • {BLOCKED}2{BLOCKED}15.66:8080/{string}
    • {BLOCKED}.{BLOCKED}194.138:443/{string}
    • {BLOCKED}.{BLOCKED}.10.37:8080/{string}
    • {BLOCKED}.{BLOCKED}.80.63:7080/{string}
    • {BLOCKED}.{BLOCKED}.238.69:465/{string}
    • {BLOCKED}.{BLOCKED}.67.134:8090/{string}
    • {BLOCKED}.{BLOCKED}.182.217:8080/{string
    • {BLOCKED}.{BLOCKED}.219.147:8080/{string
    • {BLOCKED}.{BLOCKED}.216.44:8080/{string}
    • {BLOCKED}.{BLOCKED}.213.2:22/{string}
    • {BLOCKED}.{BLOCKED}.198.66:80/{string}
    • {BLOCKED}.{BLOCKED}.217.49:80/{string}
    • {BLOCKED}1{BLOCKED}63.139:21/{string}
    • {BLOCKED}.{BLOCKED}135.159:21/{string}
    • {BLOCKED}.{BLOCKED}.182.191:8080/{string
    • {BLOCKED}2{BLOCKED}19.21:8080/{string}
    • {BLOCKED}.{BLOCKED}.177.26:8080/{string}
    • {BLOCKED}.{BLOCKED}161.166:443/{string}
    • {BLOCKED}.{BLOCKED}.247.220:80/{string}
    • {BLOCKED}.{BLOCKED}131.88:80/{string}
    • {BLOCKED}.{BLOCKED}213.192:8080/{string}
    • {BLOCKED}.{BLOCKED}236.214:8080/{string}
    • {BLOCKED}7{BLOCKED}87.192:8080/{string}
    • {BLOCKED}1{BLOCKED}131.87:80/{string}
    • {BLOCKED}.{BLOCKED}.44.20:21/{string}
    • {BLOCKED}.{BLOCKED}.203.26:8080/{string}
    • {BLOCKED}.{BLOCKED}213.158:8080/{string}
    • {BLOCKED}.{BLOCKED}.72.244:53/{string}
    • {BLOCKED}.{BLOCKED}.44.150:8080/{string}
    • {BLOCKED}1{BLOCKED}43.213:8080/{string}
    • {BLOCKED}.{BLOCKED}.11.150:8080/{string}
    • {BLOCKED}.{BLOCKED}72.5:20/{string}
    • {BLOCKED}2{BLOCKED}247.10:80/{string}
    • {BLOCKED}.{BLOCKED}148.138:8080/{string}
    • {BLOCKED}9{BLOCKED}4.210:8080/{string}
    • {BLOCKED}1{BLOCKED}194.134:443/{string}
    • {BLOCKED}.{BLOCKED}94.251:80/{string}
    • {BLOCKED}.{BLOCKED}.153.86:990/{string}
    • {BLOCKED}3{BLOCKED}9.124:443/{string}
    • {BLOCKED}.{BLOCKED}.53.227:21/{string}
    • {BLOCKED}2{BLOCKED}21.170:80/{string}
    • {BLOCKED}1{BLOCKED}139.101:8080/{string}
    • {BLOCKED}1{BLOCKED}245.190:8080/{string}
    • {BLOCKED}1{BLOCKED}216.217:8080/{string}
    • {BLOCKED}1{BLOCKED}7.62:7080/{string}
    • {BLOCKED}.{BLOCKED}.140.110:8080/{string}
    • {BLOCKED}1{BLOCKED}2.199:443/{string}
    • {BLOCKED}.{BLOCKED}.51.222:8080/{string}
    • {BLOCKED}.{BLOCKED}72.5:443/{string}
    • {BLOCKED}.{BLOCKED}.207.11:443/{string}
    • {BLOCKED}.{BLOCKED}241.230:80/{string}
    • {BLOCKED}1{BLOCKED}136.232:8080/{string}
    • {BLOCKED}.{BLOCKED}.41.136:8080/{string}
    • {BLOCKED}.{BLOCKED}.47.77:8080/{string}
    • {BLOCKED}.{BLOCKED}.172.5:8080/{string}
    • {BLOCKED}.{BLOCKED}.25.128:8080/{string}
    • {BLOCKED}.{BLOCKED}.59.244:20/{string}
    • {BLOCKED}.{BLOCKED}.153.252:8080/{string}
    • {BLOCKED}.{BLOCKED}.240.91:8080/{string}
    • {BLOCKED}.{BLOCKED}.98.125:8080/{string}
    • {BLOCKED}.{BLOCKED}.234.16:8080/{string}
    • {BLOCKED}.{BLOCKED}.132.213:8090/{string}
    • {BLOCKED}.{BLOCKED}.246.93:8080/{string}
    • {BLOCKED}.{BLOCKED}.24.79:8080/{string}
    • {BLOCKED}.{BLOCKED}.71.72:8080/{string}
    • {BLOCKED}.{BLOCKED}.95.230:443/{string}
    • {BLOCKED}.{BLOCKED}.164.174:80/{string}
  • where {string} can be one or a combination of any of the following strings, separated by "/":
    • teapot
    • pnp
    • tpt
    • splash
    • site
    • codec
    • health
    • balloon
    • cab
    • odbc
    • badge
    • dma
    • psec
    • cookies
    • iplk
    • devices
    • enable
    • mult
    • prov
    • vermont
    • attrib
    • schema
    • iab
    • chunk
    • publish
    • prep
    • srvc
    • sess
    • ringin
    • nsip
    • stubs
    • img
    • add
    • xian
    • jit
    • free
    • pdf
    • loadan
    • arizona
    • tlb
    • forced
    • results
    • symbols
    • report
    • guids
    • taskbar
    • child
    • cone
    • glitch
    • entries
    • between
    • bml
    • usbccid
    • sym
    • enabled
    • merge
    • window
    • scripts
    • raster
    • acquire
    • json
    • rtm
    • walk
    • ban

It does the following:

  • It deletes the outdated copy of itself having the following strings on its filename:
    • langs
    • buffer
    • user
    • spooler
    • tlb
    • back
    • rus
    • browser
    • org
    • flg
    • psec
    • cyan
    • err
    • chapp
    • dmi
    • join
    • started
    • cat
    • reset
    • dmrc
    • scan
    • bang
    • ripple
    • page
    • ijpn
    • cabinet
    • dasmrc
    • mgm
    • body
    • sddl
    • listof
    • york
    • mobsync
    • modern
    • dialog
    • val
    • iell
    • rowset
    • hexa
    • english
    • crimson
    • wow
    • typeb
    • brown
    • flow
    • partner
    • picture
    • size
    • ordered
    • chunker
    • shooter
    • invoke
    • init
    • bus
    • pla
    • sav
    • ipsps
    • dbml
    • builder
    • sketch
    • cube
    • sup
    • loada
    • binder
  • It creates a startup service if it has admin privileges, otherwise it only creates an autorun entry in the registry.

It deletes itself after execution.

  SOLUTION

Minimum Scan Engine: 9.850
FIRST VSAPI PATTERN FILE: 15.476.06
FIRST VSAPI PATTERN DATE: 05 Nov 2019
VSAPI OPR PATTERN File: 15.477.00
VSAPI OPR PATTERN Date: 06 Nov 2019

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

Restart in Safe Mode

[ Learn More ]

Step 4

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_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
    • {string1}{string2} = "%AppDataLocal%\{string1}{string2}\{string1}{string2}.exe"

Step 5

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
    • {string1}{string2}

Step 6

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

Step 7

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%\{string1}{string2}

Step 8

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