Analysis by: Oliver Ramirez

ALIASES:

Ransom.Wannacry (NORTON); Win32/Filecoder.DilmaLocker.A trojan (NOD32); W32/Filecoder_DilmaLocker.A!tr (FORTINET)

 PLATFORM:

Windows

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

  • Threat Type: Ransomware

  • Destructiveness: No

  • Encrypted: No

  • In the wild: Yes

  OVERVIEW

Infection Channel: Dropped by other malware, Downloaded from the Internet

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

It encrypts files found in specific folders. It drops files as ransom note.

  TECHNICAL DETAILS

File Size: 1,660,434 bytes
File Type: EXE
Memory Resident: No
Initial Samples Received Date: 07 Sep 2017
Payload: Displays graphics/image, Displays windows, Encrypts files

Arrival Details

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

  • %Desktop%\dilminha.dat
  • %Desktop%\background.bmp

(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 and executes the following files:

  • %User Profile%\Documents\03cfef087143723d911484f9568dcf63.exe

(Note: %User Profile% is the current user's profile folder, which is usually C:\Documents and Settings\{user name} on Windows 2000, XP, and Server 2003, or C:\Users\{user name} on Windows Vista and 7.)

Other System Modifications

This Ransomware changes the desktop wallpaper by modifying the following registry entries:

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

Other Details

This Ransomware encrypts files with the following extensions:

  • doc
  • docx
  • xls
  • xlsx
  • ppt
  • pptx
  • pst
  • ost
  • msg
  • eml
  • vsd
  • vsdx
  • txt
  • csv
  • rtf
  • 123
  • wks
  • wk1
  • pdf
  • dwg
  • onetoc2
  • snt
  • jpeg
  • jpg
  • docb
  • docm
  • dot
  • dotm
  • dotx
  • xlsm
  • xlsb
  • xlw
  • xlt
  • xlm
  • xlc
  • xltx
  • xltm
  • pptm
  • pot
  • pps
  • ppsm
  • ppsx
  • ppam
  • potx
  • potm
  • edb
  • hwp
  • 602
  • sxi
  • sti
  • sldx
  • sldm
  • gpg
  • aes
  • ARC
  • PAQ
  • bz2
  • tbk
  • bak
  • tar
  • tgz
  • gz
  • 7z
  • rar
  • zip
  • backup
  • iso
  • vcd
  • bmp
  • png
  • gif
  • raw
  • cgm
  • tif
  • tiff
  • nef
  • psd
  • ai
  • svg
  • djvu
  • m4u
  • m3u
  • mid
  • wma
  • flv
  • 3g2
  • mkv
  • 3gp
  • mp4
  • mov
  • avi
  • asf
  • mpeg
  • vob
  • mpg
  • wmv
  • fla
  • swf
  • wav
  • mp3
  • sh
  • class
  • jar
  • java
  • rb
  • asp
  • php
  • jsp
  • brd
  • sch
  • dch
  • dip
  • pl
  • vb
  • vbs
  • ps1
  • bat
  • cmd
  • js
  • asm
  • h
  • pas
  • cpp
  • c
  • cs
  • suo
  • sln
  • ldf
  • mdf
  • ibd
  • myi
  • myd
  • frm
  • odb
  • dbf
  • db
  • mdb
  • accdb
  • sql
  • sqlitedb
  • sqlite3
  • asc
  • lay6
  • lay
  • mml
  • sxm
  • otg
  • odg
  • uop
  • std
  • sxd
  • otp
  • odp
  • wb2
  • slk
  • dif
  • stc
  • sxc
  • ots
  • ods
  • 3dm
  • max
  • 3ds
  • uot
  • stw
  • sxw
  • ott
  • odt
  • pem
  • p12
  • csr
  • crt
  • key
  • pfx
  • der
  • kdbx

Ransomware Routine

This Ransomware encrypts files found in the following folders:

  • {Drive Letter}:\

It avoids encrypting files with the following strings in their file path:

  • ProgramData
  • PerfLogs
  • $Recycle.Bin
  • Arquivos de Programas
  • WINDOWS
  • System Volume Information
  • Microsoft
  • Arquivos de programas

It appends the following extension to the file name of the encrypted files:

  • .dilmaV1

It drops the following file(s) as ransom note:

  • %Desktop%\RECUPERE_SEUS_ARQUIVOS.html

(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.)

NOTES:

This ransomware displays this wallpaper image in %Desktop%\background.bmp

When %Desktop%\RECUPERE_SEUS_ARQUIVOS.html is opened, the following is also displayed:

  SOLUTION

Minimum Scan Engine: 9.850
FIRST VSAPI PATTERN FILE: 13.644.07
FIRST VSAPI PATTERN DATE: 07 Sep 2017
VSAPI OPR PATTERN File: 13.645.00
VSAPI OPR PATTERN Date: 08 Sep 2017

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

Search and delete this file

[ 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.
  • %Desktop%\dilminha.dat
  • %Desktop%\RECUPERE_SEUS_ARQUIVOS.html
  • %Desktop%\background.bmp
  • %User Profile%\Documents\03cfef087143723d911484f9568dcf63.exe

Step 4

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

Reset your Desktop properties

[ Learn More ]

Step 6

Restore encrypted files from backup.


Did this description help? Tell us how we did.