TrojanSpy.Win32.EMOTET.JSHSMM


 ALIASES:

Trojan.Win32.Emotet(IKARUS); HEUR:Trojan-Banker.Win32.Emotet.gen(KASPERSKY); Trojan:Win32/Emotet.ARJ!MT(MICROSOFT)

 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:

305,932 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

03 Feb 2020

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:

  • 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}
  • 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\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:

  • http://{BLOCKED}.219:8080/{random characters}
  • http://{BLOCKED}104:8080/{random characters}
  • http://{BLOCKED}.199:8080/{random characters}
  • http://{BLOCKED}28:8080/{random characters}
  • http://{BLOCKED}7.33:443/{random characters}
  • http://{BLOCKED}3.252:8080/{random characters}
  • http://{BLOCKED}147:8080/{random characters}
  • http://{BLOCKED}215:8080/{random characters}
  • http://{BLOCKED}6.169:80/{random characters}
  • http://{BLOCKED}.171:80/{random characters}
  • http://{BLOCKED}.69:80/{random characters}
  • http://{BLOCKED}.110:8080/{random characters}
  • http://{BLOCKED}76:443/{random characters}
  • http://{BLOCKED}6.170:80/{random characters}
  • http://{BLOCKED}23:8080/{random characters}
  • http://{BLOCKED}.107:80/{random characters}
  • http://{BLOCKED}6.241:80/{random characters}
  • http://{BLOCKED}.231:80/{random characters}
  • http://{BLOCKED}6.219:8080/{random characters}
  • http://{BLOCKED}105:80/{random characters}
  • http://{BLOCKED}.77:80/{random characters}
  • http://{BLOCKED}.44:8080/{random characters}
  • http://{BLOCKED}11:8080/{random characters}
  • http://{BLOCKED}26:443/{random characters}
  • http://{BLOCKED}.54:443/{random characters}
  • http://{BLOCKED}.82:443/{random characters}
  • http://{BLOCKED}8.128:443/{random characters}
  • http://{BLOCKED}72:8080/{random characters}
  • http://{BLOCKED}6.104:80/{random characters}
  • http://{BLOCKED}.66:8080/{random characters}
  • http://{BLOCKED}5.227:8080/{random characters}
  • http://{BLOCKED}2.43:80/{random characters}
  • http://{BLOCKED}7.108:8080/{random characters}
  • http://{BLOCKED}.205:80/{random characters}
  • http://{BLOCKED}.232:8080/{random characters}
  • http://{BLOCKED}5.60:80/{random characters}
  • http://{BLOCKED}:8080/{random characters}
  • http://{BLOCKED}237:80/{random characters}
  • http://{BLOCKED}3.133:8080/{random characters}
  • http://{BLOCKED}2.217:8080/{random characters}
  • http://{BLOCKED}72:80/{random characters}
  • http://{BLOCKED}66:8080/{random characters}
  • http://{BLOCKED}199:443/{random characters}
  • http://{BLOCKED}47:443/{random characters}
  • http://{BLOCKED}181:8080/{random characters}
  • http://{BLOCKED}5.225:443/{random characters}
  • http://{BLOCKED}5.206:80/{random characters}
  • http://{BLOCKED}213:8080/{random characters}
  • http://{BLOCKED}7.135:80/{random characters}
  • http://{BLOCKED}10:8080/{random characters}
  • http://{BLOCKED}21:8080/{random characters}
  • http://{BLOCKED}.87:80/{random characters}
  • http://{BLOCKED}.34:443/{random characters}
  • http://{BLOCKED}90:80/{random characters}
  • http://{BLOCKED}5.224:80/{random characters}
  • http://{BLOCKED}5.112:7080/{random characters}
  • http://{BLOCKED}.216:443/{random characters}
  • http://{BLOCKED}1.252:443/{random characters}
  • http://{BLOCKED}248:80/{random characters}
  • http://{BLOCKED}5:443/{random characters}
  • http://{BLOCKED}2.213:8090/{random characters}
  • http://{BLOCKED}192:8080/{random characters}
  • http://{BLOCKED}0.121:80/{random characters}
  • http://{BLOCKED}:80/{random characters}
  • http://{BLOCKED}9.126:443/{random characters}
  • http://{BLOCKED}49:80/{random characters}
  • http://{BLOCKED}145:80/{random characters}
  • http://{BLOCKED}.91:8080/{random characters}
  • http://{BLOCKED}24:443/{random characters}
  • http://{BLOCKED}7.217:80/{random characters}
  • http://{BLOCKED}210:8080/{random characters}
  • http://{BLOCKED}.150:8080/{random characters}
  • http://{BLOCKED}.13:80/{random characters}
  • http://{BLOCKED}.211:80/{random characters}
  • http://{BLOCKED}9:8080/{random characters}
  • http://{BLOCKED}.101:8080/{random characters}
  • http://{BLOCKED}.174:80/{random characters}
  • http://{BLOCKED}3:443/{random characters}
  • http://{BLOCKED}128:8080/{random characters}
  • http://{BLOCKED}161:80/{random characters}
  • http://{BLOCKED}193:8080/{random characters}
  • http://{BLOCKED}.180:443/{random characters}
  • http://{BLOCKED}:443/{random characters}
  • http://{BLOCKED}147:8080/{random characters}
  • http://{BLOCKED}21:80/{random characters}
  • http://{BLOCKED}82:80/{random characters}
  • http://{BLOCKED}3.106:80/{random characters}
  • http://{BLOCKED}7.86:80/{random characters}
  • http://{BLOCKED}.66:8080/{random characters}
  • http://{BLOCKED}.119:80/{random characters}
  • http://{BLOCKED}.33:80/{random characters}
  • http://{BLOCKED}7.124:443/{random characters}
  • http://{BLOCKED}.129:8080/{random characters}
  • http://{BLOCKED}.56:80/{random characters}
  • http://{BLOCKED}.105:80/{random characters}
  • http://{BLOCKED}.52:8080/{random characters}
  • http://{BLOCKED}.66:443/{random characters}
  • http://{BLOCKED}227:80/{random characters}
  • http://{BLOCKED}47:80/{random characters}
  • http://{BLOCKED}212:80/{random characters}
  • http://{BLOCKED}133:80/{random characters}
  • http://{BLOCKED}3.224:80/{random characters}
  • http://{BLOCKED}4.207:8080/{random characters}
  • http://{BLOCKED}9.107:80/{random characters}
  • http://{BLOCKED}.5:443/{random characters}
  • http://{BLOCKED}98:80/{random characters}
  • http://{BLOCKED}9.83:8080/{random characters}
  • http://{BLOCKED}6.93:8080/{random characters}
  • http://{BLOCKED}.121:443/{random characters}
  • http://{BLOCKED}20:7080/{random characters}
  • http://{BLOCKED}.69:443/{random characters}
  • http://{BLOCKED}.169:80/{random characters}
  • http://{BLOCKED}1.202:8090/{random characters}
  • http://{BLOCKED}4:80/{random characters}
  • http://{BLOCKED}.226:7080/{random characters}
  • http://{BLOCKED}.221:8080/{random characters}
  • http://{BLOCKED}.4:8080/{random characters}
  • http://{BLOCKED}.159:21/{random characters}
  • http://{BLOCKED}6.124:80/{random characters}
  • http://{BLOCKED}.153:80/{random characters}
  • http://{BLOCKED}2.191:8080/{random characters}
  • http://{BLOCKED}4.182:443/{random characters}
  • http://{BLOCKED}.180:80/{random characters}
  • http://{BLOCKED}.58:80/{random characters}
  • http://{BLOCKED}.117:80/{random characters}
  • http://{BLOCKED}7:8080/{random characters}
  • http://{BLOCKED}09:443/{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}":
    • duck
    • mfidl
    • targets
    • ptr
    • khmer
    • purge
    • metrics
    • acc
    • inet
    • msra
    • symbol
    • driver
    • sidebar
    • restore
    • msg
    • volume
    • cards
    • shext
    • query
    • roam
    • etw
    • mexico
    • basic
    • url
    • createa
    • blb
    • pal
    • cors
    • send
    • devices
    • radio
    • bid
    • format
    • thrd
    • taskmgr
    • timeout
    • vmd
    • ctl
    • bta
    • shlp
    • avi
    • exce
    • dbt
    • pfx
    • rtp
    • edge
    • mult
    • clr
    • wmistr
    • ellipse
    • vol
    • cyan
    • ses
    • guid
    • wce
    • wmp
    • dvb
    • elem
    • channel
    • space
    • digital
    • pdeft
    • violet
    • thunk
  • It deletes outdated copies of itself with a combination of any two of the following strings as its file name:
    • 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

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

  SOLUTION

Minimum Scan Engine:

9.850

FIRST VSAPI PATTERN FILE:

15.662.05

FIRST VSAPI PATTERN DATE:

03 Feb 2020

VSAPI OPR PATTERN File:

15.663.00

VSAPI OPR PATTERN Date:

04 Feb 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.XXPE50FFF034

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

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

  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
    • {String1}{String2}

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

Step 8

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 9

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

Step 10

Scan your computer with your Trend Micro product to delete files detected as TrojanSpy.Win32.EMOTET.JSHSMM. 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 the following Trend Micro Support pages for more information:


Did this description help? Tell us how we did.