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.

Operational Security //

Machine Learning

11/22/2018
09:05 AM
Larry Loeb
Larry Loeb
Larry Loeb
50%
50%

Perceptual Ad Blockers Have Security Flaws, Too

Blocking ads is more than stopping annoying pop-ups. There's a security component as well. However, a crop of perceptual ad blockers that use machine learning have their own flaws and shortcomings.

Users want to be able to block the ads that show up on websites for more reasons than not wanting to be annoyed by the content. They also wish to protect themselves from the malicious content that may be embedded within those ads.

Typical ad blockers currently in use are based on "filter lists," which are specifics that tell the ad blockers exactly what type of content to block.

However, there are problems with this approach, notably keeping that list current and relevant. This led researchers at Princeton University to develop what they called a perceptual ad blocker over the course of 18 months.

Essentially, it looks at the web page, and deletes ads based on what it sees.

It was hoped that this kind of approach would stop the "arms race" of ad generators making minor tweaks in their ads to stop the blocking actions, which was then followed by ad blockers responding with new lists, and then ad generators making further tweaks.

(Source: iStock)
(Source: iStock)

Perceptual blockers are designed to pick up on structural ad cues like a "Sponsored" link or a close button inside of a pop-up ads, as well as any legally required signifiers an ad must show. They will use these structural elements to make the blocking decision.

But security researchers from Stanford University and CISPA Helmholtz Center for Information Security have found some conceptual and practical problems with this approach. Their research paper finds that they have found ways that such a blocker not only can be definitively defeated, but may pose security problems.

As the researchers note:

We show that perceptual ad-blocking engenders a new arms race that likely disfavors ad-blockers. Unexpectedly, perceptual ad-blocking can also introduce new vulnerabilities that let an attacker bypass web security boundaries and mount DDoS attacks.

The researchers looked at two perceptual ad blockers.

The first is named Perceptual Ad Highlighter and the other is called Sentinel. Both use neural networks to do the training needed for the blockers to learn what an ad looks like. From this training, the blockers create a model of what they expect an ad to look like. This model is then used for the "block or leave alone" decision.

To attack the perceptual blockers, the researchers first created ads that were designed to fool both of the blockers. They made changes to the form of the ads that were imperceptible to a human, but capable of fooling a machine learning algorithm.

One change they made was to alter the AdChoices logo commonly found in ads. They also found that a transparent mask laid over a website could do the trick as well. The researchers also looked at other possible attacks.

However, in the end, they found that current ways of developing perceptual ad blockers were not going to survive a determined adversary. The researchers feel that the methods that are currently in use to train such blockers are easily hoodwinked.

As the researchers summarized:

The overarching goal of this analysis has been to highlight and raise awareness of the fundamental vulnerabilities that perceptual ad-blockers inherit from existing vision classifiers. As long as robust defenses to adversarial examples elude us, perceptual ad-blockers will be dragged into a new arms race in which they start from a precariously disadvantaged position -- given the stringent threat model that they must survive.

Related posts:

— Larry Loeb has written for many of the last century's major "dead tree" computer magazines, having been, among other things, a consulting editor for BYTE magazine and senior editor for the launch of WebWeek.

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
Edge-DRsplash-10-edge-articles
I Smell a RAT! New Cybersecurity Threats for the Crypto Industry
David Trepp, Partner, IT Assurance with accounting and advisory firm BPM LLP,  7/9/2021
News
Attacks on Kaseya Servers Led to Ransomware in Less Than 2 Hours
Robert Lemos, Contributing Writer,  7/7/2021
Commentary
It's in the Game (but It Shouldn't Be)
Tal Memran, Cybersecurity Expert, CYE,  7/9/2021
Register for Dark Reading Newsletters
White Papers
Video
Cartoon
Current Issue
How Data Breaches Affect the Enterprise
Data breaches continue to cause negative outcomes for companies worldwide. However, many organizations report that major impacts have declined significantly compared with a year ago, suggesting that many have gotten better at containing breach fallout. Download Dark Reading's Report "How Data Breaches Affect the Enterprise" to delve more into this timely topic.
Flash Poll
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2021-44093
PUBLISHED: 2021-11-28
A Remote Command Execution vulnerability on the background in zrlog 2.2.2, at the upload avatar function, could bypass the original limit, upload the JSP file to get a WebShell
CVE-2021-44094
PUBLISHED: 2021-11-28
ZrLog 2.2.2 has a remote command execution vulnerability at plugin download function, it could execute any JAR file
CVE-2021-4020
PUBLISHED: 2021-11-27
janus-gateway is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVE-2021-23654
PUBLISHED: 2021-11-26
This affects all versions of package html-to-csv. When there is a formula embedded in a HTML page, it gets accepted without any validation and the same would be pushed while converting it into a CSV file. Through this a malicious actor can embed or generate a malicious link or execute commands via C...
CVE-2021-43785
PUBLISHED: 2021-11-26
@joeattardi/emoji-button is a Vanilla JavaScript emoji picker component. In affected versions there are two vectors for XSS attacks: a URL for a custom emoji, and an i18n string. In both of these cases, a value can be crafted such that it can insert a `script` tag into the page and execute malicious...