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


Latest posts:

New paper: Powering the distribution of Tesla stealer with PowerShell and VBA macros

Since their return four years ago, Office macros have been one of the most common ways to spread malware. Today, we publish a research paper which looks in detail at a campaign in which VBA macros are used to execute PowerShell code, which in turn…

VB2017 paper: Android reverse engineering tools: not the usual suspects

Within a few years, Android malware has grown from a relatively small threat to a huge problem involving more than three million new malware samples a year. Axelle Apvrille, one of the world's leading Android malware researchers, will deliver a…

Patch early, patch often, but don't blindly trust every 'patch'

Compromised websites are being used to serve fake Flash Player uploads that come with a malicious payload.

Virus Bulletin at RSA

Next week, VB Editor Martijn Grooten will be at the RSA Conference in San Francisco.

Broad-ranging and international VB2018 programme announced

VB is excited to reveal the details of an interesting and diverse programme for VB2018, the 28th Virus Bulletin International Conference, which takes place 3-5 October in Montreal, Canada.