RANSOM_CRYPWALL.YUYAHL

 Analysis by: Janus Agcaoili

 ALIASES:

Trojan.Cryptodefense (Symantec), Ransom:Win32/Crowti.A (Microsoft), Trojan-Ransom.Win32.Cryptodef.acij (Kaspersky), Ransom.CryptoWall (Malwarebytes)

 PLATFORM:

Windows

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

  • Threat Type: Trojan

  • Destructiveness: No

  • Encrypted:

  • 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 deletes itself after execution. It is capable of encrypting files in the affected system.

  TECHNICAL DETAILS

File Size:

210,944 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

07 Feb 2016

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

  • %Desktop%\HELP_YOUR_FILES.TXT
  • %Desktop%\HELP_YOUR_FILES.HTML
  • %Desktop%\HELP_YOUR_FILES.PNG

(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 copies of itself into the affected system:

  • %Application Data%\{random characters}\{random characters}.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.)

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
{random characters} = "%Application Data%\{random characters}\{random characters}.exe"

Other System Modifications

This Trojan modifies the following registry entries:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows NT\CurrentVersion\SystemRestore
DisableSR = "1"

(Note: The default value data of the said registry entry is "0".)

Dropping Routine

This Trojan drops the following files:

  • HELP_YOUR_FILES.PNG - drops to all folders where files are encrypted
  • %User Startup%\HELP_YOUR_FILES.TXT
  • %User Startup%\HELP_YOUR_FILES.HTML
  • %User Startup%\HELP_YOUR_FILES.PNG

(Note: %User Startup% is the current user's Startup folder, which is usually C:\Documents and Settings\{user}\Start Menu\Programs\Startup on Windows 2000 and XP, and C:\Documents and Settings\{User name}\Start Menu\Programs\Startup on Windows Vista, 7, and 8.)

Other Details

This Trojan connects to the following possibly malicious URL:

  • {BLOCKED}ta.fr/nvxNme.php?{random letter}={random values}
  • {BLOCKED}arrakech.com/E3NdTo.php?{random letter}={random values}
  • {BLOCKED}sun.eu/QwED5H.php?{random letter}={random values}
  • {BLOCKED}mcneillphotography.com/u4RXnf.php?{random letter}={random values}
  • {BLOCKED}onsulting.co.uk/rSjYy6.php?{random letter}={random values}
  • {BLOCKED}radydrewniane.pl/WBK8VG.php?{random letter}={random values}
  • {BLOCKED}ls.com/XG3vxT.php?{random letter}={random values}
  • {BLOCKED}edirc.org/WYePm4.php?{random letter}={random values}
  • {BLOCKED}rreviews.info/0jLwW3.php?{random letter}={random values}
  • {BLOCKED}biz.ua/QBSAUM.php?{random letter}={random values}
  • {BLOCKED}carwash.nl/rQfvlH.php?{random letter}={random values}
  • {BLOCKED}.com/6pVAQf.php?{random letter}={random values}
  • {BLOCKED}cakehouse.co.uk/qyUm1G.php?{random letter}={random values}
  • {BLOCKED}.me/TKStDb.php?{random letter}={random values}
  • {BLOCKED}vallon.fr/OcVEU8.php?{random letter}={random values}
  • {BLOCKED}gaz.pl/5dqR3n.php?{random letter}={random values}
  • {BLOCKED}oint.ua/07LHgW.php?{random letter}={random values}
  • {BLOCKED}fe.uns.ac.id/XPgmur.php?{random letter}={random values}
  • {BLOCKED}tk/risQ1j.php?{random letter}={random values}
  • {BLOCKED}ightcr.com/1SDYkP.php?{random letter}={random values}
  • {BLOCKED}/Yfu9jM.php?{random letter}={random values}
  • {BLOCKED}lies.net/8oLQSB.php?{random letter}={random values}
  • {BLOCKED}experto.pe/nsUG4H.php?{random letter}={random values}
  • {BLOCKED}obarco.com.ar/5TFv7E.php?{random letter}={random values}
  • {BLOCKED}p.com/Ks1rCc.php?{random letter}={random values}
  • {BLOCKED}business.com/VwlgrL.php?{random letter}={random values}
  • {BLOCKED}.com.ua/3bARt0.php?{random letter}={random values}
  • {BLOCKED}hal.co.uk/IyRPQH.php?{random letter}={random values}
  • {BLOCKED}rjuricek.sk/4FG6Ol.php?{random letter}={random values}
  • {BLOCKED}biz/_1OcaL.php?{random letter}={random values}
  • {BLOCKED}ices.com.ua/aRsGYD.php?{random letter}={random values}
  • {BLOCKED}rt.de/kxrZuq.php?{random letter}={random values}
  • {BLOCKED}houseofhealth.nl/Gnxo5m.php?{random letter}={random values}
  • {BLOCKED}ommunicatie.nl/kXeBNa.php?{random letter}={random values}
  • {BLOCKED}ram.fr/NG1eHC.php?{random letter}={random values}
  • {BLOCKED}nthomas.in/NbHmI5.php?{random letter}={random values}
  • {BLOCKED}ankumardas.in/rQaCzI.php?{random letter}={random values}
  • {BLOCKED}mind.dk/rq4sBg.php?{random letter}={random values}
  • {BLOCKED}com/b5RJgt.php?{random letter}={random values}
  • {BLOCKED}girl.com.cn/IYgk8h.php?{random letter}={random values}
  • {BLOCKED}t.ie/N6HeRI.php?{random letter}={random values}
  • {BLOCKED}ub.com.ua/CHcD01.php?{random letter}={random values}
  • {BLOCKED}up-pl.com/IgqGVf.php?{random letter}={random values}
  • {BLOCKED}ina-ltd.com.ua/FZCcID.php?{random letter}={random values}
  • {BLOCKED}dsa.com/teT25J.php?{random letter}={random values}

It renames encrypted files using the following names:

  • {random characters}.{random characters}

It deletes itself after execution.

It is capable of encrypting files in the affected system.

  SOLUTION

Minimum Scan Engine:

9.800

FIRST VSAPI PATTERN FILE:

12.298.03

FIRST VSAPI PATTERN DATE:

26 Jan 2016

VSAPI OPR PATTERN File:

12.299.00

VSAPI OPR PATTERN Date:

27 Jan 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
    • {random characters} = "%Application Data%\{random characters}\{random characters}.exe"

Step 5

Restore this modified 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_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore
    • From: DisableSR = "1"
      To: DisableSR = "0"

Step 6

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.
  • HELP_YOUR_FILES.TXT
  • HELP_YOUR_FILES.PNG
  • HELP_YOUR_FILES.HTML

Step 7

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