Perimeter
3/10/2011
12:53 PM
Commentary
Commentary
Commentary
50%
50%

The Truth About Malvertising

We tend to think of malvertising as short lived, one-oft attacks that somehow managed to momentarily breach the ad network's defenses. The reality is, malvertising is more norm than anomaly and can easily persist on major ad networks for months, even years, at a time.

Malvertising is a consistently pervasive problem, yet it's often treated as an isolated event. A good example of this would be the malicious ads that were served through londonstockexchange.com on the weekend of Feb. 27th. The malicious ads were quickly traced to the unanimis ad provider network and promptly removed from the site. But while that resolved the immediate problem for visitors of londonstockexchange.com for that particular day, the broader problem of this malvertisement run continued. In fact, it has been running without stop since at least September 2010.

This ongoing malvertisement run is not confined to any specific ad network. While unanimis was briefly used around the 27th, the majority of the malicious ads have been delivered via DoubleClick (Google), YieldManager (Yahoo), and rad.msn.com (Microsoft).

In addition to the traditional ad delivery via websites, the ads are also being pushed through to webmail accounts. Cisco ScanSafe data reveals that just more than 3% of the ads have been delivered via Windows Live (a.k.a. Hotmail) and Yahoo webmail.

In addition to londonstockexchange.com, other popular sites that have delivered the malvertising include:

Hoovers.com
USNews.com
Flightstats.com
Allbusiness.com
Tucows.com
TheOnion.com
SpeedTest.net
...and hundreds of others.

The majority of the malware hosts are .co.cc domains, followed by .cz.cc, most commonly using four alphanumeric characters for the domain name. For example:

2bdd.co.cc
asn0.co.cc
b5ki.co.cc
bta1.co.cc
c1vb.co.cc
a2g4.cz.cc
b6rs.co.cc
abg1.cz.cc

IP addresses include 91.213.217.197 and 91.213.217.198, hosted by the same offshore provider that hosted the adshufffle attacks in late 2010:

org-name: Offshore Hosting Ltd.
descr: WorkMedia INC.
descr: Offshore Hosting Ltd.

person: George Shetinsky
address: 10, Calea Iesilor str.

For exploit delivery, attackers are using the Black Hole exploit kit, an interesting coincidence given that Black Hole was announced in August 2010 and the malvertisement run began just a few weeks later. One has to wonder whether the author(s) of Black Hole have masterminded the malvertising run to collect stats and showcase (market) the exploit kit.

One of the hallmarks of a successful malvertising run is its ability to deliver the malicious ads selectively so as to avoid notice. One way to do this is to use cloaking, only serving the ads during specific times in specific geographical regions and only if the visitor meets some predetermined criteria. Looking at the User Agents, we find the following breakdown among those encountering the malicious ads:

USERAGENT - %
Java (JVM/JRE) - 56%
Firefox - 4%
Safari - 3%
MSIE 7.0 - 17%
MSIE 8.0 - 13%
MSIE 6.0 - 6%
Other - 1%

This particular ongoing malvertising run makes up less than 1% of Web malware for the period (September 2010 through current day). This low and steady pace is likely a chief reason the attacks have continued to run for such an extended period of time. It also underscores the ability of attackers to not only deliver malvertising via all of the major ad networks, but to do so for an extended period of time with few repercussions.

Of course, part of the reason for the successful run can be tracked to the inability of some traditional scanners to detect the malicious ads. Fifteen percent of the malvertisements blocked by Cisco ScanSafe were not detectable via traditional signature scanners at time of encounter. (These were instead blocked by ScanSafe Outbreak Intelligence.)

Sixty-three percent of the exploits delivered were Java-based; only 5% were malicious PDFs exploiting vulnerabilities in Adobe Reader and A -- - if not most -- exploit kits have been favoring Java exploits since the first quarter of 2010. Of course, other exploits are also being rendered. A sampling of observed exploits include:

CVE-2010-0840
CVE-2010-0886
CVE-2010-1885
CVE-2009-0927
CVE-2008-2992
CVE-2007-5659
CVE-2009-4324
CVE-2010-0188

Successful delivery and exploit leads to the silent installation of scareware (a.k.a. rogue AV) and a downloader trojan. The downloader attempts to install additional malware from a secondary set of domains that are constantly swapped out. Recent examples include berdfina.com, acholer.com, and carsero.com, all hosted at 212.134.133.* IP addresses. The secondary download domains also use Black Hole.

The key takeaway isn't the successful run via these Black Hole rendered malvertisements, but rather that this is just one of many long-term, successful malvertising runs slipping through major ad networks on a continued, prolonged basis. It's like cockroaches. For every site that makes headlines for a malicious ad run, there are hundreds -- even thousands -- that are operating just below most people's radar.

Mary Landesman is an antivirus professional and senior security researcher for ScanSafe, now part of Cisco. In 2009 she was awarded a Microsoft MVP for her work in consumer security.

Comment  | 
Print  | 
More Insights
Register for Dark Reading Newsletters
White Papers
Cartoon
Current Issue
Dark Reading December Tech Digest
Experts weigh in on the pros and cons of end-user security training.
Flash Poll
Title Partner’s Role in Perimeter Security
Title Partner’s Role in Perimeter Security
Considering how prevalent third-party attacks are, we need to ask hard questions about how partners and suppliers are safeguarding systems and data.
Video
Slideshows
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2014-6477
Published: 2014-11-23
Unspecified vulnerability in the JPublisher component in Oracle Database Server 11.1.0.7, 11.2.0.3, 11.2.0.4, 12.1.0.1, and 12.1.0.2 allows remote authenticated users to affect confidentiality via unknown vectors, a different vulnerability than CVE-2014-4290, CVE-2014-4291, CVE-2014-4292, CVE-2014-4...

CVE-2014-4807
Published: 2014-11-22
Sterling Order Management in IBM Sterling Selling and Fulfillment Suite 9.3.0 before FP8 allows remote authenticated users to cause a denial of service (CPU consumption) via a '\0' character.

CVE-2014-6183
Published: 2014-11-22
IBM Security Network Protection 5.1 before 5.1.0.0 FP13, 5.1.1 before 5.1.1.0 FP8, 5.1.2 before 5.1.2.0 FP9, 5.1.2.1 before FP5, 5.2 before 5.2.0.0 FP5, and 5.3 before 5.3.0.0 FP1 on XGS devices allows remote authenticated users to execute arbitrary commands via unspecified vectors.

CVE-2014-8626
Published: 2014-11-22
Stack-based buffer overflow in the date_from_ISO8601 function in ext/xmlrpc/libxmlrpc/xmlrpc.c in PHP before 5.2.7 allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code by including a timezone field in a date, leading to improper XML-RPC encoding...

CVE-2014-8710
Published: 2014-11-22
The decompress_sigcomp_message function in epan/sigcomp-udvm.c in the SigComp UDVM dissector in Wireshark 1.10.x before 1.10.11 allows remote attackers to cause a denial of service (buffer over-read and application crash) via a crafted packet.

Best of the Web
Dark Reading Radio
Archived Dark Reading Radio
Now that the holiday season is about to begin both online and in stores, will this be yet another season of nonstop gifting to cybercriminals?