RANSOM_LOCKY.DLDVEQ

 Analysis by: Michael Jay Villanueva

 ALIASES:

Trojan-Ransom.Win32.Locky.bgr (Kaspersky)

 PLATFORM:

Windows

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

  • Threat Type: Trojan

  • Destructiveness: No

  • Encrypted:

  • In the wild: Yes

  OVERVIEW

Infection Channel:

Downloaded from the Internet


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

It does not have any propagation routine.

It does not have any backdoor routine.

It connects to certain websites to send and receive information. It gathers information and reports it to its servers.

  TECHNICAL DETAILS

File Size:

259,255 bytes

File Type:

EXE

Memory Resident:

No

Initial Samples Received Date:

01 Sep 2016

Payload:

Connects to URLs/IPs, Steals information, Encrypts files, Displays message/message boxes

Arrival Details

This Trojan 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 drops the following files:

  • {folders containing encrypted files}\_{count of dropped note per folder}_HELP_instructions.html - ransom note

It drops and executes the following files:

  • %Desktop%\_HELP_instructions.html - ransom note
  • %Desktop%\_HELP_instructions.bmp - image used as wallpaper

(Note: %Desktop% is the desktop folder, where it usually is C:\Documents and Settings\{user name}\Desktop in Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\Desktop in 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 System Modifications

This Trojan modifies the following file(s):

  • It renames the encrypted files to {unique ID per victim}-{identifier}.zepto

It adds the following registry entries as part of its installation routine:

HKEY_CURRENT_USER\Control Panel\Desktop
Wallpaper = %Desktop%\_HELP_instructions.bmp

It sets the system's desktop wallpaper to the following image:

Propagation

This Trojan does not have any propagation routine.

Backdoor Routine

This Trojan does not have any backdoor routine.

Other Details

This Trojan connects to the following website to send and receive information:

  • {Domain Generated Algorithm}.{ru, info, biz, click, su, work, pl, org, pw, xyz}/upload/_dispatch.php
  • http://{BLOCKED}.{BLOCKED}.148.19/php/upload.php

It encrypts files with the following extensions:

  • .001
  • .002
  • .003
  • .004
  • .005
  • .006
  • .007
  • .008
  • .009
  • .01
  • .011
  • .123
  • .602
  • .3dm
  • .3ds
  • .3g2
  • .3gp
  • .7z
  • .aes
  • .apk
  • .ARC
  • .asc
  • .asf
  • .asm
  • .asp
  • .asset
  • .avi
  • .bak
  • .bat
  • .bik
  • .bmp
  • .brd
  • .bsa
  • .bz2
  • .c
  • .cgm
  • .class
  • .cmd
  • .cpp
  • .crt
  • .cs
  • .csr
  • .CSV
  • .d3dbsp
  • .das
  • .dat
  • .db
  • .dbf
  • .dch
  • .dif
  • .dip
  • .djv
  • .djvu
  • .DOC
  • .docb
  • .docm
  • .docx
  • .DOT
  • .dotm
  • .dotx
  • .fla
  • .flv
  • .forge
  • .frm
  • .gif
  • .gpg
  • .gz
  • .h
  • .hwp
  • .ibd
  • .iwi
  • .jar
  • .java
  • .jpeg
  • .jpg
  • .js
  • .keywallet
  • .lay
  • .lay6
  • .lbf
  • .ldf
  • .litemod
  • .litesql
  • .ltx
  • .m3u
  • .m4a
  • .m4u
  • .max
  • .mdb
  • .mdf
  • .mid
  • .mkv
  • .mml
  • .mov
  • .mp3
  • .mp4
  • .mpeg
  • .mpg
  • .ms11
  • .MYD
  • .MYI
  • .n64
  • .NEF
  • .odb
  • .odg
  • .odp
  • .ods
  • .odt
  • .onetoc2
  • .otg
  • .otp
  • .ots
  • .ott
  • .p12
  • .PAQ
  • .pas
  • .pdf
  • .pem
  • .php
  • .pl
  • .png
  • .pot
  • .potm
  • .potx
  • .ppam
  • .pps
  • .ppsm
  • .ppsx
  • .PPT
  • .pptm
  • .pptx
  • .psd
  • .pst
  • .qcow2
  • .rar
  • .raw
  • .rb
  • .re4
  • .RTF
  • .sav
  • .sch
  • .sh
  • .sldm
  • .sldx
  • .slk
  • .sql
  • .SQLITE3
  • .SQLITEDB
  • .stc
  • .std
  • .sti
  • .stw
  • .svg
  • .swf
  • .sxc
  • .sxd
  • .sxi
  • .sxm
  • .sxw
  • .tar
  • .tar
  • .tbk
  • .tgz
  • .tif
  • .tiff
  • .txt
  • .uop
  • .uot
  • .upk
  • .vb
  • .vbs
  • .vdi
  • .vmdk
  • .vmx
  • .vob
  • .wallet
  • .wav
  • .wb2
  • .wk1
  • .wks
  • .wma
  • .wmv
  • .xlc
  • .xlm
  • .XLS
  • .xlsb
  • .xlsm
  • .xlsx
  • .xlt
  • .xltm
  • .xltx
  • .xlw
  • .xml
  • .zip

It does the following:

  • It prevents encrypting files containing any of the strings in its full path name:
    • $Recycle.Bin
    • AppData
    • Application Data
    • Boot
    • Program Files
    • System Volume Information
    • Temp
    • Thumbs.db
    • Windows
    • winnt
  • It deletes shadow copies by executing the following command:
    • vssadmin.exe Delete Shadows /Quiet /All
  • It requires a specific argument in order to perform its intended routine (ie. 321, 123, 65, etc).
  • It deletes itself after encrypting the files.

It gathers the following information and reports it to its servers:

  • Language of affected system
  • number of failed encrypted files
  • number of encrypted files
  • OS architecture (if 64bit)
  • victim ID

  SOLUTION

Minimum Scan Engine:

9.800

FIRST VSAPI PATTERN FILE:

12.694.08

FIRST VSAPI PATTERN DATE:

05 Aug 2016

VSAPI OPR PATTERN File:

12.695.00

VSAPI OPR PATTERN Date:

06 Aug 2016

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

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\Control Panel\Desktop
    • Wallpaper = %Desktop%\_HELP_instructions.bmp

Step 5

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.  
  • {folders containing encrypted files}\_{count of dropped note per folder}_HELP_instructions.html
  • %Desktop%\_HELP_instructions.html
  • %Desktop%\_HELP_instructions.bmp

Step 6

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

Restore encrypted files from backup.


Did this description help? Tell us how we did.

Related Malware