News for hackers. Stuff that matters.
Re:When Undercover Credit Card Buys Go Bad by hibikir on Tuesday December 08, 2015 @11:46AM (#10697517)
While I do not want to name names, I have worked for a very large retailer that everyone in the US would know that stored credit card information for quite a long time. They are large enough to do large chunks of their credit card processing themselves, instead of having a third party processor. They even have their own set of cards that they process themselves. It might have changed in the last few years though.

Either way, they did take PCI DSS seriously, and passed audits: dual control requirements for keys and all that. Still, accounting could print reports with many credit card numbers, although it was all logged and relatively well tracked.

I have not worked in a lot of big retailers though, but I have seen others that featured searching for a missing receipt by credit cards number, or refunds to the original CC way past the window where a processor can just reverse a charge. There's also online retailers, that definitely remember your credit card number. So I suspect there are plenty of retailers that at least have historically kept CC numbers, whether being PCI compliant or not is another matter entirely.

Re:When Undercover Credit Card Buys Go Bad by chewyfruitloop on Tuesday December 08, 2015 @03:56PM (#10699439)
I worked at a place ~10 years ago that had full PCI certification, you only have to be compliant if your the one doing the processing. We had loads of 3rd party clients using one of the customer facing applications that's stored the card details and potentially the cv2 numbers in the clear. They then sent them to us to batch process a couple of times a day. If their connection crapped out, they sent them again later. I distinctly remember reprocessing card details of transactions that had happened more than 2 weeks prior. Credit card numbers are incredibly easy to generate too, the check digit routine is well known, and you can just try the other details randomly for small amounts till you hit jackpot.

I haven't read Brian's post though because I'm getting 503 errors atm.

Re:When Undercover Credit Card Buys Go Bad by PeterisP on Tuesday December 08, 2015 @07:28PM (#10700945)
You can't really "try the other details randomly for small amounts till you hit jackpot" - merchants who do that (or if their service allows others to do that) get simply kicked out of the network, pretty much every acquirer will monitor your rejection rates closely.
Re:When Undercover Credit Card Buys Go Bad by jeffasinger on Tuesday December 08, 2015 @01:04PM (#10698127)
Storing the a cryptographic hash of the credit card number would allow for searching for receipts by credit card number without storing the actual credit card number.
Re:When Undercover Credit Card Buys Go Bad by javawizard on Tuesday December 08, 2015 @01:17PM (#10698198)
Credit card numbers aren't nearly long enough to prevent a brute force attack against anything of the nature.
Re:When Undercover Credit Card Buys Go Bad by Terr_ on Tuesday December 08, 2015 @01:59PM (#10698511)
I think it partly depends on how many customers the store has. If it's a mom-and-pop place with a salt on their hash, attackers would get much less "profit" out of their search.

Anywho, just going to engage in some half-assed napkin-math to explore the idea:

Card numbers: 6 digits for institution and 9 for the customer and 1 for checksum. Let's assume merely 20 big issuers "worth attacking". The possibility-space to search is then (20 * 9^10), or ~70 million.

Suppose that--by design--it takes 2 seconds to compute the hash. Covering the whole range would take ~4420 years. That's... not a very comforting margin.

Perhaps you could hash the credit-card along with the year-month in which the purchase occurred, but attackers probably aren't interested in >12 month old cards, so that's only a small 12x slowdown there.

Re:When Undercover Credit Card Buys Go Bad by sbov on Tuesday December 08, 2015 @03:16PM (#10699127)
If the point of storing them is to search for credit card matches, I don't see how you could salt them in any useful way.

Beyond that, most things display first four & last four, so you can probably assume they have that too.

Re:When Undercover Credit Card Buys Go Bad by Terr_ on Tuesday December 08, 2015 @07:44PM (#10701047)
> I don't see how you could salt them in any useful way

Yes, I agree. Even two seconds of waiting for your search is a little on the high side, UI-wise.

> Beyond that, most things display first four & last four

My impression is that "only last four" is the most-common.

Re:When Undercover Credit Card Buys Go Bad by icebraining on Tuesday December 08, 2015 @02:09PM (#10698589)
Are card numbers perfectly random? I mean, excluding the industry/company identifier and the check digit?
Re:When Undercover Credit Card Buys Go Bad by Terr_ on Tuesday December 08, 2015 @02:16PM (#10698648)
Whoops, it seems I kept editing without seeing your reply. Sorry, bad habit of mine. I don't know how random the customer-portion is, but I assume/hope it is. I put some napkin-math in, but AFACT javawizard's right about the basic issue.

It might be a different story if the system required users to also enter in data like the exact customer first/last name.

Re:When Undercover Credit Card Buys Go Bad by keehun on Tuesday December 08, 2015 @04:01PM (#10699476)
There's a way to generate subsequent AMEX Card numbers once the card is deactivated[0]

http://www.wired.com/2015/11/samy-kamkar-10-dollar-tool-can-...

Re:When Undercover Credit Card Buys Go Bad by 7952 on Tuesday December 08, 2015 @03:48PM (#10699372)
The problem is not that the merchant stores a number, but that all the merchants store the same number. Why not just use OAuth?