RANSOM_LOCKY.DRA
Ransom.Locky.A (CAT-QuickHeal); Trojan-Ransom.Win32.Locky.dff (Kaspersky); Ransom:Win32/Locky.A (Microsoft)
Windows
Threat Type: Trojan
Destructiveness: No
Encrypted: Yes
In the wild: Yes
OVERVIEW
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 connects to certain websites to send and receive information. It deletes the initially executed copy of itself.
TECHNICAL DETAILS
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:
- {folder of encrypted files}\_{count of folders where files are encrypted}_WHAT_is.html -> Ransom Note
It drops the following component file(s):
- %User Temp%\ygN7ny4typiEH6tms7.CqbyUr7EQh - detected as Ransom_LOCKYENC.DRA
(Note: %User Temp% is the user's temporary folder, where it usually is C:\Documents and Settings\{user name}\Local Settings\Temp on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\AppData\Local\Temp 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 and executes the following files:
- %Desktop%\_WHAT_is.html -> Ransom Note
- %Desktop%\_WHAT_is.bmp -> Ransom Note, 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.)
It drops the following non-malicious files:
- %User Temp%\T5IxkWebKy
- %User Temp%\apple-touch-icon-precomposed-72x72.png
- %User Temp%\bbbtracking.js
- %User Temp%\jobnavi
- %User Temp%\manifest.json951001499.octet-stream
- %User Temp%\municipalities.html
- %User Temp%\nsn25AA.tmp\System.dll
- %User Temp%\options.htm1136869555.html
- %User Temp%\petralona
- %User Temp%\privacy-policy.htm
- %User Temp%\property.html
- %User Temp%\prosid
- %User Temp%\respond.js
- %User Temp%\sitemap1588370595.html
- %User Temp%\telephone.gif
- %User Temp%\vt
- %User Temp%\widgets.min.css
- %User Temp%\ns{random characters}.tmp\System.dll
(Note: %User Temp% is the user's temporary folder, where it usually is C:\Documents and Settings\{user name}\Local Settings\Temp on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\AppData\Local\Temp 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 System Modifications
This Trojan modifies the following file(s):
- It encrypts files in fixed, removable, RAM disk drives, and network shares.
It adds the following registry entries as part of its installation routine:
HKEY_CURRENT_USER\Control Panel\Desktop
WallpaperStyle = "0"
(Note: The default value data of the said registry entry is {user preference}.)
HKEY_CURRENT_USER\Control Panel\Desktop
TileWallpaper = "0"
(Note: The default value data of the said registry entry is {user preference}.)
HKEY_CURRENT_USER\Control Panel\Desktop
Wallpaper = %Desktop%\_WHAT_is.bmp
(Note: The default value data of the said registry entry is {user preference}.)
Other Details
This Trojan connects to the following website to send and receive information:
- http://{BLOCKED}.{BLOCKED}.35.230/message.php
- http://{BLOCKED}.{BLOCKED}.107.37/message.php
- http://{random generated domain}.{ru, info, biz, click, su, work, pl, org, pw, xyz}/linuxsucks.php
It encrypts files with the following extensions:
- .001
- .002
- .003
- .004
- .005
- .006
- .007
- .008
- .009
- .01
- .011
- .123
- .602
- .1cd
- .3dm
- .3ds
- .3fr
- .3g2
- .3gp
- .3pr
- .7z
- .7zip
- .aac
- .ab4
- .accdb
- .accde
- .accdr
- .accdt
- .ach
- .acr
- .act
- .adb
- .adp
- .ads
- .aes
- .agdl
- .ai
- .aiff
- .ait
- .al
- .aoi
- .apj
- .apk
- .ARC
- .arw
- .asc
- .asf
- .asm
- .asp
- .aspx
- .asset
- .asx
- .avi
- .awg
- .back
- .backup
- .backupdb
- .bak
- .bank
- .bat
- .bay
- .bdb
- .bgt
- .bik
- .bin
- .bkp
- .blend
- .bmp
- .bpw
- .brd
- .bsa
- .bz2
- .c
- .cdf
- .cdr
- .cdr3
- .cdr4
- .cdr5
- .cdr6
- .cdrw
- .cdx
- .ce1
- .ce2
- .cer
- .cfg
- .cgm
- .cib
- .class
- .cls
- .cmd
- .cmt
- .config
- .contact
- .cpi
- .cpp
- .cr2
- .craw
- .crt
- .crw
- .cs
- .csh
- .csl
- .csr
- .css
- .csv
- .CSV
- .d3dbsp
- .dac
- .das
- .dat
- .dat
- .db
- .db_journal
- .db3
- .dbf
- .dbx
- .dc2
- .dch
- .dcr
- .dcs
- .ddd
- .ddoc
- .ddrw
- .dds
- .der
- .des
- .design
- .dgc
- .dif
- .dip
- .dit
- .djv
- .djvu
- .dng
- .doc
- .DOC
- .docb
- .docm
- .docx
- .dot
- .DOT
- .dotm
- .dotx
- .drf
- .drw
- .dtd
- .dwg
- .dxb
- .dxf
- .dxg
- .edb
- .eml
- .eps
- .erbsql
- .erf
- .exf
- .fdb
- .ffd
- .fff
- .fh
- .fhd
- .fla
- .flac
- .flf
- .flv
- .flvv
- .forge
- .fpx
- .frm
- .fxg
- .gif
- .gpg
- .gray
- .grey
- .groups
- .gry
- .gz
- .h
- .hbk
- .hdd
- .hpp
- .html
- .hwp
- .ibank
- .ibd
- .ibz
- .idx
- .iif
- .iiq
- .incpas
- .indd
- .iwi
- .jar
- .java
- .jnt
- .jpe
- .jpeg
- .jpg
- .js
- .kc2
- .kdbx
- .kdc
- .keywallet
- .kpdx
- .kwm
- .laccdb
- .lay
- .lay6
- .lbf
- .ldf
- .lit
- .litemod
- .litesql
- .log
- .ltx
- .lua
- .m
- .m2ts
- .m3u
- .m4a
- .m4p
- .m4u
- .m4v
- .mapimail
- .max
- .mbx
- .md
- .mdb
- .mdc
- .mdf
- .mef
- .mfw
- .mid
- .mkv
- .mlb
- .mml
- .mmw
- .mny
- .moneywell
- .mos
- .mov
- .mp3
- .mp4
- .mpeg
- .mpg
- .mrw
- .ms11
- .ms11 (Security copy)
- .msg
- .myd
- .MYD
- .MYI
- .n64
- .nd
- .ndd
- .ndf
- .nef
- .NEF
- .nk2
- .nop
- .nrw
- .ns2
- .ns3
- .ns4
- .nsd
- .nsf
- .nsg
- .nsh
- .nvram
- .nwb
- .nx2
- .nxl
- .nyf
- .oab
- .obj
- .odb
- .odc
- .odf
- .odg
- .odm
- .odp
- .ods
- .odt
- .ogg
- .oil
- .onetoc2
- .orf
- .ost
- .otg
- .oth
- .otp
- .ots
- .ott
- .p12
- .p7b
- .p7c
- .pab
- .pages
- .PAQ
- .pas
- .pat
- .pcd
- .pct
- .pdb
- .pdd
- .pef
- .pem
- .pfx
- .php
- .pif
- .pl
- .plc
- .plus_muhd
- .png
- .pot
- .potm
- .potx
- .ppam
- .pps
- .ppsm
- .ppsx
- .ppt
- .PPT
- .pptm
- .pptx
- .prf
- .ps
- .psafe3
- .psd
- .pspimage
- .pst
- .ptx
- .pwm
- .py
- .qba
- .qbb
- .qbm
- .qbr
- .qbw
- .qbx
- .qby
- .qcow
- .qcow2
- .qed
- .r3d
- .raf
- .rar
- .rat
- .raw
- .rb
- .rdb
- .re4
- .rm
- .rtf
- .RTF
- .rvt
- .rw2
- .rwl
- .rwz
- .s3db
- .safe
- .sas7bdat
- .sav
- .save
- .say
- .sch
- .sd0
- .sda
- .sdf
- .sh
- .sldm
- .sldx
- .slk
- .sql
- .sqlite
- .sqlite3
- .SQLITE3
- .sqlitedb
- .SQLITEDB
- .sr2
- .srf
- .srt
- .srw
- .st4
- .st5
- .st6
- .st7
- .st8
- .stc
- .std
- .sti
- .stm
- .stw
- .stx
- .svg
- .swf
- .sxc
- .sxd
- .sxg
- .sxi
- .sxm
- .sxw
- .tar
- .tar
- .tbk
- .tex
- .tga
- .tgz
- .thm
- .tif
- .tiff
- .tlg
- .txt
- .uop
- .uot
- .upk
- .vb
- .vbox
- .vbs
- .vdi
- .vhd
- .vhdx
- .vmdk
- .vmsd
- .vmx
- .vmxf
- .vob
- .wab
- .wad
- .wallet
- .wav
- .wb2
- .wk1
- .wks
- .wma
- .wmv
- .wpd
- .wps
- .x11
- .x3f
- .xis
- .xla
- .xlam
- .xlc
- .xlk
- .xlm
- .xlr
- .xls
- .XLS
- .xlsb
- .xlsm
- .xlsx
- .xlt
- .xltm
- .xltx
- .xlw
- .xml
- .ycbcra
- .yuv
- .zip
It renames encrypted files using the following names:
- {unique ID per victim}-{identifier}.thor
It does the following:
- It prevents encrypting files containing any of the strings in its full path name:
- winnt
- Application Data
- AppData
- Program Files (x86)
- Program Files
- temp
- thumbs.db
- $Recycle.Bin
- System Volume Information
- Boot
- Windows
- It deletes shadow copies by executing the following command:
- vssadmin.exe Delete Shadows /Quiet /All
It deletes the initially executed copy of itself
NOTES:
This ransomware changes the wallpaper with the following image:
It also drops the following ransom note:
SOLUTION
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
Step 4
Remove malware/grayware files dropped/downloaded by RANSOM_LOCKY.DRA. (Note: Please skip this step if the threats listed below have already been removed.)
- Ransom_LOCKYENC.DRA
Step 5
Search and delete these files
- {folder of encrypted files}\_{count of folders where files are encrypted}_WHAT_is.html
- %Desktop%\_WHAT_is.html
- %Desktop%\_WHAT_is.bmp
- %User Temp%\T5IxkWebKy
- %User Temp%\apple-touch-icon-precomposed-72x72.png
- %User Temp%\bbbtracking.js
- %User Temp%\jobnavi
- %User Temp%\manifest.json951001499.octet-stream
- %User Temp%\municipalities.html
- %User Temp%\nsn25AA.tmp\System.dll
- %User Temp%\options.htm1136869555.html
- %User Temp%\petralona
- %User Temp%\privacy-policy.htm
- %User Temp%\property.html
- %User Temp%\prosid
- %User Temp%\respond.js
- %User Temp%\sitemap1588370595.html
- %User Temp%\telephone.gif
- %User Temp%\vt
- %User Temp%\widgets.min.css
- %User Temp%\ns{random characters}.tmp\System.dll
Step 6
Reset your Desktop properties
Step 7
Restart in normal mode and scan your computer with your Trend Micro product for files detected as RANSOM_LOCKY.DRA. 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 8
Restore encrypted files from backup.
Did this description help? Tell us how we did.