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 Tech Digest, Dec. 19, 2014
Software-defined networking can be a net plus for security. The key: Work with the network team to implement gradually, test as you go, and take the opportunity to overhaul your security strategy.
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-2013-4440
Published: 2014-12-19
Password Generator (aka Pwgen) before 2.07 generates weak non-tty passwords, which makes it easier for context-dependent attackers to guess the password via a brute-force attack.

CVE-2013-4442
Published: 2014-12-19
Password Generator (aka Pwgen) before 2.07 uses weak pseudo generated numbers when /dev/urandom is unavailable, which makes it easier for context-dependent attackers to guess the numbers.

CVE-2013-7401
Published: 2014-12-19
The parse_request function in request.c in c-icap 0.2.x allows remote attackers to cause a denial of service (crash) via a URI without a " " or "?" character in an ICAP request, as demonstrated by use of the OPTIONS method.

CVE-2014-2026
Published: 2014-12-19
Cross-site scripting (XSS) vulnerability in the search functionality in United Planet Intrexx Professional before 5.2 Online Update 0905 and 6.x before 6.0 Online Update 10 allows remote attackers to inject arbitrary web script or HTML via the request parameter.

CVE-2014-2716
Published: 2014-12-19
Ekahau B4 staff badge tag 5.7 with firmware 1.4.52, Real-Time Location System (RTLS) Controller 6.0.5-FINAL, and Activator 3 reuses the RC4 cipher stream, which makes it easier for remote attackers to obtain plaintext messages via an XOR operation on two ciphertexts.

Best of the Web
Dark Reading Radio
Archived Dark Reading Radio
Join us Wednesday, Dec. 17 at 1 p.m. Eastern Time to hear what employers are really looking for in a chief information security officer -- it may not be what you think.