LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-15-2009, 06:50 PM   #1
Ulysses_
Senior Member
 
Registered: Jul 2009
Posts: 1,303

Rep: Reputation: 57
How can a pc be uniquely identified online?


Is it possible to uniquely identify a pc by running javascript, asp, cgi, perl, or any other scripts? I am looking for a means of identification other than cookies (these are usually deleted between sessions) or ActiveX (which most people do not trust and disable) or any other NON-unique identification such as IP's (which are usually shared).

If yes, what are some examples of scripts?

Might be useful for detecting clone accounts on forums too.

Last edited by Ulysses_; 08-15-2009 at 07:03 PM.
 
Old 08-15-2009, 10:02 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,635

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by Ulysses_ View Post
Is it possible to uniquely identify a pc by running javascript, asp, cgi, perl, or any other scripts? I am looking for a means of identification other than cookies (these are usually deleted between sessions) or ActiveX (which most people do not trust and disable) or any other NON-unique identification such as IP's (which are usually shared).

If yes, what are some examples of scripts?

Might be useful for detecting clone accounts on forums too.
Sorry, you can pretty much spoof anything, even down to MAC addresses.
 
Old 08-16-2009, 03:35 AM   #3
z-vet
Member
 
Registered: Aug 2004
Location: Israel
Distribution: LMDE 5
Posts: 271

Rep: Reputation: 34
MAC address comes to mind, but even MAC address can be changed.
 
Old 08-16-2009, 03:57 AM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
It may be more proper identifying sessions or the profile name if that is available.

I looked up the definition of "affinity". This references a paper on "digital silhouettes" which looks like it's way over my head:
http://searchcrm.techtarget.com/sDef...559076,00.html

Last edited by jschiwal; 08-16-2009 at 03:59 AM. Reason: Thanks to God for spell checkers. "silhouettes" is a word that might stump a spelling bee finalist.
 
Old 08-16-2009, 09:04 AM   #5
Ulysses_
Senior Member
 
Registered: Jul 2009
Posts: 1,303

Original Poster
Rep: Reputation: 57
Quote:
Originally Posted by TB0ne View Post
Sorry, you can pretty much spoof anything, even down to MAC addresses.
That won't stop sophisticated trolls then from creating another account every time they get banned. But surely, someone who goes around insulting strangers over the internet as a hobby won't be that sophisticated technically.
 
Old 08-16-2009, 09:36 AM   #6
z-vet
Member
 
Registered: Aug 2004
Location: Israel
Distribution: LMDE 5
Posts: 271

Rep: Reputation: 34
Quote:
Originally Posted by Ulysses_ View Post
That won't stop sophisticated trolls then from creating another account every time they get banned. But surely, someone who goes around insulting strangers over the internet as a hobby won't be that sophisticated technically.
You'll be surprised: there are many very technically skilled trolls. Really.
 
Old 08-17-2009, 08:51 AM   #7
Ulysses_
Senior Member
 
Registered: Jul 2009
Posts: 1,303

Original Poster
Rep: Reputation: 57
It appears chase manhattan and the bank of america have found a way to uniquely identify computers:

"In a nutshell they gather 30 or so pieces of information to identify your machine and compare it to a known list of your 'trusted machines'. This includes things such as browser version, plugin versions, etc. If you've ever used bank of america for you know that the site knows who you are when you login from the same machine and performs additional challenge responses when you try logging in from another one.
(...)
You could grab those checkpoints in a similar fashion to the machineid technologies, and send them off to an ad server over ssl in a query string. If example.com hosts ads from adserver.com, then the code in example.com could fetch adserver.com code to first gather this info, dynamically generate a url and css history theft to see if that unique user has visited the specific adserver.com url. If they had visited it then the user had loaded an ad from adserver.com in the past. At that point additional JS could fire performing a request to adserver.com with the name of the URL being visited or obtain this information via a referer header. Next the user visits cnn.com it also has the same code/src include, generates the same url, css history theft compares then continues doing the same thing. The adserver company now can track without cookies which sites the specific user has visited regardless of browser or IP."

http://web.archive.org/web/200801271...com/2007/04/10

Here's evidence of chase manhattan bank doing something similar:

http://www.tek-tips.com/viewthread.c...1359398&page=4

Does anyone know of a good programming forum?
 
Old 08-17-2009, 08:55 AM   #8
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,748
Blog Entries: 11

Rep: Reputation: 233Reputation: 233Reputation: 233
Quote:
Originally Posted by Ulysses_
At that point additional JS could fire performing a request to adserver.com with the name of the URL being visited or obtain this information via a referer header.
As soon as you go into JS you leave it all to the computer user...
 
Old 08-17-2009, 10:01 AM   #9
Ulysses_
Senior Member
 
Registered: Jul 2009
Posts: 1,303

Original Poster
Rep: Reputation: 57
Do you mean that's a popup the user can say no to?
 
Old 08-17-2009, 04:36 PM   #10
z-vet
Member
 
Registered: Aug 2004
Location: Israel
Distribution: LMDE 5
Posts: 271

Rep: Reputation: 34
@Ulysses_: JS is client-side, i can just disable it or/and have things like AdBlock and NoScript installed.
 
Old 08-17-2009, 05:37 PM   #11
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
// ...and given this the OP's next question will be "Does anyone know of a good programming forum?" if he has some consistency ;-p
 
