TrojanSpy.Win32.EMOTET.TIABOFHK

 Analysis by: Joshua Paul Ignacio

 ALIASES:

Trojan:Win32/Emotet.ARJ!MTB (MICROSOFT), Win32/Emotet.BN trojan (NOD32)

 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 executes then deletes itself afterward.

However, as of this writing, the said sites are inaccessible.

  TECHNICAL DETAILS

File Size:

344,166 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

07 Feb 2020

Payload:

Connects to URLs/IPs

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 sample executed with administrative privileges:
    • %System%\{String1}{String2}.exe
  • If sample executed without administrative privileges:
    • %AppDataLocal%\{String1}{String2}\{String1}{String2}.exe

(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}
  • If sample executed with administrative privileges:
    • %System%\{String1}{String2}.exe
    • %System%\{String1}{String2}.exe --{8 Random Characters}
  • If sample executed without administrative privileges:
    • %AppDataLocal%\{String1}{String2}\{String1}{String2}.exe
    • %AppDataLocal%\{String1}{String2}\{String1}{String2}.exe --{8 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).)

It creates the following folders:

  • If the sample is executed without administrative privileges:
    • %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(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 executes then deletes itself afterward.

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}

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\CurrentControlSet\
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

Backdoor Routine

This Trojan Spy connects to the following URL(s) to send and receive commands from a remote malicious user:

  • {BLOCKED}.{BLOCKED}.76.249:80/{Random Characters}
  • {BLOCKED}.{BLOCKED}.55.214:80/{Random Characters}
  • {BLOCKED}.{BLOCKED}.130.105:7080/{Random Characters}
  • {BLOCKED}.{BLOCKED}.237.248:80/{Random Characters}
  • {BLOCKED}.{BLOCKED}.202.216:443/{Random Characters}
  • {BLOCKED}.{BLOCKED}.49.98:80/{Random Characters}
  • {BLOCKED}.{BLOCKED}.77.83:443/{Random Characters}
  • {BLOCKED}.{BLOCKED].194.134:443/{Random Characters}
  • {BLOCKED}.{BLOCKED].226.58:80/{Random Characters}
  • {BLOCKED}.{BLOCKED}.49.124:443/{Random Characters}
  • {BLOCKED}.{BLOCKED}.65.123:8080/{Random Characters}
  • {BLOCKED}.{BLOCKED}.131.69:443/{Random Characters}
  • {BLOCKED}.{BLOCKED}.131.87:80/{Random Characters}
  • {BLOCKED}.{BLOCKED}.15.79:80/{Random Characters}
  • {BLOCKED}.{BLOCKED}.15.79:443/{Random Characters}
  • {BLOCKED}.{BLOCKED}.183.211:80/{Random Characters}
  • {BLOCKED}.{BLOCKED}.70.145:80/{Random Characters}
  • {BLOCKED}.{BLOCKED}.91.213:80/{Random Characters}
  • {BLOCKED}.{BLOCKED}.86.205:8080/{Random Characters}
  • {BLOCKED}.{BLOCKED}.42.66:8080/{Random Characters}
  • {BLOCKED}.{BLOCKED}.164.174:80/{Random Characters}
  • {BLOCKED}.{BLOCKED}.217.199:8080/{Random Characters}
  • {BLOCKED}.{BLOCKED}.78.22:443/{Random Characters}
  • {BLOCKED}.{BLOCKED}.31.243:80/{Random Characters}
  • {BLOCKED}.{BLOCKED}.187.192:8080/{Random Characters}
  • {BLOCKED}.{BLOCKED}.250.5:80/{Random Characters}
  • {BLOCKED}.{BLOCKED}.242.181:8080/{Random Characters}
  • {BLOCKED}.{BLOCKED}.6.71:8080/{Random Characters}
  • {BLOCKED}.{BLOCKED}.242.50:8080/{Random Characters}
  • {BLOCKED}.{BLOCKED}.201.20:7080/{Random Characters}
  • {BLOCKED}.{BLOCKED}.229.171:80/{Random Characters}
  • {BLOCKED}.{BLOCKED}.243.146:80/{Random Characters}
  • {BLOCKED}.{BLOCKED}.53.234:80/{Random Characters}
  • {BLOCKED}.{BLOCKED}.171.251:80/{Random Characters}
  • {BLOCKED}.{BLOCKED}.57.105:80/{Random Characters}
  • {BLOCKED}.{BLOCKED}.225.121:443/{Random Characters}
  • {BLOCKED}.{BLOCKED}.83.133:80/{Random Characters}
  • {BLOCKED}.{BLOCKED}.235.105:80/{Random Characters}
  • {BLOCKED}.{BLOCKED}.80.47:80/{Random Characters}
  • {BLOCKED}.{BLOCKED}.80.47:443/{Random Characters}
  • {BLOCKED}.{BLOCKED}.219.147:8080/{Random Characters}
  • {BLOCKED}.{BLOCKED}.70.199:443/{Random Characters}
  • {BLOCKED}.{BLOCKED}.114.69:80/{Random Characters}
  • {BLOCKED}.{BLOCKED}.5.109:443/{Random Characters}
  • {BLOCKED}.{BLOCKED}.180.107:80/{Random Characters}
  • {BLOCKED}.{BLOCKED}.10.190:80/{Random Characters}
  • {BLOCKED}.{BLOCKED}.205.77:8080/{Random Characters}
  • {BLOCKED}.{BLOCKED}.174.56:80/{Random Characters}
  • {BLOCKED}.{BLOCKED}.51.125:80/{Random Characters}
  • {BLOCKED}.{BLOCKED}.136.232:8080/{Random Characters}
  • {BLOCKED}.{BLOCKED}.139.101:8080/{Random Characters}
  • {BLOCKED}.{BLOCKED}.19.21:8080/{Random Characters}
  • {BLOCKED}.{BLOCKED}.120.205:80/{Random Characters}
  • {BLOCKED}.{BLOCKED}.145.210:8080/{Random Characters}
  • {BLOCKED}.{BLOCKED}.197.90:80/{Random Characters}
  • {BLOCKED}.{BLOCKED}.215.66:443/{Random Characters}
  • {BLOCKED}.{BLOCKED}.216.44:8080/{Random Characters}
  • {BLOCKED}.{BLOCKED}.141.5:443/{Random Characters}
  • {BLOCKED}.{BLOCKED}.236.64:8080/{Random Characters}
  • {BLOCKED}.{BLOCKED}.113.161:80/{Random Characters}
  • {BLOCKED}.{BLOCKED}.206.153:80/{Random Characters}
  • {BLOCKED}.{BLOCKED}.23.40:80/{Random Characters}
  • {BLOCKED}.{BLOCKED}.134.207:8080/{Random Characters}
  • {BLOCKED}.{BLOCKED}.197.33:443/{Random Characters}
  • {BLOCKED}.{BLOCKED}.49.11:8080/{Random Characters}
  • {BLOCKED}.{BLOCKED}.95.218:80/{Random Characters}
  • {BLOCKED}.{BLOCKED}.11.150:8080/{Random Characters}
  • {BLOCKED}.{BLOCKED}.44.150:8080/{Random Characters}
  • {BLOCKED}.{BLOCKED}.246.93:8080/{Random Characters}
  • {BLOCKED}.{BLOCKED}.155.182:80/{Random Characters}
  • {BLOCKED}.{BLOCKED}.123.133:8080/{Random Characters}
  • {BLOCKED}.{BLOCKED}.206.219:8080/{Random Characters}
  • {BLOCKED}.{BLOCKED}.2.72:80/{Random Characters}
  • {BLOCKED}.{BLOCKED}.217.66:8080/{Random Characters}
  • {BLOCKED}.{BLOCKED}.111.148:443/{Random Characters}
  • {BLOCKED}.{BLOCKED}.6.218:443/{Random Characters}
  • {BLOCKED}.{BLOCKED}.7.132:80/{Random Characters}
  • {BLOCKED}.{BLOCKED}.246.241:80/{Random Characters}
  • {BLOCKED}.{BLOCKED}.5.176:443/{Random Characters}
  • {BLOCKED}.{BLOCKED}.241.252:443/{Random Characters}
  • {BLOCKED}.{BLOCKED}.242.43:80/{Random Characters}
  • {BLOCKED}.{BLOCKED}.153.252:8080/{Random Characters}
  • {BLOCKED}.{BLOCKED}.248.128:443/{Random Characters}
  • {BLOCKED}.{BLOCKED}.25.128:8080/{Random Characters}
  • {BLOCKED}.{BLOCKED}.215.66:8080/{Random Characters}
  • {BLOCKED}.{BLOCKED}.10.37:8080/{Random Characters}
  • {BLOCKED}.{BLOCKED}.26.90:80/{Random Characters}
  • {BLOCKED}.{BLOCKED}.43.37:8080/{Random Characters}
  • {BLOCKED}.{BLOCKED}.160.121:80/{Random Characters}
  • {BLOCKED}.{BLOCKED}.139.83:8080/{Random Characters}
  • {BLOCKED}.{BLOCKED}.185.19:80/{Random Characters}
  • {BLOCKED}.{BLOCKED}.24.82:80/{Random Characters}
  • {BLOCKED}.{BLOCKED}.70.117:80/{Random Characters}
  • {BLOCKED}.{BLOCKED}.126.170:80/{Random Characters}
  • {BLOCKED}.{BLOCKED}.132.213:8090/{Random Characters}
  • {BLOCKED}.{BLOCKED}.238.69:465/{Random Characters}
  • {BLOCKED}.{BLOCKED}.247.171:443/{Random Characters}
  • {BLOCKED}.{BLOCKED}.135.237:80/{Random Characters}
  • {BLOCKED}.{BLOCKED}.112.237:8080/{Random Characters}
  • {BLOCKED}.{BLOCKED}.119.180:443/{Random Characters}
  • {BLOCKED}.{BLOCKED}.181.54:443/{Random Characters}
  • {BLOCKED}.{BLOCKED}.244.182:443/{Random Characters}
  • {BLOCKED}.{BLOCKED}.126.169:80/{Random Characters}
  • {BLOCKED}.{BLOCKED}.226.104:80/{Random Characters}
  • {BLOCKED}.{BLOCKED}.39.231:80/{Random Characters}
  • {BLOCKED}.{BLOCKED}.19.82:443/{Random Characters}
  • {BLOCKED}.{BLOCKED}.255.77:8080/{Random Characters}
  • {BLOCKED}.{BLOCKED}.215.206:80/{Random Characters}
  • {BLOCKED}.{BLOCKED}.90.5:443/{Random Characters}
  • {BLOCKED}.{BLOCKED}.200.4:443/{Random Characters}
  • {BLOCKED}.{BLOCKED}.145.225:443/{Random Characters}
  • {BLOCKED}.{BLOCKED}.217.124:443/{Random Characters}
  • {BLOCKED}.{BLOCKED}.105.242:443/{Random Characters}
  • {BLOCKED}.{BLOCKED}.121.202:8090/{Random Characters}
  • {BLOCKED}.{BLOCKED}.117.108:8080/{Random Characters}
  • {BLOCKED}.{BLOCKED}.10.215:8080/{Random Characters}
  • {BLOCKED}.{BLOCKED}.112.148:8080/{Random Characters}
  • {BLOCKED}.{BLOCKED}.168.52:8080/{Random Characters}
  • {BLOCKED}.{BLOCKED}.54.221:8080/{Random Characters}
  • {BLOCKED}.{BLOCKED}.22.34:443/{Random Characters}
  • {BLOCKED}.{BLOCKED}.85.121:80/{Random Characters}
  • {BLOCKED}.{BLOCKED}.71.72:8080/{Random Characters}
  • {BLOCKED}.{BLOCKED}.153.224:80/{Random Characters}
  • {BLOCKED}.{BLOCKED}.19.232:8080/{Random Characters}
  • {BLOCKED}.{BLOCKED}.182.191:8080/{Random Characters}
  • {BLOCKED}.{BLOCKED}.123.72:80/{Random Characters}
  • {BLOCKED}.{BLOCKED}.185.60:80/{Random Characters}

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 does the following:

  • It creates the service for persistence if the sample is executed with administrative privileges, otherwise it uses an autorun registry.
  • It combines any two of the following strings and uses it as its filename "{String1}{String2}":
    • acc
    • avi
    • basic
    • bid
    • blb
    • bta
    • cards
    • channel
    • clr
    • cors
    • createa
    • ctl
    • cyan
    • dbt
    • devices
    • digital
    • driver
    • duck
    • dvb
    • edge
    • elem
    • ellipse
    • etw
    • exce
    • format
    • guid
    • inet
    • khmer
    • metrics
    • mexico
    • mfidl
    • msg
    • msra
    • mult
    • pal
    • pdeft
    • pfx
    • ptr
    • purge
    • query
    • radio
    • restore
    • roam
    • rtp
    • send
    • ses
    • shext
    • shlp
    • sidebar
    • space
    • symbol
    • targets
    • taskmgr
    • thrd
    • thunk
    • timeout
    • url
    • violet
    • vmd
    • vol
    • volume
    • wce
    • wmistr
    • wmp
  • It deletes outdated copies of itself with a combination of any two of the following strings as its file name:
    • acquire
    • angle
    • appid
    • attrib
    • boost
    • char
    • chunker
    • compon
    • cors
    • def
    • deploy
    • dispid
    • fill
    • footer
    • func
    • group
    • hal
    • hant
    • ias
    • inbox
    • iplk
    • ipmi
    • leel
    • lua
    • mailbox
    • maker
    • malert
    • manual
    • memo
    • methods
    • monthly
    • more
    • msp
    • netsh
    • nic
    • non
    • pdf
    • print
    • prints
    • publish
    • raw
    • rds
    • run
    • scan
    • sensor
    • serial
    • shades
    • sitka
    • smo
    • special
    • speed
    • stuck
    • tcg
    • texas
    • textto
    • title
    • trns
    • wiz
    • wow
    • wrap
    • wsa
    • wsat
    • xcl
    • zap

However, as of this writing, the said sites are inaccessible.

  SOLUTION

Minimum Scan Engine:

9.850

FIRST VSAPI PATTERN FILE:

15.676.04

FIRST VSAPI PATTERN DATE:

05 Feb 2020

VSAPI OPR PATTERN File:

15.677.00

VSAPI OPR PATTERN Date:

06 Feb 2020

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 component 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.TIABOFHK. 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.