TSPY_DYRE.JAY

 Analysis by: Michelle Morales

 ALIASES:

PWS:Win32/Dyzap (Microsoft), a variant of Win32/Injector.BSXH (ESET), Trojan.Win32.Staser.avuh (Kaspersky)

 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.

It deletes the initially executed copy of itself.

  TECHNICAL DETAILS

File Size:

400,384 bytes

File Type:

EXE

Initial Samples Received Date:

16 Jan 2015

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 files depending on the platform/operating system of the affected computer:

  • %System%\config\systemprofile\Application Data\{random file name}.dat (for Windows XP and below)
  • %AppDataLocal%\{random file name}.dat (for Windows Vista and above)

(Note: %System% is the Windows system folder, where it usually is C:\Windows\System32 on all Windows operating system versions.. %AppDataLocal% is the Application Data folder found in Local Settings, where it is usually C:\Documents and Settings\{user name}\Local Settings\Application Data on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\AppData\Local 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.)

It drops the following copies of itself depending on the platform/operating system of the affected computer:

  • %Windows%\{random file name}.exe (for Windows XP and below)
  • %AppDataLocal%\{random file name}.exe (for Windows Vista and above)

(Note: %Windows% is the Windows folder, where it usually is C:\Windows on all Windows operating system versions.. %AppDataLocal% is the Application Data folder found in Local Settings, where it is usually C:\Documents and Settings\{user name}\Local Settings\Application Data on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\AppData\Local 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 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\googleupdate
ImagePath = "%Windows%\{random file name}.exe"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\googleupdate
DisplayName = "Google Update Service"

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

HKEY_CURRENT_USER\SOFTWARE\Microsoft\
Windows\CurrentVersion\Run
(Default) = "%AppDataLocal%\{random file name}.exe" (for Windows Vista and above)

It registers as a system service to ensure its automatic execution at every system startup by adding the following registry keys:

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\googleupdate (for Windows XP and below)

Other Details

This spyware connects to the following possibly malicious URL:

  • {BLOCKED}.{BLOCKED}.172.196
  • stun1.{BLOCKED}clipse.net
  • stun.{BLOCKED}thus.com
  • stun.{BLOCKED}e.net
  • stun.voip.{BLOCKED}c.com
  • stun.{BLOCKED}ster.com
  • stun.{BLOCKED}tia.org
  • stun.{BLOCKED}a.com
  • stun.{BLOCKED}tel.com.au
  • stun.{BLOCKED}l.org
  • stun.{BLOCKED}unt.com
  • {BLOCKED}rver.org
  • s1.{BLOCKED}a.net
  • s2.{BLOCKED}a.net
  • stun.{BLOCKED}d.de
  • stun.{BLOCKED}ound.com
  • numb.{BLOCKED}ie.ca
  • stun.{BLOCKED}otocol.org
  • stun.{BLOCKED}k.co.nz
  • stun.{BLOCKED}ecom.se

It deletes the initially executed copy of itself