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

Fake deviceMemory not detected on Firefox #269

Open
JobcenterTycoon opened this issue Jul 29, 2024 · 3 comments
Open

Fake deviceMemory not detected on Firefox #269

JobcenterTycoon opened this issue Jul 29, 2024 · 3 comments
Labels

Comments

@JobcenterTycoon
Copy link

JobcenterTycoon commented Jul 29, 2024

When i set the value with uBlock Origin with abrahamjuliot.github.io##+js(set, navigator.deviceMemory, 1) on Firefox the site doesn’t detect this fake and also clears my visits.

Firefox doesn’t support navigator.deviceMemory https://developer.mozilla.org/en-US/docs/Web/API/Navigator/deviceMemory

@abrahamjuliot
Copy link
Owner

abrahamjuliot commented Jul 30, 2024

Good catch. It's detected in console.log(Fingerprint.navigator.lied) but not shown in the top section. There exist several similar inline detections that can be displayed with a message. I believe we used the iframe mismatch detection to capture it, but your suggestion is better and straightforward.

You should get two different fingerprints, one clean and one wrong. The invalid one should not change if you rotate the memory via JS.

@abrahamjuliot abrahamjuliot added the good first issue Good for newcomers label Jul 30, 2024
@JobcenterTycoon
Copy link
Author

Yes 2 fingerprints and no change when i rotate. But a fake memory on a browser which don’t even support this should be just throwed away without affecting the final fingerprint or not?

@abrahamjuliot
Copy link
Owner

It's better to preserve the additional entropy if we can keep it stable. The existing lie is better entropy than a restored result. Maybe there are some use cases for restoring the original, but they will be limited to what we can restore.

@abrahamjuliot abrahamjuliot changed the title fake navigator.deviceMemory doesn’t getting detected on firefox Fake deviceMemory not detected on Firefox Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants