⚠️ That's no font! HoeflerText attack switches from ransomware to RAT ⚠️

in #technology7 years ago

A recent malware campaign targeting Google Chrome & Firefox has just switched gears; instead of afflicting victims' systems with Locky ramsomware it now installs a RAT (Remote Access Tool, "NetSupport Manager" specifically), giving attackers much greater influence over the victim who may remain unaware of the situation indefinitely.

TL;DR:
⚠️ DO NOT INSTALL Font_Chrome.exe
It is malware executable code that installs NetSupport Manager Remote Access Tool.

⚠️ DO NOT INSTALL Win.JSFontlib09.js
It is a JavaScript file that downloads and installs Locky ransomware

⚠️ The Google Chrome variant has only changed its final payload, it has not replaced the Firefox variant; Both HoeflerText variants, Google Chrome RAT installer and Firefox ransomware, are currently active, the Firefox variant may yet change payload and previous methods could be reactivated at any time.

ℹ️ JavaScript (.JS) and executable code (.EXE) are not fonts. Read on for more info.




Attack Method



The infection chain employs the use of malicious scripts and a payload added to web pages, either fake or legitimate but compromised, sometimes in conjunction with spam email campaigns (see below) featuring spoofed identities such as Dropbox to drive unsuspecting potential victims towards the boobytrap. But these email lures are not required if the user stumbles upon a legitimate page that has been compromised due to poor or outdated server security.

Scripts inserted on bogus or compromised pages trigger when loaded into browsers meeting specific criteria (see below), replacing page data between HTML tags with the non-existent ISO character “&#0”, causing the browser to use the substitute character � and creating the semblance of an error requiring user intervention.

The illusion is further supported by the display of Base64 encoded images in a CSS overlay styled to resemble a modal browser notification declaring 'The "HoeflerText" font wasn't found.' complete with Google Chrome or Firefox logo and directs the user to "update" the missing component.


Source: Palo Alto Networks


Source: Palo Alto Networks

Seems Legit



Finally, the payload installation stage begins when the downloaded file, be it Chrome_Font.exe or Win.JSFontlib09.js, is run by the unsuspecting victim. After that it's goodnight and good luck a case for detection and removal processes.


“In recent days, I’ve noticed multiple waves of malspam every weekday. It gets a bit boring after a while, but as 2017-08-31 came to a close, I noticed a different technique from this malspam,”

“If you viewed the pages in Chrome or Firefox, they showed a fake notification stating you don’t have the HoeflerText font. These fake notifications had an “update” button that returned a malicious JavaScript (.js) file.”

- Brad Duncan, SANS Internet Storm Center & Palo Alto Networks' Unit 42




An animated overview from Proof Point of the two step process for Google Chrome RAT installation:

ANIM DEMO
Source: Proof Point

Screenshot of "Lukitus" Locky variant crypto-locked system:
Locky Variant



Users of IE/Edge browsers that meet selection criteria will be presented a fake anti-virus alert with a tech support scam phone number.

Lure emails that were sent out were done so from botnets with various IP addresses around the world using the following message details:

  • Sender (spoofed): "Dropbox" [email protected]
  • Subject: Please verify your email address


Source: SANS ISC

But, as previously noted, the email lure is not required to encounter a compromised web page and trigger the initial delivery mechanism.


Source: ISC SANS




Evolution



It's important to be aware of the history of this developing attack method as the criteria, paths, and payloads could be changed, deactivated, or reactivated at any time.

The HoeflerText attack uses the EITest infection method, a combination first identified in December 2016. EITest itself is a complex framework with evidence of its use dating back to 2014 but potentially using elements dating back as far as 2011.

EITest malware campaign began using HoeflerText popups to distribute the Win.JSFontlib09.js JavaScript file to Firefox users and Chrome_Font.exe to Google Chrome users as a means of delivering the Locky variant cryptolocker ransomware.

However in late August 2017 the Chrome_Font.exe had its payload switched from Locky crypolocker ransomware to the NetSupport Manager RAT, specifically targeting Chrome users.

The current criteria used to trigger scripts on a compromised web page:

  • target country
  • specific referrer
  • specific User-Agent, currently: Windows Google Chrome for RAT variant, Windows Firefox for Locky variant, Windows IE/Edge for tech support scam variant

Other paths have previously been added to the EITest infection chain, in December 2014 ElTest used redirected victims to an Android “Police” Browser locker. More paths and payloads could in future be added to this complex ecosystem, of which a partial diagram produced by Proof Point is shown below:




GENERAL ADVISORY



Be vigilant! Don't follow lures to install files from unknown internet sources. Scrutinise apparent email senders and web link targets, especially when confronted by the unexpected, unfamiliar, or unusual. Hover your mouse cursor over a link without clicking it to see the link target, use a search engine to investigate, or if in doubt simply exercise caution and raise your concerns with appropriate parties, ie: contact the apparent email sender via known and trusted means, raise your concerns with your IT staff if you have them, communicate your find with other staff.

And remember: JavaScript (.JS) and executable code (.EXE) are not fonts, nor are they images, nor joke of the day but you may be if you blindly execute them.

You will find good advice about malicious scripts on compromised websites here: https://www.welivesecurity.com/2016/06/28/malicious-scripts-compromised-websites-protect/


Be safe, and as always STEEM ON!



Sources: https://researchcenter.paloaltonetworks.com, https://isc.sans.edu, https://www.proofpoint.com.


Questions and comments are welcomed in the replies. If you'd like to see more articles like this then ^vote, resteem, and comment below. Considerable effort has gone into researching, testing, and formatting for this article.

If you liked it, then you shoulda put a ^vote on it!


Sort:  

Thanks for the heads up! It's always good to know the threats that are out there so I can protect myself and help protect others.

"...protect myself and help protect others..."

Absolutely, passing the torch is the best response. We live in an arms race, but there's strength in unity. There are plenty of links for further reading in the article, in particular - use the sources I listed at the end, they're highly reputable research and analysis centers.

Did you find the Easter Egg in the article? It's a YT video link...

I'll definitely take a look at some of the links.

"Did you find the Easter Egg....?

Admittedly, I didn't see the YouTube video the first time through, but I did find it later. Ackbar made me think it was going to be the video of "it's a trap!" but I was pleasantly surprised by the actual video. Haha

Congratulations @neuromancer! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

You published a post every day of the week

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

By upvoting this notification, you can help all Steemit users. Learn how here!

Great post, always good to get a heads up on new tactics to protect against, appreciated👏

Thanks for your support, I'm glad the article was useful to you, please help spread awareness of the HoeflerText threat to friends and family and ask them to do the same. Also take a look at the resources linked at the end, here's some more advice, this time from Sophos:

https://www.sophos.com/en-us/security-news-trends/security-trends/malicious-javascript.aspx

Congratulations! This post has been upvoted from the communal account, @minnowsupport, by neuromancer from the Minnow Support Project. It's a witness project run by aggroed, ausbitbank, teamsteem, theprophet0, someguy123, neoxian, followbtcnews/crimsonclad, and netuoso. The goal is to help Steemit grow by supporting Minnows and creating a social network. Please find us in the Peace, Abundance, and Liberty Network (PALnet) Discord Channel. It's a completely public and open space to all members of the Steemit community who voluntarily choose to be there.

This post has received a 0.18 % upvote from @drotto thanks to: @banjo.

Congratulations @neuromancer!
Your post was mentioned in the hit parade in the following category:

  • Pending payout - Ranked 5 with $ 87,39

One word: Linux.