RANSOM_JIGSAW.I

 Analysis by: Homer Pacag

 ALIASES:

Ransom:MSIL/JigsawLocker.A (Microsoft)

 PLATFORM:

Windows

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

  • Threat Type: Trojan

  • Destructiveness: No

  • Encrypted: Yes

  • In the wild: Yes

  OVERVIEW

Infection Channel:

Downloaded from the Internet


This JIGSAW ransomware uses chat support to aid customers in paying the demanded ransom. Previous variants of JIGSAW are known to use scary or porn-related ransom messages.

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 deletes the initially executed copy of itself.

  TECHNICAL DETAILS

File Size:

614,912 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

10 Jun 2016

Payload:

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.

It may be downloaded from the following remote sites:

  • 1.amazonaws.com/{BLOCKED}com/invoice75648.exe

Installation

This Trojan drops the following copies of itself into the affected system and executes them:

  • %Application Data%\Magyrn\Magyrn.exe
  • %AppDataLocal%\Nordsa\Nordsa.exe

(Note: %Application Data% is the Application Data folder, where it usually is C:\Documents and Settings\{user name}\Application Data on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\AppData\Roaming 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.. %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.)

It drops the following non-malicious files:

  • %Application Data%\System32Work\Address.txt - bitcoin address
  • %Application Data%\System32Work\EncryptedFileList.txt - list of encrypted files
  • %Application Data%\System32Work\dr

(Note: %Application Data% is the Application Data folder, where it usually is C:\Documents and Settings\{user name}\Application Data on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\AppData\Roaming 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 creates the following folders:

  • %Application Data%\System32Work
  • %Application Data%\Magyrn
  • %AppDataLocal%\Nordsa

(Note: %Application Data% is the Application Data folder, where it usually is C:\Documents and Settings\{user name}\Application Data on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\AppData\Roaming 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.. %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.)

Autostart Technique

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

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Run
Magyrn.exe = "%Application Data%\Magyrn\Magyrn.exe"

Other System Modifications

This Trojan modifies the following file(s):

  • It encrypts files and appends the extension .payrms

Other Details

This Trojan encrypts files with the following extensions:

  • .jpg
  • .jpeg
  • .raw
  • .gif
  • .png
  • .bmp
  • .3dm
  • .max
  • .accdb
  • .db
  • .dbf
  • .mdb
  • .pdb
  • .sql
  • .dwg
  • .dxf
  • .c
  • .cpp
  • .cs
  • .h
  • .php
  • .asp
  • .rb
  • .java
  • .jar
  • .class
  • .py
  • .js
  • .aaf
  • .aep
  • .aepx
  • .plb
  • .prel
  • .prproj
  • .aet
  • .ppj
  • .psd
  • .indd
  • .indl
  • .indt
  • .indb
  • .inx
  • .idml
  • .pmd
  • .xqx
  • .xqx
  • .ai
  • .eps
  • .ps
  • .svg
  • .swf
  • .fla
  • .as3
  • .as
  • .txt
  • .doc
  • .dot
  • .docx
  • .docm
  • .dotx
  • .dotm
  • .docb
  • .rtf
  • .wpd
  • .wps
  • .msg
  • .pdf
  • .xls
  • .xlt
  • .xlm
  • .xlsx
  • .xlsm
  • .xltx
  • .xltm
  • .xlsb
  • .xla
  • .xlam
  • .xll
  • .xlw
  • .ppt
  • .pot
  • .pps
  • .pptx
  • .pptm
  • .potx
  • .potm
  • .ppam
  • .ppsx
  • .ppsm
  • .sldx
  • .sldm
  • .wav
  • .mp3
  • .aif
  • .iff
  • .m3u
  • .m4u
  • .mid
  • .mpa
  • .wma
  • .ra
  • .avi
  • .mov
  • .mp4
  • .3gp
  • .mpeg
  • .3g2
  • .asf
  • .asx
  • .flv
  • .mpg
  • .wmv
  • .vob
  • .m3u8
  • .dat
  • .csv
  • .efx
  • .sdf
  • .vcf
  • .xml
  • .ses
  • .Qbw
  • .QBB
  • .QBM
  • .QBI
  • .QBR
  • .Cnt
  • .Des
  • .v30
  • .Qbo
  • .Ini
  • .Lgb
  • .Qwc
  • .Qbp
  • .Aif
  • .Qba
  • .Tlg
  • .Qbx
  • .Qby
  • .1pa
  • .Qpd
  • .Txt
  • .Set
  • .Iif
  • .Nd
  • .Rtp
  • .Tlg
  • .Wav
  • .Qsm
  • .Qss
  • .Qst
  • .Fx0
  • .Fx1
  • .Mx0
  • .FPx
  • .Fxr
  • .Fim
  • .ptb
  • .Ai
  • .Pfb
  • .Cgn
  • .Vsd
  • .Cdr
  • .Cmx
  • .Cpt
  • .Csl
  • .Cur
  • .Des
  • .Dsf
  • .Ds4
  • .Drw
  • .Dwg
  • .Eps
  • .Ps
  • .Prn
  • .Gif
  • .Pcd
  • .Pct
  • .Pcx
  • .Plt
  • .Rif
  • .Svg
  • .Swf
  • .Tga
  • .Tiff
  • .Psp
  • .Ttf
  • .Wpd
  • .Wpg
  • .Wi
  • .Raw
  • .Wmf
  • .Txt
  • .Cal
  • .Cpx
  • .Shw
  • .Clk
  • .Cdx
  • .Cdt
  • .Fpx
  • .Fmv
  • .Img
  • .Gem
  • .Xcf
  • .Pic
  • .Mac
  • .Met
  • .PP4
  • .Pp5
  • .Ppf
  • .Xls
  • .Xlsx
  • .Xlsm
  • .Ppt
  • .Nap
  • .Pat
  • .Ps
  • .Prn
  • .Sct
  • .Vsd
  • .wk3
  • .wk4
  • .XPM
  • .zip
  • .rar

It deletes the initially executed copy of itself

NOTES:

This ransomware displays the following window after encryption and every system startup:

It asks the users to pay $149 USD in bitcoins to decrypt the files. A chat page for support is also given by this ransomware:

  SOLUTION

Minimum Scan Engine:

9.800

FIRST VSAPI PATTERN FILE:

12.582.06

FIRST VSAPI PATTERN DATE:

10 Jun 2016

VSAPI OPR PATTERN File:

12.583.00

VSAPI OPR PATTERN Date:

11 Jun 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\Software\Microsoft\Windows\CurrentVersion\Run
    • Magyrn.exe = "%Application Data%\Magyrn\Magyrn.exe"

Step 5

Search and delete these folders

[ Learn More ]
Please make sure you check the Search Hidden Files and Folders checkbox in the More advanced options option to include all hidden folders in the search result.
%Application Data%\System32Work
%Application Data%\Magyrn
%AppDataLocal%\Nordsa

Step 6

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