Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.


05:00 PM
Connect Directly

Malvertising Campaign Rages Undetected For 3 Weeks

Instead of injecting nasty code into ads, attackers pose as legitimate advertisers and manipulate ad networks' chain of trust.

Although malvertising campaigns are usually detected after a few days, a widespread malvertising campaign that abused several major ad networks evaded detection for three weeks, according to researchers at Malwarebytes.

"We saw there was activity," says Malwarebytes senior security researcher Jerome Segura. "We saw there was something going on, but we just couldn't pinpoint it."

Segura believes the attackers behind this attack campaign are the same ones behind previous attacks his team has reported on, but they've developed a number of new tactics to make themselves harder to track down. 

First, the malvertisers went to great lengths to make themselves look like legitimate businesses using real-time bidding. They used domain names that had been registered years ago, some of which were even listed with the Better Business Bureau. The ads they submitted appeared to be created by professional designers.  

Second, "the ads themselves were perfectly clean," says Segura. Instead of injecting malicious code directly into the ads, the ads just redirected victims to someplace that would download malicious code (in this case, the Angler exploit kit).

"At the end of the day, it's a break in the chain of trust between ad networks and advertisers," says Segura.

He explains that in order to let advertisers maintain control over their content, the ads were served up from the advertiser's (in this case, malvertiser's) own server, and through an encrypted HTTPS channel. Segura says this system, of letting a third party directly serve up content and encrypt that communication so that it cannot be inspected to see if the content is malicious, is "a big security blunder." 

"A fraudulent ad server using HTTPS. We were basically blind to it," he says.

Another new method the malvertisers used: in earlier attacks, they'd used Google URL shortener in their redirects -- a problem Malwarebytes and Google were working to solve, Segura says. In this new campaign, the attackers started with Google, and then shifted to a custom URL shortener running from their own server.

"The degree of complexity, combined with the effort to create these fake personas is the next stage of malvertising attacks," says Segura.

Using these methods, attackers compromised a variety of small ad networks and major ad networks, including DoubleClick, AppNexus, and ExoClick. Through those networks, they hit a variety of major media sites (including ebay.co.uk, drudgereport.com, and answers.com) and adult sites (including nuvid.com, upornia.com, and eroprofile.com) -- all with tens of millions of visitors per month, giving the malvertisers an opportunity to cast a wide net.

"Publishers are really the victims here," says Segura, "but ad networks, this affects their reputation."

Segura reminds users that ads are just the vehicle for exploits, so instead of relying on ad blockers, keep their systems updated and install all their other exploit mitigation tools.

As for the ad networks like DoubleClick, it's about "being very careful where the ad content is served from," says Segura. He points out that even the financial model of these companies is problematic -- allowing very low-cost introductory packages gives attackers the opportunity to launch short campaigns with small investments. He suggests they consider making the barrier to entry higher to keep the bad guys out. "They owe this to their customers."

Sara Peters is Senior Editor at Dark Reading and formerly the editor-in-chief of Enterprise Efficiency. Prior that she was senior editor for the Computer Security Institute, writing and speaking about virtualization, identity management, cybersecurity law, and a myriad ... View Full Bio

Recommended Reading:

Comment  | 
Print  | 
More Insights
Newest First  |  Oldest First  |  Threaded View
User Rank: Strategist
9/15/2015 | 8:11:30 AM
Who is the customer?
"They owe this to their customers" I presume that this is intended to mean that the readers (clickers) are the customers. Nothing could be further from the truth. Customers pay. In the case of Internet sites supported by advertising, you, the reader, are the product. Or as someone smarter than I has said, "if it is free, you are the product." This is where the disconnect occurs with the malware problem in advertising. The advertising companies are not attached to the problem. They only peripherally feel the pain. The user, at home or in a business the IT shop, feels the pain, but rarely has any idea which company brokered the ad that delivered the malware. It works for the, criminals doing this, because it is safe. It works for the add brokers because it is safe. It doesn't work for us, at home or in the office, because WE ARE THE PRODUCT. Will top of the line companies like Doubleckick learn and adjust? Of course. Will other ad brokers? Some will not. We definately neeed to thank the guys at MalwareBytes that had the perserverance and brains to work this out. They done good!
Manchester United Suffers Cyberattack
Dark Reading Staff 11/23/2020
As 'Anywhere Work' Evolves, Security Will Be Key Challenge
Robert Lemos, Contributing Writer,  11/23/2020
Cloud Security Startup Lightspin Emerges From Stealth
Kelly Sheridan, Staff Editor, Dark Reading,  11/24/2020
Register for Dark Reading Newsletters
White Papers
Cartoon Contest
Write a Caption, Win an Amazon Gift Card! Click Here
Latest Comment: This comment is waiting for review by our moderators.
Current Issue
2021 Top Enterprise IT Trends
We've identified the key trends that are poised to impact the IT landscape in 2021. Find out why they're important and how they will affect you today!
Flash Poll
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
PUBLISHED: 2020-11-29
An issue was discovered on V-SOL V1600D V2.03.69 and V2.03.57, V1600D4L V1.01.49, V1600D-MINI V1.01.48, V1600G1 V2.0.7 and V1.9.7, and V1600G2 V1.1.4 OLT devices. It is possible to elevate the privilege of a CLI user (to full administrative access) by using the password [email protected]#y$z%x6x7q8c9z) for the e...
PUBLISHED: 2020-11-29
An issue was discovered on V-SOL V1600D4L V1.01.49 and V1600D-MINI V1.01.48 OLT devices. During the process of updating the firmware, the update script starts a telnetd -l /bin/sh process that does not require authentication for TELNET access.
PUBLISHED: 2020-11-29
An issue was discovered on V-SOL V1600D V2.03.69 and V2.03.57, V1600D4L V1.01.49, V1600D-MINI V1.01.48, V1600G1 V2.0.7 and V1.9.7, and V1600G2 V1.1.4 OLT devices. TELNET is offered by default but SSH is not always available. An attacker can intercept passwords sent in cleartext and conduct a man-in-...
PUBLISHED: 2020-11-29
An issue was discovered on V-SOL V1600D V2.03.69 and V2.03.57, V1600D4L V1.01.49, V1600D-MINI V1.01.48, V1600G1 V2.0.7 and V1.9.7, and V1600G2 V1.1.4 OLT devices. Command injection can occur in "upload tftp syslog" and "upload tftp configuration" in the CLI via a crafted filename...
PUBLISHED: 2020-11-29
An issue was discovered on V-SOL V1600D V2.03.69 and V2.03.57, V1600G1 V2.0.7 and V1.9.7, and V1600G2 V1.1.4 OLT devices. A hardcoded RSA private key (specific to V1600D, V1600G1, and V1600G2) is contained in the firmware images.