News for hackers. Stuff that matters.
Re:uBlock Origin: Address first-party tracker blocking by founderling on Wednesday November 20, 2019 @06:38AM (#21582979)
1st party ads are not unblockable. They only lack one aspect that helps identify them (the 3rd party hostname). But they still can be dealt with.

One way browsers try to take away that freedom is by limting what extensions can do. If that continues, at one point we would need a new browser to accomplish it.

My favorite vision of the future would be if Debian would provide a version of Chrome or Firefox that: a) is stripped of all tracking and b) gives extensions full access to everything.

Re:uBlock Origin: Address first-party tracker blocking by saagarjha on Wednesday November 20, 2019 @06:40AM (#21582989)
At some point, you’re going to have to apply spam detection techniques rather than whitelist/blacklist ones.
Re:uBlock Origin: Address first-party tracker blocking by anoncake on Wednesday November 20, 2019 @07:16AM (#21583208)
As long (and where) labeling ads is mandatory, there will always be a way to identify them.
Re:uBlock Origin: Address first-party tracker blocking by ekianjo on Wednesday November 20, 2019 @06:39AM (#21582988)
So what is the strategy to deal with legitimate 1st party subdomains and tracking/ads subdomains if they use random strings as identifiers? (I am guessing this is where we will need a combination of crawlers and machine learning algorithms)
Re:uBlock Origin: Address first-party tracker blocking by bscphil on Wednesday November 20, 2019 @09:55AM (#21584390)
Couldn't you blacklist all subdomains of the 1st party and whitelist the few that are actually real?

Or, assuming they have a small list of subdomains that redirect to ad servers, you could generate a list with a script that checks all their subdomains and creates a block list based on that. For example, the site discussed in the OP has all their subdomains listed here: https://crt.sh/?q=%25.liberation.fr

Edit: looking at the OP case, it seems like they only have one ad domain. I'm not sure I see this as a serious issue until multiple sites start rolling out thousands of subdomains, some pointing to back to the real server, others pointing to the ad server. Maybe that will happen but it's a pretty big barrier to entry, and just short of proxying everything through the 1st party.

Re:uBlock Origin: Address first-party tracker blocking by uxp on Wednesday November 20, 2019 @10:32AM (#21584756)
> whitelist the few that are actually real

I'm speculating that the balance is in the reverse favor. Last night I was looking at some file on GitHub which was redirecting to what looked like an S3 bucket subdomain named with a pattern like "github-production-f7e281a2", which I simply presumed to be cache-busting via subdomain instead of appending the hash to the filename. If my assumptions were correct, every time GitHub deploys a new build, you would have to whitelist that subdomain.

Re:uBlock Origin: Address first-party tracker blocking by XorNot on Wednesday November 20, 2019 @06:47AM (#21583034)
Looking for suspiciously high entropy values compared to ones native language would be one way.
Re:uBlock Origin: Address first-party tracker blocking by TonyTheSlayer on Wednesday November 20, 2019 @06:54AM (#21583081)
Devil's advocate: then instead of using subdomains with randomly generated strings, we use words from a dictionary instead.
Re:uBlock Origin: Address first-party tracker blocking by roptat on Thursday November 21, 2019 @05:07AM (#21592765)
that won't work: for instance https://twitter.com/aeris22/status/1193644687950860289 (securite means security/safety in French, but that subdomain is a CNAME for smartadserver)
Re:uBlock Origin: Address first-party tracker blocking by Moru on Wednesday November 20, 2019 @07:10AM (#21583162)
Then we block those words :-)
Re:uBlock Origin: Address first-party tracker blocking by 0xC0ncord on Wednesday November 20, 2019 @07:18AM (#21583222)
You would have to block entire wordlists to combat subdomains like that. It would make more sense to whitelist subdomains instead, but it would require much more effort in order to determine what subdomains are required for the website to function. Additionally, if the site in question ever decided to change anything around, someone would have to catch the breaking change and have it corrected on the whitelists for the site to function again.
Re:uBlock Origin: Address first-party tracker blocking by squiggleblaz on Wednesday November 20, 2019 @08:21AM (#21583639)
How do you know what words to block?
Re:uBlock Origin: Address first-party tracker blocking by ekianjo on Wednesday November 20, 2019 @08:40AM (#21583760)
Machine learning by analyzing what displays on the page by blocking different domains. Bots can be automated to do that continuously and update a decentralized database with such information.
Re:uBlock Origin: Address first-party tracker blocking by philjackson on Wednesday November 20, 2019 @08:59AM (#21583909)
Chrome isn't open source, so not much chance of that happening.
Re:uBlock Origin: Address first-party tracker blocking by behringer on Wednesday November 20, 2019 @09:15AM (#21584057)
Re:uBlock Origin: Address first-party tracker blocking by colejohnson66 on Wednesday November 20, 2019 @09:46AM (#21584308)
Chromium is not Chrome. Chrome is based on code for Chromium, but that’s where the similarities end.
Re:uBlock Origin: Address first-party tracker blocking by behringer on Wednesday November 20, 2019 @11:13AM (#21585121)
Chromium is Chrome with only a few proprietary bits removed. It's essentially Chrome everywhere that it matters to this particular discussion.
Re:uBlock Origin: Address first-party tracker blocking by geofft on Wednesday November 20, 2019 @09:59AM (#21584435)
That's like saying that the Ubuntu kernel is based on code for Linux.
Re:uBlock Origin: Address first-party tracker blocking by rndgermandude on Wednesday November 20, 2019 @10:54AM (#21584946)
Yes, pretty much, except that Canonical is nice enough to open source their patches. And they layer a ton of patches on top of the official kernel trees, mostly backports but also some new features. Their linux_5.0.0-36.39.diff is close to 35MB.

And remember the time when Debian layered some changes on top of openssl? http://faq.caslavka.cz/attachments/196/randomness.png

Now, what changes does Google layer on top of chromium to make Chrome? Do you know exactly?

Re:uBlock Origin: Address first-party tracker blocking by geofft on Wednesday November 20, 2019 @11:46AM (#21585516)
Yes, it's pretty easy to disassemble it and find out. It's basically auto-updates, some closed-source extensions like Chromecast (although you can manually download the Chromecast bits for Chromium if you'd like), some branding differences as compile-time #defines. https://chromium.googlesource.com/chromium/src/+/master/docs...

(Do you know that all of Chromium is in fact open source? Have you looked at the source and the build process? Are there any parts in it that are actually precompiled binary blobs?)

Re:uBlock Origin: Address first-party tracker blocking by colejohnson66 on Wednesday November 20, 2019 @11:58AM (#21585671)
Does Chromium contain the DRM needed to play sites like Netflix? I know many here are against DRM, but it’s necessary if I want to use my Netflix.
Re:uBlock Origin: Address first-party tracker blocking by behringer on Wednesday November 20, 2019 @02:43PM (#21587664)
Netflix will play a 720p version if you don't have a DRM supported browser. Also netflix distributes native apps to all platforms, which means you don't need chrome to use netflix in full fidelity on any device except maybe linux?
Re:uBlock Origin: Address first-party tracker blocking by singron on Wednesday November 20, 2019 @01:54PM (#21587126)
Widevine is a DLL bundled with Chrome. You can copy it into a Chromium installation and use Netflix. I don't know if this violates TOS/licenses/law.
Re:uBlock Origin: Address first-party tracker blocking by epapsiou on Wednesday November 20, 2019 @09:55AM (#21584391)
And why would you use chrome instead of chromium? Stick to Firefox and Chromium.
Re:uBlock Origin: Address first-party tracker blocking by colejohnson66 on Wednesday November 20, 2019 @10:06AM (#21584495)
Because one likes the features available only in Chrome? I haven’t check recently and don’t know if this is still accurate, but Chromium used to not have the PDF reader and DRM support (for Netflix, etc.)
Re:uBlock Origin: Address first-party tracker blocking by behringer on Wednesday November 20, 2019 @11:46AM (#21585512)
There are a number of foss and proprietary pdf readers for chromium/chrome. There are also netflix apps outside of chrome. You don't have to use Chrome...
Re:uBlock Origin: Address first-party tracker blocking by JoeSamoa on Wednesday November 20, 2019 @08:50AM (#21583840)
You realize the extensions can track you too?
Re:uBlock Origin: Address first-party tracker blocking by buraktamturk on Wednesday November 20, 2019 @09:17AM (#21584067)
This problem can be solved easily with using an open-source extension that has reproducible builds. Make sure it doesn't have built-in tracker as easy as looking to the source code. And we can make sure the final hash (without software signature blob) of the extension is the same as your built, so it is not tempered before uploaded to the extension store.
Re:uBlock Origin: Address first-party tracker blocking by cf141q5325 on Wednesday November 20, 2019 @09:20AM (#21584104)
You can also track people if they install your adware.exe. The emphasis on install. What software you install is an entirely different threat scenario then visiting a website.