Neutrino EK and CryptXXX
Last Updated: 2016-06-08 00:12:20 UTC
by Brad Duncan (Version: 1)
By Monday 2016-06-06, the pseudo-Darkleech campaign began using Neutrino exploit kit (EK) to send CryptXXX ransomware . Until then, I'd only seen Angler EK distribute CryptXXX. However, this is not the first time we've seen campaigns associated with ransomware switch between Angler EK and Neutrino EK [2, 3, 4, 5]. It was documented as early as August 2015 . This can be confusing, especially if you're expecting Angler EK. Campaigns can (and occasionally do) switch EKs.
For an explanation of EK fundamentals, see this blog post.
On Tuesday 2016-06-07, I found a compromised website with injected script from two different campaigns: pseudo-Darkleech and EITest. On that day, both campaigns were distributing CryptXXX ransomware. In today's diary, we examine two examples of Neutrino EK triggered by the same compromised website. One example starts with pseudo-Darkleech script, and the other starts with EITest script. Pcaps for today's ISC diary can be found here.
Shown above: Flow chart for one website compromised by two campaigns.
Of note, I've never seen both infections at the same time. I've only generated EK traffic from one campaign or the other. Injected script from the pseudo-Darkleech campaign tends to prevent injected script by other campaigns from running.
Development and spread of CryptXXX
Below is a timeline with documenting the development of CryptXXX and its spread from pseudo-Darkleech to other campaigns. It's not a complete list of everything about CryptXXX, but it provides a general outline.
- 2016-04-16, Proofpoint reports the first sightings of CryptXXX ransomware 
- 2016-04-23, ISC diary describes pseudo-Darkleech causing Angler EK/Bedep/CryptXXX infections 
- 2016-04-28, PaloAlto Networks reports "Afraidgate" campaign switched from sending Locky to sending CryptXXX 
- 2016-05-09, Proofpoint issues another report on CryptXXX, now at version 2 
- 2016-05-24, BleepingComputer reports CryptXXX updated to version 3 
- 2016-06-01, New decryption instructions indicate version 3 of CryptXXX may actually be named "UltraCrypter" [11, 12]
- 2016-06-03, Proofpoint posts update about CryptXXX, now at version 3.1 
- 2016-06-05, EITest campaign noted sending CryptXXX through Angler EK 
Proofpoint's most recent entry lists the version history of CryptXXX from 1.001 on April 16th to version 3.100 on May 26th. It also describes some new tricks CryptXXX has up its sleeve.
Infection traffic from Tuesday 2016-06-07
On Tuesday 2016-06-07, I found a website with injected script for both the pseudo-Darkleech campaign and the EITest campaign.
Shown above: Script from the EITest campaign near the end of the page.
Shown above: Start of injected script from the pseudo-Darkleech campaign after the page headers.
I was able to generate traffic for each campaign, but I had to use two separate visits, because the pseudo-Darkleech script prevented the EITest script from generating any EK traffic.
Shown above: Traffic from pseudo-Darkleech Neutrino EK filtered in Wireshark.
Shown above: Traffic from EITest Neutrino EK filtered in Wireshark.
The Wireshark filter used in the above two images was: http.request or (!(tcp.port eq 80) and tcp.flags eq 0x0002)
Indicators of compromise (IOCs) from the traffic follow:
- 126.96.36.199 port 80 - ktljl.g3alead.top - Neutrino EK (pseudo-Darkleech campaign)
- 188.8.131.52 port 80 - nulesz.tk - EITest flash redirect
- 184.108.40.206 port 80 - vnogjnbaf.c0ecompare.top - Neutrino EK (EITest campaign)
- 220.127.116.11 port 80 - zijkhhcsrd.c0ecompare.top - Neutrino EK (EITest campaign)
- 18.104.22.168 port 443 - CryptXXX callback traffic (custom encoding)
In both cases, Neutrino EK delivered CryptXXX ransomware as a DLL file. As usual with CryptXXX infections, we saw C:\Windows\System32\rundll32.exe copied to the same folder as the CryptXXX DLL file. In this case, it was re-named explorer.exe.
Shown above: The CryptXXX DLL file and rundll32.exe copied and renamed as explorer.exe.
The two CryptXXX DLL files from these infections are:
- 2016-06-07-EITest-Neutrino-EK-payload-CryptXXX.dll (419 kB) - VirusTotal link
- 2016-06-07-pseudoDarkleech-Neutrino-EK-payload-CryptXXX.dll (440 kB) - VirusTotal link
CryptXXX will have different domains in the decryption instructions depending on the campaign it came from. In the two images below, you'll find different domains used in instructions from the EITest CryptXXX sample and instructions from the pseudo-Darkleech CryptXXX sample.
Shown above: Part of the decrypt instructions from the EITest CryptXXX sample.
Shown above: Part of the decrypt instructions from the pseudo-Darkleech CryptXXX sample.
Although CryptXXX samples from a specific campaign are changed or updated as the day progresses, they will always be different from CryptXXX samples from another campaign during the same timeframe.
Checking the traffic on Security Onion using Suricata and the ETPro ruleset, I found the usual alerts for Neutrino EK traffic and CryptXXX callback after the initial infection.
Shown above: Using tcpreplay on one of the pcaps in Security Onion.
Last month, Neutrino EK was documented using Flash exploits based on CVE-2016-4117 effective against Adobe Flash Player up to version 22.214.171.124 . Post-infection traffic for CryptXXX is similar to what we've seen before. Overall, we found no real surprises from these infections. The only interesting fact is the switch (for now) from Angler EK to Neutrino EK to deliver CryptXXX.
Shown above: Neutrino EK landing page (from the EITest pcap).
Shown above: Neutrino EK sends Flash exploit (from the EITest pcap).
Shown above: Neutrino EK sends the CryptXXX malware payload (from the EITest pcap).
Shown above: CryptXXX callback traffic from one of the infections.
As stated earlier, EmergingThreats has a rule for CryptXXX callback traffic. Talos also has you covered for CryptXXX in the Snort subscriber ruleset.
Shown above: An example CryptXXX alerts on this traffic from the Snort subscriber ruleset.
Traffic patterns for Neutrino EK have remained relatively consistent since it reappeared in November 2014 after a 6-month absence . The only big change? Neutrino EK now sticks to port 80. Before October or November of 2015, Neutrino EK almost always used a non-standard port for its HTTP traffic. Since then, it's consistently used TCP port 80 (like every other EK I currently see).
How can people protect themselves against Neutrino EK? As always, properly administered Windows hosts that follow best security practices (up-to-date applications, latest OS patches, software restriction policies, etc.) should be protected against this EK threat.
Unfortunately, a large percentage of Windows hosts don't follow best practices, and criminal groups are quick to take advantage.
User awareness is an important part of any defense. You can't protect yourself from threats you don't understand. With that in mind, I'll mention again a post on EK fundamentals located here. It hopefully clears up some misconceptions I've heard over the years about EK activity.
Pcaps and malware for this ISC diary can be found here.
Shown above: Desktop for one of the Windows hosts when rebooted after a CryptXXX infection.
brad [at] malware-traffic-analysis.net