undergroundwires / privacy.sexy

Open-source tool to enforce privacy & security best-practices on Windows, macOS and Linux, because privacy is sexy
https://privacy.sexy
GNU Affero General Public License v3.0
4.16k stars 174 forks source link

Reduce display/screen fingerprinting #356

Open Rudxain opened 6 months ago

Rudxain commented 6 months ago

Operating system

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

Name

Minimize screen resolution fingerprinting

Code

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

Some 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:

lower res => lower entropy

undergroundwires commented 6 months ago

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.