How do banks remember "your computer"?
Asked Answered
H

10

24

As many of you probably know, online banks nowadays have a security system whereby you are asked some personal questions before you even enter your password. Once you have answered them, you can choose for the bank to "remember this computer" so that in the future you can login by only entering your password.

How does the "remember this computer" part work? I know it cannot be cookies, because the feature still works despite the fact that I clear all of my cookies. I thought it might be by IP address, but my friend with a dynamic IP claims it works for him, too (but maybe he's wrong). He thought it was MAC address or something, but I strongly doubt that! So, is there a concept of https-only cookies that I don't clear?

Finally, the programming part of the question: how can I do something similar myself in, say, PHP?

Hhour answered 28/8, 2008 at 18:37 Comment(0)
C
20

In fact they most probably use cookies. An alternative for them would be to use "flash cookies" (officially called "Local Shared Objects"). They are similar to cookies in that they are tied to a website and have an upper size limit, but they are maintained by the flash player, so they are invisible to any browser tools.

To clear them (and test this theory), you can use the instructions provided by Adobe. An other nifty (or maybe worrying, depending on your viewpoint) feature is that the LSO storage is shared by all browsers, so using LSO you can identify users even if they switched browser (as long as they are logged in as the same user).

Continually answered 28/8, 2008 at 18:45 Comment(0)
S
7

The particular bank I was interested in is Bank of America.

I have confirmed that if I only clear my cookies or my LSOs, the site does not require me to re-enter info. If, however, I clear both, I had to go through additional authentication. Thus, that appears to be the answer in my particular case!

But thank you all for the heads-up regarding other banks, and possibilities such as including the User-Agent string.

Standard answered 28/8, 2008 at 20:31 Comment(0)
P
5

This kind of session tracking is very likely to be done using a combination of a cookie with a unique id identifying your current session, and the website pairing that id with the last IP address you used to connect to their server. That way, if the IP changes, but you still have the cookie, you're identified and logged in, and if the cookie is absent but you have the same IP address as the one save on the server, then they set your cookie to the id paired with that IP.

Really, it's that second possibility that is tricky to get right. If the cookie is missing, and you only have your IP address to show for identification, it's quite unsafe to log someone in just based of that. So servers probably store additional info about you, LSO seem like a good choice, geo IP too, but User Agent, not so much because they don't really say anything about you, every body using the same version of the same browser as you has the same.

As an aside, it has been mentioned above that it could work with MAC adresses. I strongly disagree! Your MAC address never reaches your bank's server, as they are only used to identify sides of an Ethernet connection, and to connect to your bank you make a bunch of Ethernet connections: from your computer to your home router, or your ISP, then from there to the first internet router you go through, then to the second, etc... and each time a new connection is made, each machine on each side provide their very own MAC addresses. So your MAC address can only be known to the machines directly connected to you through a switch or hub, because anything else that routes your packets will replace your MAC with their own. Only the IP address stays the same all the way. If MAC addresses did go all the way, it would be a privacy nightmare, as all MAC addresses are unique to a single device, hence to a single person.

This is a slightly simplified explanation because it's not the point of the question, but it seemed useful to clear what looked like a misunderstanding.

Pagination answered 28/8, 2008 at 22:44 Comment(0)
L
1

It could be a combination of cookies, and ip address logging.

Edit: I have just checked my bank and cleared the cookies. Now I have to re-enter all of my info.

Lanham answered 28/8, 2008 at 18:38 Comment(0)
E
1

I think it depends on the bank. My bank does use a cookie since I lose it when I wipe cookies.

Engeddi answered 28/8, 2008 at 18:41 Comment(0)
I
1

It is possible for flash files to store a small amount of data on your computer. It's also possible that the bank uses that approach to "remember" your computer, but it's risky to rely on users having (and not having disabled) flash.

Intuitional answered 28/8, 2008 at 18:41 Comment(0)
I
1

My bank's site makes me re-authenticate every time a new version of Firefox is out, so there's definitely a user-agent string component in some.

Indent answered 28/8, 2008 at 18:43 Comment(0)
M
0

Are you using a laptop? Does it remember you, after you delete your cookies, if you access from a different WiFi network? If so, IP/physical location mapping is highly unlikely.

Malediction answered 28/8, 2008 at 18:41 Comment(0)
N
0

Based on all these posts, the conclusions that I'm reaching are (1) it depends on the bank and (2) there's probably more than one piece of data that's involved, but see (1).

Northeast answered 28/8, 2008 at 18:45 Comment(0)
P
-1

MAC address is possible.

IP to physical location mapping is also a possibility.

User agents and other HTTP headers are quiet unique to each of the machines too.

I'm thinking about those websites that prevents you from using an accelerating download managers. There must be a way.

Pentheus answered 28/8, 2008 at 18:39 Comment(1)
wrong, mac address is on layer 2 they only have access to layer 3 or upper layersIrra

© 2022 - 2024 — McMap. All rights reserved.