22 points · by vmorgulis · 11y ago · 42 comments
The technology used by Secret Media makes
sure that each ad gets a specific URL that cannot
be nor found not added to EasyList by the community.
I don't quite understand why they think this would work. Surely ad-blockers can filter by domain? Are they using well camouflaged URLs from legit domains? Or do they have a never-ending supply of throwaway domain names, in order to stay one step ahead of EasyList?Either way, I'm genuinely curious to see what they have in mind...
The way to get around adblocking is very long crypto tokens, but not in the subdomain. All that is needed is a front-end proxy that takes each session[1] and rewrites all href/src addresses to point to the proxy. This means all URLs in the page are of the form
https;//example.com/proxy/<crypto-token>
# or in the no-cookie case
https://example.com/proxy/<crypto-token>/<session-id>
Rewriting client-side generated URLs is an exercise left for the relevant Javascript framework, but only requires the addition of a simple API in the proxy to convert URLs, or some sort of bypass/whitelist mechanism.The tokens used by the proxy can either be the cyphertext of the actual URL or a synthetic token that references the real URL stored in a DB in the proxy. Such details can are left to the implementation of the proxy.
The point is that you have to send the crypto token back to the proxy to get either 1) a redirect of the real URL, 2) the actual content served by the site in question (either from the proxy directly or as a tunnel, or 3) the advertisement/whatever, with the prox6y acting as a live proxy to real ad server, with all the stupid tracking information passed along as extra HTTP headers (in the style of "X-Forwarded-For"). The client only ever sees URLs from the single domain, each obfuscated into a crypto token. No URL would give up any distinguishing characteristic an adblocker can use as a filter.
The only costs are the cost of running the proxy, and a bit of latency on each GET request because of the extra hop through the proxy.
It might be possible to find heuristics to block in the client's DOM, which is why I have expressed concern in the past[2] about the people who will use WebAssembly and a <canvas> tag to bypass the DOM. These two techniques in combination will make adblocking nearly impossible without first either breaking crypto or solving the halting problem.
[1] As defined in the usual manner, either as a cookie or embedded in the URLs the proxy generates.
example.com/proxy/*
to its list of requests to block?(of course, the URLs could be camouflaged to look like real ones... eg:
http://example.com/a-very-legit-looking-article
ugh.)The closest I could find is that it is based on a polymorphic encryption algorithm, which does not inspire confidence in me. Combined with the fact that they claim to support all addblockers, and addformats, and I am calling snakeoil.
They also say it is patented, so I will see if I can dig up said patent.
EDIT: I did a search on the patent office for "adblocking AND polymorphic" (with variations of adblocking), and found no results.
EDIT2: Also, no information on how to buy their "product" beyond a generic contact us.
Maybe they're referring to some other jurisdiction, or maybe the patent has some other inventor(s) and their entity name is something besides Secret Media. Or maybe they're full of shit.
We are hiring...
TL;DR "If you visit a web page, you surrender the right to decide what happens to your computer."
Edit: Upon reflection, I get that Secret Media wants to reach potential customers, whether they use adblockers or not. Indeed, given how much adblockers improve browsing experience, maybe Secret Media and others in the anti-adblocking business also use them. Why should I expect some sort of moral stance?
I have yet to find anyone who talks about "harmony" who actually spews anything other than concentrated bullshit. Example: pretty much everything the Chinese government says and does in the name of preserving "harmony". It may have been a useful philosophical concept in the past, but it's been misused so much by shysters lately that the mere appearance of the "H" word is an instant red flag to me.
EasyList might not be able to block their clever tricks, but isn't it about time we came up with a better way to detect anything the user doesn't want? EFF's Privacy Badger uses heuristics to determine whether a given script is trying to track the user. Perhaps adblockers need to take a similar approach. For example, they could check whether an element that is displayed by default on page load obscures the primary textual content of the page, or compare the current page with one that was shown to a well-known search engine.
That's bound to make them feel good about it and make them buy our products."
Will their ads not chew up my CPU and battery life?
Will their ads not track my online behaviour in addition to showing me an ad? Will their ads not load other ads that will do the same?
Because otherwise, fuck you secret media, and fuck your ads.
You're right! The back button does work as an effective solution!