TSPY_EMOTET.XXQE

 Analysis by: Homer Pacag

 ALIASES:

VirTool:Win32/CeeInject!KY (Microsoft); Trojan.Win32.Emotet (Ikarus); Win32/Emotet.AD (ESET-NOD32); W32/EMOTET.XXQD!tr (Fortinet)

 PLATFORM:

Windows

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

  • Threat Type: Spyware

  • Destructiveness: No

  • Encrypted:

  • In the wild: Yes

  OVERVIEW

This spyware arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites.

However, as of this writing, the said sites are inaccessible. It deletes itself after execution.

  TECHNICAL DETAILS

File Size:

266,240 bytes

File Type:

EXE

Arrival Details

This spyware 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 spyware drops the following copies of itself into the affected system:

  • %Application Data%\Microsoft\msdb{random}.exe

(Note: %Application Data% is the Application Data folder, where it usually is C:\Documents and Settings\{user name}\Application Data on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\AppData\Roaming on Windows Vista (32- and 64-bit), Windows 7 (32- and 64-bit), Windows 8 (32- and 64-bit), Windows 8.1 (32- and 64-bit), Windows Server 2008, and Windows Server 2012.)

Autostart Technique

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

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Run
msdb{random}.exe = "%Application Data%\Microsoft\msdb{random}.exe"

Other System Modifications

This spyware adds the following registry keys:

HKEY_CURRENT_USER\Software\Rocal AppWizard-Generated Applications\
{Malware name}

HKEY_CURRENT_USER\Software\Rocal AppWizard-Generated Applications\
{Malware name}\Recent File List

HKEY_CURRENT_USER\Software\Rocal AppWizard-Generated Applications\
{Malware name}\Settings

HKEY_CURRENT_USER\Software\Microsoft\
Multimedia\Audio\Box

HKEY_CURRENT_USER\Software\Microsoft\
Multimedia\Audio\Box\
{random 1}6

HKEY_CURRENT_USER\Software\Microsoft\
Multimedia\Audio\Box\
{random 1}7

HKEY_CURRENT_USER\Software\Microsoft\
Multimedia\Audio\Box\
{random 1}8

It adds the following registry entries:

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Internet Settings
GlobalUserOffline = "0"

Other Details

This spyware connects to the following possibly malicious URL:

  • http://{BLOCKED}.{BLOCKED}.17.67:8080/{random 1}/{random 2}/
  • http://{BLOCKED}.{BLOCKED}.160.196:8080/{random 1}/{random 2}/
  • http://{BLOCKED}.{BLOCKED}.138.90:8080/{random 1}/{random 2}/
  • http://{BLOCKED}.{BLOCKED}.207.58:8080/{random 1}/{random 2}/
  • http://{BLOCKED}.{BLOCKED}.129.13:8080/{random 1}/{random 2}/
  • http://{BLOCKED}.{BLOCKED}.3.194:8080/{random 1}/{random 2}/
  • http://{BLOCKED}.{BLOCKED}.225.91:8080/{random 1}/{random 2}/
  • http://{BLOCKED}.{BLOCKED}.17.144:8080/{random 1}/{random 2}/
  • http://{BLOCKED}.{BLOCKED}.85.224:8080/{random 1}/{random 2}/
  • http://{BLOCKED}.{BLOCKED}.224.231:8080/{random 1}/{random 2}/
  • http://{BLOCKED}.{BLOCKED}.189.24:8080/{random 1}/{random 2}/
  • http://{BLOCKED}.{BLOCKED}.135.44:8080/{random 1}/{random 2}/
  • http://{BLOCKED}.{BLOCKED}.105.107:8080/{random 1}/{random 2}/
  • http://{BLOCKED}.{BLOCKED}.254.29:8080/{random 1}/{random 2}/
  • http://{BLOCKED}.{BLOCKED}.213.41:8080/{random 1}/{random 2}/
  • http://{BLOCKED}.{BLOCKED}.6.134:8080/{random 1}/{random 2}/
  • http://{BLOCKED}.{BLOCKED}.193.123:8080/{random 1}/{random 2}/
  • http://{BLOCKED}.{BLOCKED}.151.38:8080/{random 1}/{random 2}/

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

It deletes itself after execution.