Thursday, 30 March 2017

New Shade cryptolocker confuses analysis tools with 'MS-DOS EXE' file type

A new build of Shade (Troldesh) ransomware comes with a broken PE header making PE analysis tools recognize it as a nonexecutable 'MS-DOS EXE' file. As a result, the detection rate on VirusTotal is 1/59.





Similar to the previous version, it is delivered as a fake letter from the State Fiscal Service of Ukraine.

The PE header is not recognized due to the following alteration in the MS-DOS stub:
New version:


Previous version:

File identification on VirusTotal:

The payload is the same. The Java script from the zip archive downloads and executes the cryptolocker through cmd. The process name is 'rad<RANDOM>.tmp'.


The cryptolocker adds its reference to the autorun key in the Windows System Registry to start on system boot up:

[SOFTWARE\Microsoft\Windows\CurrentVersion\Run\]
"Client Server Runtime Subsystem"="C:\Documents and Settings\All Users\Application Data\Windows\csrss.exe"
The encrypted files get '.no_more_ransom' extension.

Network IoCs

by-isabel.nl
whatismyipaddress.com

Yara rule

rule ShadeCryptolocker_nomoreransom
{
    meta:
        author = "NioGuard Security Lab"
        info = "Detecting the Shade (Troldesh) cryptolocker process"
        reference = "http://nioguard.com/"

    strings:
        $a1 = "Client Server Runtime Subsystem"
        $a2 = "a4ad4ip2xzclh6fd.onion"
        $a3 = "reg.php"
        $a4 = "prog.php"
        $a5 = "err.php"
        $a6 = "cmd.php"
        $a7 = "sys.php"
        $a8 = "shd.php"
        $a9 = ".no_more_ransom"
   
    condition:
      all of ($a*)

}

1 comment:

  1. PHP is a server side scripting language and most of the developer choice is PHP nowadays, since it is highly secure. Your blog on PHP secureness is unique from other. I hope your content was read by most of the people in the World Wide Web.
    Regards:
    PHP Institutes in Chennai
    PHP Training Center in Chennai

    ReplyDelete