Analysis by: RonJay Kristoffer Caragay

ALIASES:

PWS:Win32/Dyzap.N (Microsoft); Trojan.Dyre (Malwarebytes); Gen:Variant.Dyreza.4 (BitDefender); Trojan.Win32.Staser.bcwb (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 itself after execution.

  TECHNICAL DETAILS

File Size: 519,680 bytes
File Type: EXE
Initial Samples Received Date: 07 Mar 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 copies of itself into the affected system:

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

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

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\CurrentControlSet\
Services\googleupdate
ImagePath = "%Windows%\{random filename}.exe"

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

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\googleupdate
Start = "2"

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

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Run
GoogleUpdate = "%AppDataLocal%\{random filename}.exe" (for Windows Vista and above)

Other System Modifications

This spyware adds the following registry keys:

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

Dropping Routine

This spyware drops the following files:

  • %System%\config\systemprofile\Application Data\nw9vbe82n1.dll (for Windows XP and below)
  • %AppDataLocal%\nw9vbe82n1.dll (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.)

Other Details

This spyware connects to the following possibly malicious URL:

  • {BLOCKED}.246.112.24:443
  • {BLOCKED}.195.193.131:443
  • {BLOCKED}.86.177.105:443
  • {BLOCKED}.87.212.246:443
  • {BLOCKED}.249.61.139:443
  • {BLOCKED}.105.34.153:443
  • {BLOCKED}.120.40.82:443
  • {BLOCKED}.122.236.40:4443
  • {BLOCKED}.137.0.64:443
  • {BLOCKED}.18.172.215:4443
  • {BLOCKED}.30.40.44:4443
  • {BLOCKED}.31.53.7:443
  • {BLOCKED}.165.229.209:443
  • {BLOCKED}.165.229.209:4443
  • {BLOCKED}.165.239.151:443
  • {BLOCKED}.165.239.151:4443
  • {BLOCKED}.228.149.47:443
  • {BLOCKED}.191.175.202:443
  • {BLOCKED}.131.138.151:4443
  • {BLOCKED}.131.138.33:4443
  • {BLOCKED}.131.143.37:4443
  • {BLOCKED}.202.233.138:4443
  • {BLOCKED}.151.254.183:443
  • {BLOCKED}.151.48.166:443
  • {BLOCKED}.63.100.27:443
  • {BLOCKED}.63.103.236:443
  • {BLOCKED}.63.97.115:4443
  • {BLOCKED}.63.97.144:443
  • {BLOCKED}.63.97.196:443
  • {BLOCKED}.63.97.216:443
  • {BLOCKED}.63.98.147:4443
  • {BLOCKED}.63.98.170:4443
  • {BLOCKED}.63.98.171:4443
  • {BLOCKED}.63.98.190:443
  • {BLOCKED}.63.98.207:443
  • {BLOCKED}.63.98.249:443
  • {BLOCKED}.63.98.95:443
  • {BLOCKED}.162.109.242:443
  • {BLOCKED}.87.98.91:443
  • {BLOCKED}.120.246.111:443
  • {BLOCKED}.234.34.137:443
  • {BLOCKED}.251.250.93:443
  • {BLOCKED}.162.110.204:4443
  • {BLOCKED}.208.52.146:443
  • {BLOCKED}.112.57.205:443
  • {BLOCKED}.236.224.45:443
  • {BLOCKED}.236.228.155:443
  • {BLOCKED}.66.249.207:443
  • {BLOCKED}.105.249.177:4443
  • {BLOCKED}.174.109.116:443
  • {BLOCKED}.196.99.217:443
  • {BLOCKED}.238.74.70:443
  • {BLOCKED}.242.52.191:443
  • {BLOCKED}.242.52.192:443
  • {BLOCKED}.242.53.132:443
  • {BLOCKED}.242.53.142:4443
  • {BLOCKED}.242.53.79:443
  • {BLOCKED}.242.54.100:4443
  • {BLOCKED}.72.177.142:4443
  • {BLOCKED}.231.114.243:443
  • {BLOCKED}.231.178.46:4443
  • {BLOCKED}.45.41.34:4443
  • {BLOCKED}.154.91.230:443
  • {BLOCKED}.67.88.84:4443

It deletes itself after execution.

  SOLUTION

Minimum Scan Engine: 9.750
FIRST VSAPI PATTERN FILE: 11.524.01
FIRST VSAPI PATTERN DATE: 07 Mar 2015
VSAPI OPR PATTERN File: 11.525.00
VSAPI OPR PATTERN Date: 08 Mar 2015

Scan your computer with your Trend Micro product to delete files detected as TSPY_DYRE.YUYBM. 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.