1 members found this post helpful.
Old 08-17-2009, 06:12 PM   #12
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Nobody mentioned DMI decoding yet. However, how somebody might gain access to the DMI information of a particular machine (via web connection) is beyond me. I mean, it isn't something that can be accessed willy-nilly by a web browser or whatever; the information would have to be either supplied willingly, or hacked out of the machine by some means.

Note also that while DMI infomration can and would uniquely identify a machine, in order for it to do so, the information need be fully and properly filled out within the machine's BIOS, which it is not always the case. Take for example my DMI information:

Code:
bash-3.1# /usr/sbin/dmidecode

# dmidecode 2.10              
SMBIOS 2.5 present.           
54 structures occupying 1995 bytes.
Table at 0x000FB4F0.               

<--snip-->

Handle 0x0001, DMI type 1, 27 bytes
System Information                 
        Manufacturer: MSI          
        Product Name: MS-7350      
        Version: 1.0               
        Serial Number: To Be Filled By O.E.M.
        UUID: Not Present                    
        Wake-up Type: Power Switch           
        SKU Number: To Be Filled By O.E.M.   
        Family: To Be Filled By O.E.M.       

Handle 0x0002, DMI type 2, 15 bytes
Base Board Information             
        Manufacturer: MSI          
        Product Name: MSI P6N SLI  
        Version: 1.0               
        Serial Number: To be filled by O.E.M.
        Asset Tag: To Be Filled By O.E.M.    
        Features:                            
                Board is a hosting board     
                Board is replaceable         
        Location In Chassis: To Be Filled By O.E.M.
        Chassis Handle: 0x0003                     
        Type: Motherboard                          
        Contained Object Handles: 0                

Handle 0x0003, DMI type 3, 21 bytes
Chassis Information                
        Manufacturer: To Be Filled By O.E.M.
        Type: Desktop                       
        Lock: Not Present                   
        Version: To Be Filled By O.E.M.     
        Serial Number: To Be Filled By O.E.M.
        Asset Tag: To Be Filled By O.E.M.    
        Boot-up State: Safe                  
        Power Supply State: Safe             
        Thermal State: Other                 
        Security Status: None                
        OEM Information: 0x00000000          
        Height: Unspecified                  
        Number Of Power Cords: 1             
        Contained Elements: 0                
<--snip-->
Besides, a determined person *could* alter this information too, on their own machine.

I don't believe there's a GUARANTEED way that will work EVERY time.


Sasha
 
Old 08-17-2009, 06:43 PM   #13
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by GrapefruiTgirl View Post
Nobody mentioned DMI decoding yet.
Nice one!


Quote:
Originally Posted by GrapefruiTgirl View Post
However, how somebody might gain access to the DMI information of a particular machine (via web connection) is beyond me.
Yeah, reading SMBIOS requires root account rights.


Quote:
Originally Posted by GrapefruiTgirl View Post
Note also that while DMI information can and would uniquely identify a machine, in order for it to do so, the information need be fully and properly filled out within the machine's BIOS, which it is not always the case.
That's an understatement. Luckily the manual page reads: "More often than not, information contained in the DMI tables is inaccurate, incomplete or simply wrong." But what if it's not a PC, a PC before 1998, a PC before 2000, or how about virtualization BIOS, dmidecode being fux0red, the BIOS call being fux0red or not getting the DMI table address anyway?..
 
Old 08-18-2009, 03:31 PM   #14
Ulysses_
Senior Member
 
Registered: Jul 2009
Posts: 1,303

Original Poster
Rep: Reputation: 57
Quote:
Originally Posted by z-vet View Post
@Ulysses_: JS is client-side, i can just disable it or/and have things like AdBlock and NoScript installed.
What if the site forces you to have JS enabled, java enabled, flash enabled, etc, etc? And crucially, if it does so without anything popping up asking for permission. That wouldn't put off too many people.

Would you be a member of this forum if flash, java, javascript had to be enabled? Then the versions of all these, plus other info such as the info used by the banks (see above), would make up an almost unique id.

And crucially, you wouldn't know what the id is made up from, so it would take ages for any troll to work out what features to re-install (addins, extensions etc) - enough to put off all but the most terminal cases of hateful troll.

Last edited by Ulysses_; 08-18-2009 at 03:34 PM.
 
Old 08-18-2009, 04:03 PM   #15
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Any forum that required that Adblock and NoScript not be used would eliminate a huge amount of the community one wants on a forum. One of the first things most security people suggest is that you shut off flash and javascript, so you will be going against the grain right from the start. If a troll wants in bad enough they will get in. If you make them jump through too many hoops they are more likely to get irritated to the point that they will do more than just troll.
 
  


Reply



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
how to uniquely store leased mac address to a file Winanjaya Linux - Server 5 04-02-2009 02:44 AM
Uniquely identify a computer MikeyCarter Linux - Software 1 01-17-2008 05:36 PM
Computer Identified over the Internet? cwizardone Slackware 12 08-27-2007 05:57 PM
udevinfo - how do I uniquely identify the port a usb is on jjamesis Fedora 4 08-07-2007 08:31 AM
QUIZ!-indentifying packets uniquely... alaios Linux - Networking 4 03-29-2005 09:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:26 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