TSPY_DYRE.YYSPE

 Analysis by: Pearl Charlaine Espejo

 ALIASES:

Trojan.Dyre (Malwarebytes); Trojan.Dyreza.Gen.3 (F-Secure); Spyware/Win32.Dyzap (AhnLab-V3)

 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:

614,400 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

11 Nov 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 drops the following files:

  • %Windows%\Tasks\{random filename}.job

(Note: %Windows% is the Windows folder, where it usually is C:\Windows on all Windows operating system versions.)

Dropping Routine

This spyware drops the following files:

  • %System%\config\systemprofile\Application Data\{random filename} (for Windows XP and below)
  • %AppDataLocal%\{random filename} (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 URL(s) to get the affected system's IP address:

  • http://icanhazip.com

It connects to the following possibly malicious URL:

  • http://{BLOCKED}.{BLOCKED}.3.4:443
  • http://{BLOCKED}.{BLOCKED}.6.243
  • http://{BLOCKED}.{BLOCKED}.1.13:4443
  • http://{BLOCKED}.{BLOCKED}.116.174:443
  • http://{BLOCKED}.{BLOCKED}.212.105:443
  • http://{BLOCKED}.{BLOCKED}.180.41:4443
  • http://{BLOCKED}.{BLOCKED}.69.251:443
  • http://{BLOCKED}.{BLOCKED}.249.68:443
  • http://{BLOCKED}.{BLOCKED}.228.68:4443
  • http://{BLOCKED}.{BLOCKED}.166.94:4443
  • http://{BLOCKED}.{BLOCKED}.50.124:4443
  • http://{BLOCKED}.{BLOCKED}.239.194:443
  • http://{BLOCKED}.{BLOCKED}.101.194:4443
  • http://{BLOCKED}.{BLOCKED}.122.32:443
  • http://{BLOCKED}.{BLOCKED}.40.144:443
  • http://{BLOCKED}.{BLOCKED}.109.92:443
  • http://{BLOCKED}.{BLOCKED}.76.17:4443
  • http://{BLOCKED}.{BLOCKED}.217.70:443
  • http://{BLOCKED}.{BLOCKED}.68.129:443
  • http://{BLOCKED}.{BLOCKED}.9.108:443
  • http://{BLOCKED}.{BLOCKED}.9.141:443
  • http://{BLOCKED}.{BLOCKED}.9.225:443
  • http://{BLOCKED}.{BLOCKED}.167.234:4443
  • http://{BLOCKED}.{BLOCKED}.138.66:443
  • http://{BLOCKED}.{BLOCKED].240.79:4443
  • http://{BLOCKED}.{BLOCKED].77.76
  • http://{BLOCKED}.{BLOCKED].77.76:443
  • http://{BLOCKED}.{BLOCKED}.207.134:4443
  • http://{BLOCKED}.{BLOCKED}.60.33:443
  • http://{BLOCKED}.{BLOCKED}.67.190:443
  • http://{BLOCKED}.{BLOCKED}.104.166:4443
  • http://{BLOCKED}.{BLOCKED}.101.2:4443
  • http://{BLOCKED}.{BLOCKED}.108.47:4443
  • http://{BLOCKED}.{BLOCKED}.200.112:443
  • http://{BLOCKED}.{BLOCKED}.182.109:443
  • http://{BLOCKED}.{BLOCKED}.28.44:443
  • http://{BLOCKED}.{BLOCKED}.251.162:443
  • http://{BLOCKED}.{BLOCKED}.196.217:443
  • http://{BLOCKED}.{BLOCKED}.208.13:443
  • http://{BLOCKED}.{BLOCKED}.131.116:443
  • http://{BLOCKED}.{BLOCKED}.71.149:4443
  • http://{BLOCKED}.{BLOCKED}1.176.230:4443
  • http://{BLOCKED}.{BLOCKED}.217.30:443
  • http://{BLOCKED}.{BLOCKED}.237.166:443
  • http://{BLOCKED}.{BLOCKED}.48.38:443
  • http://{BLOCKED}.{BLOCKED}.131.229:443
  • http://{BLOCKED}.{BLOCKED}.62.195:4443
  • http://{BLOCKED}.{BLOCKED}.28.97:443

It deletes the initially executed copy of itself

  SOLUTION

Minimum Scan Engine:

9.80

FIRST VSAPI PATTERN FILE:

12.144.05

FIRST VSAPI PATTERN DATE:

11 Nov 2015

VSAPI OPR PATTERN File:

12.145.00

VSAPI OPR PATTERN Date:

12 Nov 2015

Step 1

Before doing any scans, Windows XP, Windows Vista, and Windows 7 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

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%\config\systemprofile\Application Data\{random filename} (for Windows XP and below)
  • %AppDataLocal%\{random filename} (for Windows Vista and above)

Step 5

Delete the Scheduled Tasks added by this malware/grayware

[ Learn More ]

To delete the added Scheduled Task file:

For Windows 2000, Windows XP, and Windows Server 2003:

  1. Open the Windows Scheduled Tasks. To do this, click Start>Programs>Accessories>System Tools>Scheduled Tasks.
  2. Double-click on a .JOB file.
  3. Check if the malware path and file name exists in the .JOB file. To do this, check the value in the Run field.
  4. If found, select the .JOB file then press SHIFT+DELETE to permanently delete the file.
  5. Repeat the steps above for the remaining .JOB files.

For Windows Vista, Windows 7, Windows Server 2008, Windows 8, Windows 8.1, and Windows Server 2012:

  1. Open the Windows Task Scheduler. To do this:
    • On Windows Vista, Windows 7, and Windows Server 2008, click Start, type taskschd.msc in the Search input field, then press Enter.
    • On Windows 8, Windows 8.1, and Windows Server 2012, right-click on the lower left corner of the screen, click Run, type taskschd.msc, then press Enter.
  2. In the left panel of the Task Scheduler Window, click Task Scheduler Library.
  3. In the upper-middle panel, click a Task.
  4. In the lower middle panel, click the Actions tab
  5. Check if the malware path and file name exists in the task. To do this, check the value in the Details column under the Actions tab.
  6. If found, select the task and press DELETE and click Yes to delete the task.
  7. Repeat the steps above for the remaining tasks.

Step 6

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