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.

Vulnerabilities / Threats

8/1/2013
10:19 AM
Connect Directly
Twitter
RSS
E-Mail
50%
50%

Creating Browser-Based Botnets Through Online Ad Networks

Researchers demonstrate how ads invoking JavaScript on viewers' browsers en masse could create untraceable networks to wreak DDoS damage

LAS VEGAS -- BLACK HAT USA -- For several years security researchers and black hat hackers have fine-tuned methods of manipulating the eccentricities and vulnerabilities of the way browsers work to make user machines visit certain sites, download illegal content, and even carry out attacks like SQL injection without the user knowing it. However, these attacks have always been thought of as invoking one-off behavior that wouldn't scale well enough to leverage for something like a distributed denial-of-service attack (DDoS). But yesterday at Black Hat USA, a pair of researchers showed it is possible to maneuver browsers on a massive scale through online advertising.

Click here for more of Dark Reading's Black Hat articles.

In a demo at their session, WhiteHat Security researchers Jeremiah Grossman, CTO and founder, and Matt Johansen, manager of the firm's threat research center, showed it's possible to essentially create a hard-to-trace browser botnet that can easily trigger DDoS with a minimal investment in a fake online ad. As they explained, networks that serve up advertisements on ad-supported sites across the Internet frequently allow their advertisers to run arbitrary JavaScript on browsers displaying their ads. Using JavaScript to make hundreds of thousands or millions of advertising viewers connect at once to a particular target site could quickly create enough connections to take down most sites on the Web.

"The Web runs on advertising -- that's how all these websites are paid for," Grossman said. "So the reach of these advertising networks is phenomenal."

In their demonstration, Grossman and Johansen purchased $20 worth of advertising impressions through an unnamed advertising network and placed an innocuous-looking ad with a call to automatically load an external site where they could change their JavaScript payload on the fly.

"The hardest part of all this research was the approval process. Not for the reasons you'd think -- they happened to not be very good at reading JavaScript, or even caring about JavaScript. What they actually cared about was that the ad looked pretty and worked like an ad," Johansen said. "But anytime we wanted to tweak something, like change a URL, it had to go through reapproval. So instead of putting the code directly in the ad, we just put script source and sourced it out to a file on our side."

The researchers stood up an Apache server on AWS to crash it in front of the audience within a few seconds of targeting their script-running browsers toward it.

"This whole time we did not hack anybody. We just used the way the Web works and took down our own service," Johansen said. "We stayed completely on the legal side here. But you can kind of get an idea of how this could get fun if you didn't."

Not only could malicious hackers do much more damage with more malicious code, but "there's no particular reason why the bad guys couldn't use a stolen credit card" to carry out this kind of attack, Grossman said.

According to Johansen, the advantage to an attacker of using this method is its disappearing footprint.

"So why not just do a traditional denial-of-service attack? It's not persistent. It goes away," he says. "There's no trace of this -- we put the money in the machine, the JavaScript gets served up, and then it goes away. And it's very, very easy." Have a comment on this story? Please click "Add Your Comment" below. If you'd like to contact Dark Reading's editors directly, send us a message. Ericka Chickowski specializes in coverage of information technology and business innovation. She has focused on information security for the better part of a decade and regularly writes about the security industry as a contributor to Dark Reading.  View Full Bio

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
Navigating Security in the Cloud
Diya Jolly, Chief Product Officer, Okta,  12/4/2019
4 Tips to Run Fast in the Face of Digital Transformation
Shane Buckley, President & Chief Operating Officer, Gigamon,  12/9/2019
Register for Dark Reading Newsletters
White Papers
Video
Cartoon Contest
Write a Caption, Win a Starbucks Card! Click Here
Latest Comment: Our Endpoint Protection system is a little outdated... 
Current Issue
The Year in Security: 2019
This Tech Digest provides a wrap up and overview of the year's top cybersecurity news stories. It was a year of new twists on old threats, with fears of another WannaCry-type worm and of a possible botnet army of Wi-Fi routers. But 2019 also underscored the risk of firmware and trusted security tools harboring dangerous holes that cybercriminals and nation-state hackers could readily abuse. Read more.
Flash Poll
Rethinking Enterprise Data Defense
Rethinking Enterprise Data Defense
Frustrated with recurring intrusions and breaches, cybersecurity professionals are questioning some of the industrys conventional wisdom. Heres a look at what theyre thinking about.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2013-4245
PUBLISHED: 2019-12-11
Orca has arbitrary code execution due to insecure Python module load
CVE-2013-4593
PUBLISHED: 2019-12-11
RubyGem omniauth-facebook has an access token security vulnerability
CVE-2013-6495
PUBLISHED: 2019-12-11
JBossWeb Bayeux has reflected XSS
CVE-2013-7370
PUBLISHED: 2019-12-11
node-connect before 2.8.2 has cross site scripting in methodOverride Middleware
CVE-2019-18935
PUBLISHED: 2019-12-11
Progress Telerik UI for ASP.NET AJAX through 2019.3.1023 contains a .NET deserialization vulnerability in the RadAsyncUpload function. This is exploitable when the encryption keys are known due to the presence of CVE-2017-11317 or CVE-2017-11357, or other means. Exploitation can result in remote cod...