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

Reduce display/screen fingerprinting #356

Open
Rudxain opened this issue May 1, 2024 · 1 comment
Open

Reduce display/screen fingerprinting #356

Rudxain opened this issue May 1, 2024 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@Rudxain
Copy link

Rudxain commented May 1, 2024

Operating system

Windows, macOS, Linux, and Android (#324).

Name

Minimize screen resolution fingerprinting

Code

  • Windows: It seems easier to do with .ps1, but it should be theoretically possible with .bat
  • macOS: no idea if it's possible
  • Linux: requires xrandr, but may work with other tools
  • Android: adb shell wm size (don't forget to change density accordingly!). More info here

The script must ask the user for the preferred resolution rather than hardcoding. To avoid asking, the script could simply halve the current resolution.

Most displays have a minimum refresh-rate of 30Hz, which limits the available options, but makes it much simpler to automate (no need to prompt user)

Revert code

Similar as above, and Android supports a shortcut:

adb shell wm size reset
adb shell wm density reset

Category

Recommendation level

STRICT

Because it may impact accessibility and human multitasking

Documentation/References

Screen/Display resolution (spatial and temporal) can be used as a fingerprinting vector on any OS. It's not only "this user has exactly 2000x1000 px viewport and 2048x1024 hardware pixels", it includes movement signature which consists of recognizing patterns in:

  • scrolling
  • dragging
  • cursor/mouse movements
  • clicks/touch
  • etc...

lower res => lower entropy

@Rudxain Rudxain added the enhancement New feature or request label May 1, 2024
@undergroundwires undergroundwires added this to the 0.15.0 milestone May 1, 2024
@undergroundwires
Copy link
Owner

High quality contribution, thank you @Rudxain. Thank you for paving the way for Android support, your guidance is appreciated and you're enabling this. Please feel free to issues for any other scripts that you can think is useful for android. This is really helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants