Sophos

4 October 2007 09:58 GMT

Affiliate scheme (ab)|()use?

The shift towards financially motivated malware is old news. All readers will know the bulk of current threats are primarily focussed on making the bad guys money. The mechanism to do this can vary hugely, but the two main methods are compromising the victim machine (so it can be ‘leased’ out for various nefarious purposes) and stealing data (authentication credentials, product keys and the like) from the machine. Several articles and papers have explored the mechanisms malware uses to make money. A presentation at the recent Virus Bulletin conference in Vienna provided good insight into some of the recent techniques.

One of the money making techniques that is less described, is that of web marketing, or, to put it another way, the use (abuse?) of affiliate schemes. You may be aware of ‘clicker’ Trojans. These are items of malware that open links to various web sites in order to increase the traffic at those sites, thereby increasing advertising revenue. More recently, we are seeing more subtle techniques used in web attacks to achieve the exact same goal (in addition to installing some malware of course!). The business of injecting malicious scripts and iframes into web pages to load further malicious content has been well described recently (1,2). The same techniques are becoming increasingly used to abuse pay per click affiliate schemes.

The flowchart below provides an illustration of a recent web attack that demonstrates the parallel use of malware and affiliate scheme abuse in order to make money. As described before, each node is a web page, and green arrows represent iframe links between pages.

[Click to enlarge]

You can view a larger version of the image (complete with partial URLs and host countries) by clicking on the small image. Ensure you click again to expand the image in your browser window.

The main characteristics of this attack are described below:

So, how does this look from the victim’s point of view? Well, since the pages are loaded via iframes with tiny (or zero) width and height parameters, the victim sees nothing. Of course, anyone looking at the HTTP requests sent from the victim machine would certainly see something - perhaps best described as a ‘HTTP explosion’!

Fraser Howard, SophosLabs UK