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

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!
Florida Town Pays $600K to Ransomware Operators
Curtis Franklin Jr., Senior Editor at Dark Reading,  6/20/2019
Pledges to Not Pay Ransomware Hit Reality
Robert Lemos, Contributing Writer,  6/21/2019
Register for Dark Reading Newsletters
White Papers
Current Issue
Building and Managing an IT Security Operations Program
As cyber threats grow, many organizations are building security operations centers (SOCs) to improve their defenses. In this Tech Digest you will learn tips on how to get the most out of a SOC in your organization - and what to do if you can't afford to build one.
Flash Poll
The State of IT Operations and Cybersecurity Operations
The State of IT Operations and Cybersecurity Operations
Your enterprise's cyber risk may depend upon the relationship between the IT team and the security team. Heres some insight on what's working and what isn't in the data center.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
PUBLISHED: 2019-06-25
LiveZilla Server before is vulnerable to SQL Injection in functions.internal.build.inc.php via the parameter p_dt_s_d.
PUBLISHED: 2019-06-25
LiveZilla Server before is vulnerable to CSV Injection in the Export Function.
PUBLISHED: 2019-06-25
LiveZilla Server before is vulnerable to XSS in mobile/index.php via the Accept-Language HTTP header.
PUBLISHED: 2019-06-25
LiveZilla Server before is vulnerable to XSS in the chat.php Create Ticket Action.
PUBLISHED: 2019-06-25
LiveZilla Server before is vulnerable to XSS in the ticket.php Subject.