Exploit kit requires link to be clicked before redirection

Posted by   Virus Bulletin on   Jun 23, 2014

Automatic analysis of malicious payloads becomes a little bit harder again.

A security researcher at ESET has discovered how a malicious site serving the Angler exploit kit prevents automatic analysis by making a user click a link before being redirected to the exploit kit.

Having spent many hours during the past two years building a framework for Virus Bulletin's soon-to-be-launched web filter tests, I know that being served malicious content from the web isn't as easy as it may seem, especially if you want it to happen automatically.

Although people commonly speak of 'malicious URLs', in fact the response returned (and in many cases whether this response is malicious) depends on the IP address the request was made from, the time the request was made, the browser used, and the headers sent.

And, as I pointed out in my VB2012 presentation, in some cases a malicious response is only given when a user interacts in a particular way. A few years ago, for example, we learned that the Nuclear exploit kit required a user to move their mouse before being redirected to the malicious payload.

As Sébastien Duquette found, a website serving the Angler exploit kit requires the user to click a link before being redirected to the actual exploit kit. To entice them into clicking the link, they are presented with an alert about a script that causes the browser to run slowly. Regardless of whether the user clicks 'Yes' or 'Cancel', they are redirected to the malicious payload.


  Alerts about scripts slowing down the computer are fairly common, and many users will not notice that something is not quite right. Copyright: ESET.

The purpose of this seems clear: preventing automatic analysis of the malicious payload. However, in this particular case, Sébastien found the keys to the castle: he realised that the final payload was available XOR-encrypted with a fixed keystream, allowing him to find the payload URL without having to click the link.

The fight between exploit developers and security firms is one of the many cat-and-mouse games the security community is involved in. In this case, the mice are going to great lengths to prevent the cats from noticing their presence.

The video recording of my VB2012 presentation has now been uploaded to YouTube.

Update this blog was updated on 23 June to reflect the fact that the redirect is not part of Angler itself. Thanks to Sébastien Duquette for pointing this out.



Posted on 23 June 2014 by Martijn Grooten
twitter.png
fb.png
linkedin.png
googleplus.png
reddit.png

 

Latest posts:

New paper: Does malware based on Spectre exist?

It is likely that, by now, everyone in computer science has at least heard of the Spectre attack, and many excellent explanations of the attack already exist. But what is the likelihood of finding Spectre being exploited on Android smartphones?

More VB2018 partners announced

We are excited to announce several more companies that have partnered with VB2018.

Malware authors' continued use of stolen certificates isn't all bad news

A new malware campaign that uses two stolen code-signing certificates shows that such certificates continue to be popular among malware authors. But there is a positive side to malware authors' use of stolen certificates.

Save the dates: VB2019 to take place 2-4 October 2019

Though the location will remain under wraps for a few more months, we are pleased to announce the dates for VB2019, the 29th Virus Bulletin International Conference.

Necurs update reminds us that the botnet cannot be ignored

The operators of the Necurs botnet, best known for being one of the most prolific spam botnets of the past few years, have pushed out updates to its client, which provide some important lessons about why malware infections matter.

We have placed cookies on your device in order to improve the functionality of this site, as outlined in our cookies policy. However, you may delete and block all cookies from this site and your use of the site will be unaffected. By continuing to browse this site, you are agreeing to Virus Bulletin's use of data as outlined in our privacy policy.