by MichaelHoste on 5/9/21, 7:54 PM with 12 comments
I received my new credit card with a reminder of my current PIN. I'm not sure how that could be possible without having a database of their customer names, addresses and secret PINs as plain text somewhere.
Shouldn't it be common sense to salt and hash them like any other stored password?
4-digits PINs are also used for other systems like SIM cards or ID cards in Europe, and I guess people often use the same code. Malicious employees could get access to bank accounts or smartphones of their relatives.
And If a leak happens, PINs will be on the wild with names and addresses attached to them, couldn't it be dangerous?
Do I take PIN way too seriously? Should I contact someone about this?
by elric on 5/9/21, 7:59 PM
Don't sweat it. This is the least of your concerns.
by Hackbraten on 5/9/21, 9:10 PM
At the same time, why should a bank even include a large-scale leak in their threat model? If a leak happens, the bank is doomed no matter what. No one is going to trust them with their money ever again. So from the bank’s point of view, any post-exposure mitigation, such as hashing a PIN, would likely be a waste of money.
Also, most customers are ok with their account being temporarily locked down in case someone enters a wrong PIN more than a few times. No other business gets away with doing that.
I suspect those are two of the reasons why brute force attacks aren’t at the top of your bank’s threat list, which is probably why they get away with four-digit PINs in 2021 and still sleep at night.
by eloeffler on 5/10/21, 9:15 AM
However, as soon as the magnetic strop is completely replaced, wouldn't it make sense to store a more complex secret on the chip of the card that will then be transmitted upon entering the correct pin? That would be proper 2FA, I would say.
Of course the chip would have to lock down after multiple attempts (brute force) and it should be non-trivial to access the memory of the chip from the outside, which is already the case I assume? (looking at experts)
by VStrike on 5/9/21, 7:59 PM
by sloaken on 5/10/21, 10:05 AM
I had not really thought about this problem, of the PIN being so short, but I assume they work on the idea of: some thing you own (the card), and something you know (the PIN) to provide security.
by zzo38computer on 5/10/21, 1:14 AM
But, I agree I think that it would probably be better to salt and hash the password like other systems do.
(I don't have a credit card though; I prefer to pay in cash. But if I did, one of the things that I would probably want is a longer password.)