Is your MAC address revealed when you hit up a website?

18

9

When you hit up a site, such as cnn.com, does the TCP/IP packet contain the MAC address of your network card?

Could cnn.com theoretically record my MAC address?

AngryHacker

Posted 2010-02-27T02:09:36.737

Reputation: 14 731

Answers

27

In IPv4: Nope. They will see the MAC of the device which forwarded the packet to the server, likely their border router.

In IPv6, the 64 bit "host" part of the full 128 bit address is often automatically generated from the MAC address, and hence might be visible to the server one connects to. See also How to avoid exposing my MAC address when using IPv6?

John T

Posted 2010-02-27T02:09:36.737

Reputation: 149 037

4+1 for correct answer, and bonus reminder of what mac they would see. – Ian Boyd – 2010-02-27T02:36:10.963

@Ian Boyd & @Jonn T So where is the furthest point in the chain that my mac address would be seen? My ISP? – AngryHacker – 2010-02-27T02:41:22.760

5MAC addresses only exist on Ethernet networks. MAC addresses stop at your Cable/DSL modem (so your ISP could see that). Even that will only see the MAC address of what it is connected to, if that's a router it sees the MAC address of the router and not your computer's. – shf301 – 2010-02-27T03:17:36.603

@shf301, true, for IPv4. Not so much for IPv6 (like I edited into the answer). – Arjan – 2011-02-04T11:21:07.427

Of course this answer ignores the possibility of client-side scripts (embedded in the web page) that fetch the information locally and then upload it to the server. Getting a MAC address that way might not work on all browsers, but there's a lot of information that is available. – Ben Voigt – 2014-01-29T20:12:04.860

-3

And how do you know that CNN is not executing ipconfig /all from the browser java scripts, and collecting the data, then parsing it and recording the MAC?

You can start by purchasing the computer with cash anonymously somewhere. Go to a public Wifi and use that for access.

And finally, somehow lock down your ipconfig commands. This may not do the trick though because a smart enough programs can go straight into a particular memory address and read it. I suspect the MAC address is always placed in the same address of memory and can be retrieved. You need to set up your OS so it will not allow direct access to memory without the highest level of access, then never go to a website while logged in to admin level.

Nat

Posted 2010-02-27T02:09:36.737

Reputation: 5

1Websites cannot execute arbitrary commands on the computer unless there is a security bug in the browser. – kinokijuf – 2014-12-16T18:26:42.747

3This answer appears to be conjecture, rather than facts, and purchasing a computer for cash has nothing to do with the question. – fixer1234 – 2014-12-16T18:31:46.323

1The same way I know websites aren't executing format C: or download virus.exe on my PC – qasdfdsaq – 2016-11-11T17:21:29.560