Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fingerprinting v3: Window size #720

Open
riastradh-brave opened this issue Aug 9, 2018 · 9 comments
Open

Fingerprinting v3: Window size #720

riastradh-brave opened this issue Aug 9, 2018 · 9 comments
Labels
feature/shields/fingerprint The fingerprinting (aka: "device recognition") protection provided in Shields priority/P5 Not scheduled. Don't anticipate work on this any time soon. privacy privacy-pod Feature work for the Privacy & Web Compatibility pod

Comments

@riastradh-brave
Copy link
Contributor

This one is difficult because often we can't effectively spoof the window size when various JavaScript and CSS hacks can discover what elements obscure one another placed alternately relative to the content and to the viewport.

Options:

  • Do nothing. Bad for user privacy.
  • Try to lie anyway. Bad for user privacy against adversaries spending a modicum of effort (unless there is a way to spoof it all the way through the JavaScript and CSS hacks that doesn't break the world).
  • Snap window to a grid. Potentially frustrating. May not help with full-screen use.
    • Maybe also warn user not to resize window near checkbox for fingerprinting protection.
  • Randomly resize window as user is browsing. Probably a non-starter!
  • Other ideas?
@riastradh-brave riastradh-brave added the feature/shields/fingerprint The fingerprinting (aka: "device recognition") protection provided in Shields label Aug 9, 2018
@riastradh-brave riastradh-brave added this to the 1.0 milestone Aug 9, 2018
@bbondy bbondy added this to Tor and privacy in 1.0 Tasks by Category Sep 29, 2018
@bbondy bbondy modified the milestones: 1.0, 1.x Backlog Oct 30, 2018
@tildelowengrimm tildelowengrimm added the priority/P5 Not scheduled. Don't anticipate work on this any time soon. label Nov 2, 2018
@tildelowengrimm tildelowengrimm added this to P3, P4, & P5 Backlog in Shields Nov 6, 2018
@rebron rebron modified the milestone: 1.x Backlog Feb 7, 2019
@evanstucker-hates-2fa
Copy link

https://www.zdnet.com/article/firefox-to-add-tor-browser-anti-fingerprinting-technique-called-letterboxing/

@simonsan
Copy link

First I would give a warning about that changing windows size could make it easier to track your web identity like in Tor Browser.

Second I would give an option to Lock the browser window in size to not accidentally change it.

Third I like the "letterboxing"-idea of mozilla. Could be worth a try, tbh.

@pes10k pes10k changed the title Window size is a fingerprinting vector Fingerprinting v3: Window size Apr 2, 2021
@pes10k pes10k added the privacy-pod Feature work for the Privacy & Web Compatibility pod label Apr 2, 2021
@houruomu
Copy link

houruomu commented Sep 7, 2021

Is there an option to reset the window size in every new (private) window of Brave? If not, adding one would be a good start.

@rillian
Copy link

rillian commented Sep 8, 2021

Is there an option to reset the window size in every new (private) window of Brave? If not, adding one would be a good start.

This seems like the most feasible proposal. Either way I think it probably wants some kind of user notification.

@rnsjunkmail
Copy link

If the most common window size(s) used was researched and used this could be a option the user chooses to increase their privacy/security. If Firefox and Chromium joined in this the # users using the most common would increase (you could have windows open in a rotating pattern of the 3-4 most used window sizes. Maybe rounding window size to a set of most common window sizes could help too.

Another alternative might be to handle the window sizing locally instead of remotely?

Use the methods used by trackers to ascertain the window size and establish a set of recommended common window sizes. using that set would obscure uniqueness.

@yamabiiko
Copy link

A letterboxing approach like Mozilla's would be awesome. Any update on this?

@pachainti
Copy link

A letterboxing approach like Mozilla's would be awesome. Any update on this?

I strongly agree. According to this comparison, fingerprint tests are where brave performs badly.

@pachainti
Copy link

Any update?
Thank you

@derde
Copy link

derde commented Nov 1, 2023

How about varying the DPI and slightly fuzzing the aspect ratio? e.g. Actual screen is 2560x1600, and the reported size is anything from 1024x640 to 1000x600 to 4000x2400.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature/shields/fingerprint The fingerprinting (aka: "device recognition") protection provided in Shields priority/P5 Not scheduled. Don't anticipate work on this any time soon. privacy privacy-pod Feature work for the Privacy & Web Compatibility pod
Projects
Shields
  
Feature Backlog
1.0 Tasks by Category
Tor and privacy
Development

No branches or pull requests