View previous topic :: View next topic |
Author |
Message |
yellowzip2 n00b
Joined: 20 Feb 2021 Posts: 13
|
Posted: Fri Feb 26, 2021 6:01 am Post subject: CNAME-based tracking |
|
|
I finally switched from ungoogled-chromium (pf4public overlay) to Firefox (with the usual privacy tweaks) recently in part prompted by claims made recently about CNAME deception.
CNAME tracking abuses DNS records to erase the distinction between first-party and third-party contexts. Firefox running the uBlock Origin 1.25+ extension can see through CNAME deception whereas Chromium based projects running uBlock Origin may not.
Has anyone here been following developments with CNAME-based tracking with regard to browser choice?
Last edited by yellowzip2 on Sun Mar 14, 2021 3:42 am; edited 6 times in total |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20588
|
Posted: Fri Feb 26, 2021 7:28 pm Post subject: |
|
|
Thanks for the heads up. I hadn't seen that one.
I find it sad that Firefox seems to be the least worst option. I've never used Chrome for personal use, and only briefly tried Chromium. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
yellowzip2 n00b
Joined: 20 Feb 2021 Posts: 13
|
Posted: Sat Feb 27, 2021 5:21 am Post subject: |
|
|
pjp wrote: | I find it sad that Firefox seems to be the least worst option... |
Never thought we'd be here in 2021! Agree with the sentiment entirely. |
|
Back to top |
|
|
pa4wdh l33t
Joined: 16 Dec 2005 Posts: 910
|
Posted: Sat Feb 27, 2021 10:11 am Post subject: |
|
|
It's indeed one of the bad signs of the state to today's internet: "Gee, users don't want to be tracked and are blocking us, lets try an other way so they can't block us".
It's not a browser based solution, but my way of working seems to work against this kind of tracking as well. I'm user BIND to do DNS based blocking. I create zones for domains i wish to block and insert a wildcard in there which directs the requist to my own webserver (which answers with a 404 ).
For example, i have blocked doubleclick.net, so any request for anything within that domain is redirected. Now lets assume they start using cname based tracking under tracker.example.com. Now tracker.example.com will resolve into <something>.doubleclick.net, and from there it's again redirected to my own system.
I haven't actually ran into cname based tracking yet, so this is all theory. Any other insights or comments are welcome _________________ The gentoo way of bringing peace to the world:
USE="-war" emerge --newuse @world
My shared code repository: https://code.pa4wdh.nl.eu.org
Music, Free as in Freedom: https://www.jamendo.com |
|
Back to top |
|
|
figueroa Advocate
Joined: 14 Aug 2005 Posts: 3007 Location: Edge of marsh USA
|
Posted: Sun Feb 28, 2021 3:56 am Post subject: |
|
|
One of my tools is I have over 60,000 entries sent to 0.0.0.0 in /etc/hosts. 191 of them are doubleclick.net entries. _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
Back to top |
|
|
yellowzip2 n00b
Joined: 20 Feb 2021 Posts: 13
|
Posted: Sun Feb 28, 2021 3:45 pm Post subject: |
|
|
none
Last edited by yellowzip2 on Wed Mar 31, 2021 7:35 am; edited 7 times in total |
|
Back to top |
|
|
figueroa Advocate
Joined: 14 Aug 2005 Posts: 3007 Location: Edge of marsh USA
|
Posted: Sun Feb 28, 2021 4:02 pm Post subject: |
|
|
See my posts in the following forum page regarding my two scripts to curate your own /etc/hosts additions.
https://forums.gentoo.org/viewtopic-t-1107432-highlight-hosts.html
Don't stop at the first post. I continued to share improvements which I continue to use, shared in the last post of that thread, on the second page. _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
Back to top |
|
|
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3923 Location: Rasi, Finland
|
Posted: Sun Feb 28, 2021 5:37 pm Post subject: someonewhocares |
|
|
I've been using https://someonewhocares.org/hosts/ as my source for domains to block.
Although I try to keep my /etc/hosts clean so I pass the block list hosts -file for my dns as an additional hosts -file. _________________ ..: Zucca :..
My gentoo installs: | init=/sbin/openrc-init
-systemd -logind -elogind seatd |
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
|
figueroa Advocate
Joined: 14 Aug 2005 Posts: 3007 Location: Edge of marsh USA
|
Posted: Sun Feb 28, 2021 6:20 pm Post subject: Re: someonewhocares |
|
|
Zucca wrote: | ...
I pass the block list hosts -file for my dns as an additional hosts -file. |
OK, I give up. That sounds like a good trick. HOW do you do that? (Asking for a friend. ) _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
Back to top |
|
|
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3923 Location: Rasi, Finland
|
Posted: Sun Feb 28, 2021 9:21 pm Post subject: |
|
|
Using dnsmasq:
part of /etc/dnsmasq.conf: | no-hosts
addn-hosts="/etc/hosts"
addn-hosts="/etc/yourbadhostsfile" |
The reason setting no-hosts first and then adding /etc/hosts is because hosts in /etc/hosts now override the same ones in latter files. It's rarely neccessary, so most people would only need Code: | addn-hosts="/etc/yourbadhostsfile" | in their config. _________________ ..: Zucca :..
My gentoo installs: | init=/sbin/openrc-init
-systemd -logind -elogind seatd |
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
|
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3923 Location: Rasi, Finland
|
Posted: Sun Feb 28, 2021 9:25 pm Post subject: |
|
|
BTW... There is a project which merges several bad host lists from the net to a single one: https://github.com/Ultimate-Hosts-Blacklist/Ultimate.Hosts.Blacklist _________________ ..: Zucca :..
My gentoo installs: | init=/sbin/openrc-init
-systemd -logind -elogind seatd |
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
|
figueroa Advocate
Joined: 14 Aug 2005 Posts: 3007 Location: Edge of marsh USA
|
Posted: Mon Mar 01, 2021 3:00 am Post subject: |
|
|
Zucca wrote: | Using dnsmasq:
part of /etc/dnsmasq.conf: | no-hosts
addn-hosts="/etc/hosts"
addn-hosts="/etc/yourbadhostsfile" |
The reason setting no-hosts first and then adding /etc/hosts is because hosts in /etc/hosts now override the same ones in latter files. It's rarely neccessary, so most people would only need Code: | addn-hosts="/etc/yourbadhostsfile" | in their config. |
Thanks for those details. I think I'll remain happy for now appending my host blocks to /etc/hosts, since I'm not already running dnsmasq and don't need another program installed or process running.
But someday ... _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
Back to top |
|
|
figueroa Advocate
Joined: 14 Aug 2005 Posts: 3007 Location: Edge of marsh USA
|
Posted: Mon Mar 01, 2021 3:13 am Post subject: |
|
|
That's a great resource. I didn't know about that. I'm studying the site and keeping notes.
For the time being, my 60K line long hosts file does all the blocking I need. _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
Back to top |
|
|
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3923 Location: Rasi, Finland
|
Posted: Mon Mar 01, 2021 7:36 am Post subject: |
|
|
I found it while searching for the someonewhocares -site.
I think I could give it a try. My current hostlist already block smart TV commercials quite well, but some still get past it. _________________ ..: Zucca :..
My gentoo installs: | init=/sbin/openrc-init
-systemd -logind -elogind seatd |
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20588
|
Posted: Mon Mar 01, 2021 6:55 pm Post subject: |
|
|
Since the discussion of blocking hosts has expanded, it seems worth noting that it isn't a useful defense against the CNAME issue mentioned in the article. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
yellowzip2 n00b
Joined: 20 Feb 2021 Posts: 13
|
Posted: Tue Mar 02, 2021 3:32 am Post subject: |
|
|
none
Last edited by yellowzip2 on Wed Mar 31, 2021 7:35 am; edited 3 times in total |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20588
|
Posted: Wed Mar 03, 2021 9:59 pm Post subject: |
|
|
I'm no fan of Apple, but this was notable: Quote: | Apple's answer to marketer angst over being denied analytic data by Safari has been to propose a privacy-preserving ad click attribution scheme that allows 64 different ad campaign identifiers – so marketers can see which worked.
Google's alternative proposal, part of its "Privacy Sandbox" initiative, calls for an identifier field capable of storing 64 bits of data – considerably more than the integer 64.
As the Electronic Frontier Foundation has pointed out, this enables a range of numbers up to 18 quintillion, allowing advertisers to create unique IDs for every ad impression they serve, information that could then be associated with individual users. | Quote: | Google Chrome has implemented its SameSite cookie scheme as a prelude to its planned 2022 phase-out of third-party cookies, maybe. | And that just means that they've found a way to not rely on 3rd-party cookies.
Privacy Sandbox seems aptly named to indicate the sandboxing of privacy.
Although from August, 2020, this was interesting (primarily the browsers / add-on comparisons):
https://blog.apnic.net/2020/08/04/characterizing-cname-cloaking-based-tracking/ _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
yellowzip2 n00b
Joined: 20 Feb 2021 Posts: 13
|
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20588
|
Posted: Wed Mar 17, 2021 7:14 pm Post subject: |
|
|
I have Origin installed, but I don't understand how to use it. It doesn't seem to block as much as I would prefer. I still rely on uMatrix (I'm aware it has been abandoned).
While I'm not worried about those two extensions, I have always considered extensions a "concern."
Then along came...
https://krebsonsecurity.com/2021/03/is-your-browser-extension-a-botnet-backdoor/ _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
yellowzip2 n00b
Joined: 20 Feb 2021 Posts: 13
|
|
Back to top |
|
|
yellowzip2 n00b
Joined: 20 Feb 2021 Posts: 13
|
Posted: Thu Mar 18, 2021 9:25 am Post subject: |
|
|
none
Last edited by yellowzip2 on Wed Mar 31, 2021 7:35 am; edited 1 time in total |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 23081
|
Posted: Thu Mar 18, 2021 4:04 pm Post subject: |
|
|
Browser extensions have always had this problem. The scope of access is so coarse that most extensions that intend to be broadly useful end up empowered to cause tremendous havoc if abused. Mozilla killed XUL extensions in part with the claim that the new permissions-based model would be so much better, because extensions would be required to declare what they wanted and users could review it. In practice, the permission scopes are too broad to be useful, and the Firefox user base fragmented. Some people refused to upgrade to XUL-free versions. Some fled to a variety of forks, many of which have as their main claim to fame that XUL-extensions still work. |
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3949
|
Posted: Thu Mar 18, 2021 4:45 pm Post subject: |
|
|
Will having such a massive hosts file somehow impact web browsing speed or performance?
Thanks a lot _________________
|
|
Back to top |
|
|
figueroa Advocate
Joined: 14 Aug 2005 Posts: 3007 Location: Edge of marsh USA
|
Posted: Thu Mar 18, 2021 4:55 pm Post subject: |
|
|
alamahant wrote: | Will having such a massive hosts file somehow impact web browsing speed or performance?
Thanks a lot |
Short answer is no. I suspect it may be measurable but is not perceptible. My /etc/hosts file is over 60,000 lines.
I think browsing is actually faster. Advertising and tracking puts a big burden on web browsing. _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
Back to top |
|
|
Tony0945 Watchman
Joined: 25 Jul 2006 Posts: 5127 Location: Illinois, USA
|
Posted: Thu Mar 18, 2021 5:02 pm Post subject: |
|
|
figueroa wrote: | I think browsing is actually faster. Advertising and tracking puts a big burden on web browsing. |
I notice that on sites that display lots of stuff from twitter or facebook that the pages load fast then about ten seconds later, jerks all around as those links load. |
|
Back to top |
|
|
|