Posted November 6, 2015

Fake Abuse Policy CryptoWall 3.0 Campaign: Domain “Suspension Notice”

By Steven Weinstein

The LookingGlass Cyber Threat Intelligence Group (CTIG) observed new and unexpected behavior with a CryptoWall 3.0 malspam campaign. In this exploit, we see CW 3.0 attempting to convince users they received a suspension notice of a specific domain registered on Enom. The email contained a purported link to download a copy of the complaints received about abuse policy violations but actually downloads an Anti-Virus executable instead.

fake-abuse-1

Here are some of the details from the email header:

While this campaign isn’t “targeted” in the sense that only a few certain users received it, it is targeted in the sense that recipients of these convincing emails actually own (or are affiliated with) the domain mentioned in the email – it wasn’t just random data. The CTIG believes that attackers have scraped Whois records to identify domains not registered with privacy protection, along with their contact addresses. As such, the domain and registrant name has been redacted from the above image to protect the victim’s privacy.

As we expected, the link to the copy of complaints (hxxp://kakabrinquedos[.]com/abuse_report.php?REDACTEDDOMAIN.COM) does not actually download complaints – instead it downloads a file via “[DOMAIN]_copy_of_complaints.pdf.scr” which uses the terribly low quality PDF icon (I would have expected a better icon given the convincing nature of the email campaign):

fake-abuse-3

The file is actually a PE (portable executable) file that happens to be CryptoWall 3.0. Looking at the file details on VirusTotal (SHA256: 968b4196632e91164a05c4a40d317f6145ea3c0e20cbde0860d56b3ec91dacb6), we can see many other submissions of this same file with different filenames from different victims:

fake-abuse-4

Upon execution, CryptoWall acts as we expect:

  • It adds itself into a new folder on the C drive, at C:\5eba06f2\5eba06f2.exe,
  • It adds itself into the Application Data folder at C:\Documents and Settings\Administrator\Application Data\5eba06f2.exe
  • It adds itself into the Startup folder at C:\Documents and Settings\Administrator\Start Menu\Programs\Startup\5eba06f2.exe for persistence on reboot
  • It disables shadow copies:
    fake-abuse-5
  • It injects itself into running processes like svchost.exe and explorer.exe
  • It communicates with ip-addr.es to obtain the externally facing IP address of the victim machine
  • Makes HTTP POST requests to predetermined C&C servers trying to obtain the public key needed for encrypting files

By creating a memory dump of the running svchost.exe process, we can identify numerous domains (most are compromised WordPress sites used for C&C) that we observed DNS requests made to. This list mirrors those found by Conrad Longmore: http://blog.dynamoo.com/2015/10/malware-spam-domain-domain-suspension.html

  • 0tv[.]co
  • abettertravelagent[.]com
  • agentclicktocall[.]com
  • airconditioning12601[.]com
  • all-inclusiveresortstravel[.]com
  • allgroupstravel[.]com
  • allreadytravel[.]com
  • ameliastyle[.]com
  • anabolicsteroidsrx[.]com
  • anunciamicasa[.]com
  • aprovechatudia[.]com
  • armangarzon[.]info
  • beachhouseplans[.]com
  • bigboattravel[.]com
  • biznal[.]com
  • bloccailmutuo[.]com
  • boilersandfurnaces[.]com
  • breakerhub[.]com
  • breathtakingsolutions[.]com
  • brindegenie[.]com
  • cameroonmarket[.]com
  • camirate[.]com
  • carltonchambers[.]co[.]uk
  • certifiedphytoceramides[.]com
  • chuckwhitlock[.]com
  • ciiapparelblog[.]com
  • circuitbreakerhub[.]com
  • colebar[.]com
  • cpasolutiononline[.]com
  • cruiseandtravel[.]agency
  • cruises-travelandmore[.]com
  • cruisetravelpros[.]com
  • cruisewithdawn[.]com
  • cruisingatdawn[.]com
  • cywellness[.]com
  • dallascircuitbreaker[.]co
  • dallascircuitbreaker[.]com
  • dallaselectricalsurplus[.]com
  • dallasreconditionedtransformers[.]com
  • dangerousgarciniacambogia[.]com
  • dawat-restaurant[.]com
  • designbrossard[.]com
  • designingartinstitute[.]com
  • designtravelagency[.]com
  • destinycruiseandtravel[.]com
  • enterrealtyny[.]com
  • superfunshoes[.]com
  • tarkshyainc[.]com

Also in the process memory are anticipated POST requests (although only a few POST requests were actually made – example in more detail shortly):

  • abettertravelagent[.]com/uploads/3/5/4/5/3545952/header_images/Cu4MYc.php?s=0o0ycflvmf7bo4n
  • airconditioning12601[.]com/uploads/3/5/7/6/3576233/V5k3Za.php?o=0o0ycflvmf7bo4n
  • beachhouseplans[.]com/wp-admin/js/5d8gMe.php?h=0o0ycflvmf7bo4n
  • bloccailmutuo[.]com/wp-includes/images/crystal/GalSgw.php?k=0o0ycflvmf7bo4n
  • brindegenie[.]com/wp-includes/css/bCL27P.php?l=0o0ycflvmf7bo4n
  • cameroonmarket[.]com/wp-admin/includes/Ynr7Ek.php?g=0o0ycflvmf7bo4n
  • colebar[.]com/wp-admin/css/wEHf2D.php?k=0o0ycflvmf7bo4n
  • cpasolutiononline[.]com/wp-content/themes/twentyfourteen/page-templates/aPY6hv.php?q=of66b0zxpm
  • cpasolutiononline[.]com/wp-content/themes/twentyfourteen/page-templates/aPY6hv.php?s=e26r119u4jn
  • cruisetravelpros[.]com/uploads/3/5/6/9/3569932/xDvag4.php?c=r1hhlu4acr
  • dallascircuitbreakers[.]com/wp-includes/images/crystal/9TgxVJ.php?f=9icq9203627b
  • dallascircuitbreakers[.]com/wp-includes/images/crystal/9TgxVJ.php?o=lw7dje7eitc
  • dangerousgarciniacambogia[.]com/wp-content/plugins/w3-total-cache/wp-content/Dcr03q.php?x=t70u8hiazjmd
  • destinycruiseandtravel[.]com/wp-admin/network/0hQB5C.php?z=0o0ycflvmf7bo4n

This pattern of POST request is indicative of CrytpoWall’s initial check-in or “Hello” to the C&C server. RC4 encrypted data is sent to the C&C with the key passed as the parameter at the end of the URI.

In the above example POST request, the body is RC4 encrypted and can be decrypted to reveal the following:

This shows us the command ID, the campaign ID, a unique MD5 calculated from the victim’s host characteristics, some additional information about the victim machine, and the victim’s external IP address.

At this point, what we’d expect back is an acknowledgement from the attackers, and then our infected machine would make another request, this time for the encryption key. However, this did not happen for us, and things took an interesting turn.

Instead of receiving the standard acknowledgement back, we curiously received an executable.

fake-abuse-7

Initially we had thought that the CryptoWall gang may have changed their TTPs to download additional malware, but when we took a closer look at the returned executable (SHA256: ae1987b17b81d3f285b9ddc4e3e1cbd148b80337b9dcae807679d83bd2c09628), we started to understand what was happening. This legitimate (and signed) executable is the Avira Launcher, which installs Avira’s Anti-Virus program.

fake-abuse-8

Checking this hash on VirusTotal revealed that it had indeed been the content retrieved from numerous other domains we found in our traffic capture and in memory from the dumped svchost.exe process. We can even see that it actually is the legitimate executable delivered directly from the Avira website as well.

fake-abuse-9

Looking back at our traffic capture, we can also see POST requests to these domains that resulted in 302 redirections directly to the Avira download location:

fake-abuse-10

While it initially appeared that that Avira is involved in a takedown effort against these CryptoWall attacks by blocking the malware from encrypting victim machines by distributing their AV software, our friends at Avira have confirmed no involvement in the matter.

The content of an example PHP file from an infected server returning a 200 response code with the body containing the launcher executable is below:

This rules out any suspicion of IP blacklisting or geo-IP specific payloads because the PHP script did not contain anything other than a command to retrieve the Avira launcher, regardless of what machine communicates with the C&C. This leads us to believe that other security researchers (or the hosting provider – HostGator) may be attempting to take down the botnet by sending the AV launcher to victim machines in order to remove the infections.

Although these C&Cs are serving legitimate Avira executables which are harmless, the LookingGlass CTIG still recommends blocking all of the above listed domains on your corporate networks, as well as the IP addresses they resolve to:

192.185.140.214
192.185.226.164
192.232.215.26
162.144.0.215
192.254.234.204
50.87.144.249
103.21.58.122
192.185.5.33
192.185.183.81
192.185.21.162
192.185.90.237
192.185.22.63
208.109.119.156
162.144.12.115
50.87.151.145
192.185.19.115
192.254.231.138
108.167.140.175
192.254.186.85
198.57.242.171
192.185.16.67
192.185.101.210
192.185.152.133
198.57.244.38

LookingGlass ScoutVision had identified all 24 of the above IP addresses as C&C servers as early as October 22, 2015.

Additional Posts

Weekly Phishing Report – November 9, 2015

Phishing Report: Top Targets Week of November 1 - 7, 2015 Author: Robert McDaniel In this week's ...

Why Social Media Oversharing Can Help Protect Your Organization

  By: Greg Ogorek While there are plenty of smart criminals, there are just as many who seem ...