Modified by: Mohammed Malubay

ALIASES:

Trojan:Win32/Emotet.DHF!rfn(MICROSOFT); Trojan-Banker.Win32.Emotet.ehea(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

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.

It does not have any propagation routine.

It does not have any backdoor routine.

It creates an event. However, as of this writing, the said sites are inaccessible.

  TECHNICAL DETAILS

File Size: 205,827 bytes
File Type: EXE
Memory Resident: Yes
Initial Samples Received Date: 22 Nov 2019
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 without administrative privileges:
    • %AppDataLocal%\{string1}{string2}\{string1}{string2}.exe
  • If sample executed with administrative privileges:
    • %System%\{string1}{string2}.exe

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

It adds the following processes:

  • {malware file path}\{malware file name}.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}
  • If sample executed with administrative privileges:
    • %System%\{string1}{string2}.exe
    • %System%\{string1}{string2}.exe --{8-random characters}

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

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

Propagation

This Trojan Spy does not have any propagation routine.

Backdoor Routine

This Trojan Spy does not have any backdoor routine.

Rootkit Capabilities

This Trojan Spy does not have rootkit capabilities.

Information Theft

This Trojan Spy gathers the following data:

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

Stolen Information

This Trojan Spy sends the gathered information via HTTP POST to the following URL:

    • {BLOCKED}.{BLOCKED}.35.138:7080/{string}
    • {BLOCKED}.{BLOCKED}..93.230:80/{string}
    • {BLOCKED}.{BLOCKED}..95.107:443/{string}
    • {BLOCKED}.{BLOCKED}..111.142:7080/{string}
    • {BLOCKED}.{BLOCKED}..212.195:8080/{string}
    • {BLOCKED}.{BLOCKED}..51.143:8080/{string}
    • {BLOCKED}.{BLOCKED}..165.160:8080/{string}
    • {BLOCKED}.{BLOCKED}.143.100:7080/{string}
    • {BLOCKED}.{BLOCKED}.160.178:8080/{string}
    • {BLOCKED}.{BLOCKED}.190.199:8080/{string}
    • {BLOCKED}.{BLOCKED}.170.114:8080/{string}
    • {BLOCKED}.{BLOCKED}.33.84:8080/{string}
    • {BLOCKED}.{BLOCKED}.78.99:8080/{string}
    • {BLOCKED}.{BLOCKED}.101.134:8080/{string}
    • {BLOCKED}.{BLOCKED}.211.77:8080/{string}
    • {BLOCKED}.{BLOCKED}.87.122:8080/{string}
    • {BLOCKED}.{BLOCKED}.215.216:50000/{string}
    • {BLOCKED}.{BLOCKED}.140.14:443/{string}
    • {BLOCKED}.{BLOCKED}.15.205:8080/{string}
    • {BLOCKED}.{BLOCKED}.143.94:8080/{string}
    • {BLOCKED}.{BLOCKED}..166.147:80/{string}
    • {BLOCKED}.{BLOCKED}.70.69:8080/{string}
    • {BLOCKED}.{BLOCKED}.77.40:7080/{string}
    • {BLOCKED}.{BLOCKED}.223.190:8080/{string}
    • {BLOCKED}.{BLOCKED}.163.19:8090/{string}
    • {BLOCKED}.{BLOCKED}.215.57:7080/{string}
    • {BLOCKED}.{BLOCKED}.93.124:7080/{string}
    • {BLOCKED}.{BLOCKED}.250.229:8080/{string}
    • {BLOCKED}.{BLOCKED}.71.206:7080/{string}
    • {BLOCKED}.{BLOCKED}..84.254:7080/{string}
    • {BLOCKED}.{BLOCKED}.58.132:8080/{string}
    • {BLOCKED}.{BLOCKED}.27.84:443/{string}
    • {BLOCKED}.{BLOCKED}.86.13:8080/{string}
    • {BLOCKED}.{BLOCKED}.247.98:443/{string}
    • {BLOCKED}.{BLOCKED}.124.163:8080/{string}
    • {BLOCKED}.{BLOCKED}.61.162:7080/{string}
    • {BLOCKED}.{BLOCKED}..214.126:8080/{string}
    • {BLOCKED}.{BLOCKED}..106.4:7080/{string}
    • {BLOCKED}.{BLOCKED}..237.27:443/{string}
    • {BLOCKED}.{BLOCKED}.114.137:8080/{string}
    • {BLOCKED}.{BLOCKED}.173.247:8080/{string}
    • {BLOCKED}.{BLOCKED}.227.206:8080/{string}
    • {BLOCKED}.{BLOCKED}.204.126:8080/{string}
    • {BLOCKED}.{BLOCKED}.40.218:7080/{string}
    • {BLOCKED}.{BLOCKED}.31.177:8080/{string}
    • {BLOCKED}.{BLOCKED}.233.225:8080/{string}
    • {BLOCKED}.{BLOCKED}..163.131:8080/{string}
    • {BLOCKED}.{BLOCKED}.203.45:443/{string}
    • {BLOCKED}.{BLOCKED}.153.203:443/{string}
    • {BLOCKED}.{BLOCKED}.62.54:80/{string}
    • {BLOCKED}.{BLOCKED}.143.177:80/{string}
    • {BLOCKED}.{BLOCKED}.42.205:443/{string}
    • {BLOCKED}.{BLOCKED}.17.210:443/{string}
    • {BLOCKED}.{BLOCKED}.194.6:8090/{string}
    • {BLOCKED}.{BLOCKED}.97.25:80/{string}
    • {BLOCKED}.{BLOCKED}.148.222:8080/{string}
    • {BLOCKED}.{BLOCKED}..41.111:443/{string}
    • {BLOCKED}.{BLOCKED}.83.52:8080/{string}
    • {BLOCKED}.{BLOCKED}.132.93:990/{string}
    • {BLOCKED}.{BLOCKED}.99.192:443/{string}
    • {BLOCKED}.{BLOCKED}.3.161:443/{string}
    • {BLOCKED}.{BLOCKED}.184.138:995/{string}
    • {BLOCKED}.{BLOCKED}.131.105:8080/{string}
    • {BLOCKED}.{BLOCKED}.129.227:8090/{string}
    • {BLOCKED}.{BLOCKED}..50.26:80/{string}
    • {BLOCKED}.{BLOCKED}.101.10:80/{string}
    • {BLOCKED}.{BLOCKED}.14.52:80/{string}
    • {BLOCKED}.{BLOCKED}.30.167:990/{string}
    • {BLOCKED}.{BLOCKED}.83.179:80/{string}
    • {BLOCKED}.{BLOCKED}.101.90:80/{string}
    • {BLOCKED}.{BLOCKED}.106.18:80/{string}
    • {BLOCKED}.{BLOCKED}.106.18:80/{string}
    • {BLOCKED}.{BLOCKED}.74.202:443/{string}
    • {BLOCKED}.{BLOCKED}.133.235:8080/{string}
    • {BLOCKED}.{BLOCKED}.32.59:80/{string}
    • {BLOCKED}.{BLOCKED}.0.69:80/{string}
    • {BLOCKED}.{BLOCKED}..159.3:8080/{string}
    • {BLOCKED}.{BLOCKED}..204.40:8080/{string}
    • {BLOCKED}.{BLOCKED}..237.140:8080/{string}
    • {BLOCKED}.{BLOCKED}.36.51:8080/{string}
    • {BLOCKED}.{BLOCKED}.160.224:8080/{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

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 file name {string1}{string2}:
    • texas
    • func
    • deploy
    • run
    • leel
    • stuck
    • def
    • print
    • hal
    • monthly
    • pdf
    • char
    • netsh
    • memo
    • trns
    • rds
    • maker
    • more
    • textto
    • chunker
    • mailbox
    • compon
    • shades
    • scan
    • non
    • wsat
    • speed
    • publish
    • manual
    • hant
    • inbox
    • malert
    • zap
    • fill
    • angle
    • wrap
    • boost
    • cors
    • iplk
    • sitka
    • wow
    • prints
    • acquire
    • wiz
    • smo
    • footer
    • attrib
    • group
    • appid
    • xcl
    • sensor
    • methods
    • ipmi
    • raw
    • title
    • nic
    • ias
    • lua
    • dispid
    • special
    • serial
    • wsa
    • tcg
    • msp
  • It deletes outdated copies of itself with a combination of any two of the following strings as its file name {string3}{string4}:
    • delete
    • band
    • ipsm
    • sspi
    • div
    • rdp
    • whole
    • dir
    • privacy
    • make
    • watched
    • pano
    • which
    • goto
    • wnd
    • rep
    • ceip
    • date
    • render
    • bag
    • vsc
    • vsa
    • mouse
    • counter
    • tech
    • wheel
    • ranker
    • iterate
    • store
    • sum
    • package
    • timeout
    • idebug
    • junos
    • site
    • trc
    • url
    • coffee
    • poller
    • remote
    • gapa
    • changes
    • duck
    • ppl
    • tlogcm
    • tlb
    • cube
    • hexa
    • vol
    • paint
    • star
    • nav
    • grp
    • avatar
    • center
    • cipher
    • brm
    • resize
    • markup
    • pausea
    • loan
    • emboss
    • vsperf
    • teal

It creates the following event(s):

  • Global\E{Volume Serial Number}

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

It does not exploit any vulnerability.

  SOLUTION

Minimum Scan Engine: 9.850
FIRST VSAPI PATTERN FILE: 15.512.08
FIRST VSAPI PATTERN DATE: 22 Nov 2019
VSAPI OPR PATTERN File: 15.513.00
VSAPI OPR PATTERN Date: 23 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 this file

[ 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}.exe

Step 7

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.
  • %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.TIABOFEY. 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.