LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 09-17-2023, 03:01 AM   #1
JASlinux
Member
 
Registered: Oct 2020
Posts: 385

Rep: Reputation: Disabled
Question Does it make sense to pretend we're Windows/Mac/Android users to thwart fingerprinting?


I was struck seeing the Windows user agent in Linux Tor. Then I realized there might be strategic reason for this.

Facebook has changed recently to only permit the mobile versions with an Android user agent.

If pernicious sites think we're using a standard Windows device, will we be less targeted as Linux users?

Theoretically is it not true that if they know we're using Linux, malware can be intended specifically for us, as Windows intrusions won't affect a Linux system?

https://tor.stackexchange.com/questi...ser-user#15410
 
Old 09-17-2023, 04:00 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,976

Rep: Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337
browsers (and other things) usually try to identify the running system in order to optimize the user experience.
The only question is: who is that user (and what does "optimize" mean for that user).
 
Old 09-17-2023, 10:29 AM   #3
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,146
Blog Entries: 6

Rep: Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834
The only reason to present a fake user agent in your request header is to get the page that you want. If a server is serving up different pages depending on user agent. Or, if a server is refusing a particular web browser/platform for some reason. Python using urllib will many times be refused without a user agent in the request header.

It does not stop a server from browser/OS fingerprinting you. It is not for security, but to get the user experience that you want.

Another reason to present a fake user agent is for content delivery. Many video sites will present video in a different format based on user agent. An iPhone user agent will get you a .m3u8 playlist file. Very useful to have the master segment playlist.

It's a tool in your tool box to use to get the content the way that you wish it. Maybe, not always.

There are a dozen threads on LQ about this.
 
Old 09-17-2023, 12:00 PM   #4
uteck
Senior Member
 
Registered: Oct 2003
Location: Elgin,IL,USA
Distribution: Ubuntu based stuff for the most part
Posts: 1,177

Rep: Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501
A lot of fingerprinting is just general data gathering for advertising which may ultimately be useless, but they still gather it since it is easy to do so and the advertising networks ask for it.
Unless you are randomizing your user agent each time, they will still have a fingerprint for your browser. Overall there is little you can do stop it, and it really has little impact on your experience.

Firefox limits cookies to the site they originated from so they can't be used to track you across sites, which is better privacy protection then Chrome offers.
 
Old 09-25-2023, 10:21 PM   #5
JASlinux
Member
 
Registered: Oct 2020
Posts: 385

Original Poster
Rep: Reputation: Disabled
Lightbulb

Quote:
Originally Posted by teckk View Post

It does not stop a server from browser/OS fingerprinting you. It is not for security, but to get the user experience that you want.
We still have an interesting paradox:

The default for Tor on Android mobile is your mobile device, but if you request a desktop user agent (by toggle switch) you see a Linux 64 string.

Yet in Linux the default is a Windows string.

That seems too surface to be an accident.
 
  


Reply

Tags
fingerprint, malware, tor browser, tor-browser, user agent



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Users pretend using RodgerlvvGG, all from Afghanistan, accumulated registrations. Michael Uplawski Linux - Distributions 9 12-17-2020 02:15 AM
New Windows strategy to thwart changing the main computer disk drmjh Linux - General 19 08-31-2016 05:14 PM
Current: sense key: No Sense Dready359 Linux - Hardware 2 03-20-2008 08:56 AM
kernel: st0: Error with sense data: Current st09:00: sense key N da_kidd_er Linux - Hardware 0 12-16-2004 10:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 05:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration