News for hackers. Stuff that matters.
Re:Why are McDonald’s Self Service Kiosks so hackable? by kyelewis on Sunday July 24, 2022 @08:07PM (#32219121)
As pointed out here, the huge assumption in this article is is:

> If someone installs malware on here - just insert a usb stick or use the recovery mode - then tada we have the next generation of atm skimming.

Which is just not how these payment devices work- they are entirely separate, they are sent a request to make a transaction, that transaction (and also likely the transaction request itself) occur entirely in a secure connection between someone like Verifone, and the device itself.

The PC has has no way to get those card details, only request a transaction and confirm a payment status as successful or failed.

Re:Why are McDonald’s Self Service Kiosks so hackable? by avianlyric on Monday July 25, 2022 @06:59AM (#32222802)
You might not be able skim card details, but you could probably get the terminal to issue unexpected transactions.

The most interesting transaction would be a very large refund. I’ve seen organised crime groups target restaurants in the past to issue themselves £1k+ refunds. They pretend to pay for meal, and while they have the EMV terminal in their hand, they cancel the original transaction, put the device into management mode (using default passwords) and issue themselves a nice large refund.

It’s a complete pain in the arse for the banks receiving these refunds to catch and deal with properly. It’s surprisingly hard to return the money to the restaurant.

Re:Why are McDonald’s Self Service Kiosks so hackable? by honkdaddy on Monday July 25, 2022 @09:23AM (#32223887)
That’s pretty funny. Not that the restaurants deserve to be stolen from, but using the default password on an EMV is about as foolish as a restaurant leaving their registers open. I’m surprised the terminals don’t force you to at least set your own passcode.
Re:Why are McDonald’s Self Service Kiosks so hackable? by vishnugupta on Monday July 25, 2022 @04:23AM (#32221813)
+1. To add, the modern EMV chip enabled transactions are not at all like magnetic stripe transactions. The chip in the card is not a passive storage but is also a computation device that signs a transaction, generates one time keys etc.,

Of course it is still possible to skim the card number off of magnetic strip and sell it in the darknet. However, the static card number is becoming less and less of a relevant thing now a days as more sites/processors are migrating to dynamic auth such as Apple Pay etc.,

A good overview + detail : https://www.youtube.com/watch?v=Zv1DjtBwADg

Re:Why are McDonald’s Self Service Kiosks so hackable? by tjoff on Monday July 25, 2022 @09:09AM (#32223746)
NFC cards dominate here though, which effectively negates the many benefits of chip cards.
Re:Why are McDonald’s Self Service Kiosks so hackable? by notatoad on Monday July 25, 2022 @09:54AM (#32224308)
NFC transactions are powered by the EMV chip, and include all the same signing ond one-time-key exchange as a chip-insertion but without the potential for skimming the mag strip
Re:Why are McDonald’s Self Service Kiosks so hackable? by tjoff on Monday July 25, 2022 @11:01AM (#32225302)
Encrypted in the same sense that https is encrypted. Doesn't do jack if you have control over the "server".

And in this case the server can have a large antenna and not require physical contact.

So in essence, orders of magnitude worse than the magnetic strip.

Re:Why are McDonald’s Self Service Kiosks so hackable? by aerostable_slug on Monday July 25, 2022 @04:56PM (#32230812)
This is fundamentally incorrect.

Sniffing the NFC traffic gives the attacker nothing useful, just as skimming an EMV contact transaction gives the attacker nothing useful.

>The contactless EMV chip transaction path leverages the cryptographic functions normally associated with a contact EMV chip transaction and uses the same authorization and settlement fields as a contact chip transaction. [0] [1]

[0]: https://www.emv-connection.com/downloads/2015/12/EMV-and-NFC...

[1]: See EMV specifications, “Book 2 – Security and Key Management,” Version 4.3, November, 2011, http://www.emvco.com/specifications.aspx?id=223.

Re:Why are McDonald’s Self Service Kiosks so hackable? by tjoff on Monday July 25, 2022 @05:50PM (#32231392)
Why would you need to sniff anything?

Just ask for it yourself. That's what I meant with encryption not meaning jack if you are one of the participants.

Re:Why are McDonald’s Self Service Kiosks so hackable? by notatoad on Monday July 25, 2022 @05:26PM (#32231151)
the "server" in this case provides a one-time key to sign the transaction with, which is only valid for that transaction and that merchant. if you have a large antenna that can provide valid transaction keys for a trusted merchant, then yes, you have a significant exploit.

to my knowledge, nobody has ever successfully demonstrated an exploit of this nature.

Re:Why are McDonald’s Self Service Kiosks so hackable? by tjoff on Monday July 25, 2022 @05:51PM (#32231412)
The "server" in this case is a rouge device.

It is trivially employed.

Re:Why are McDonald’s Self Service Kiosks so hackable? by notatoad on Tuesday July 26, 2022 @12:44AM (#32234328)
I’m not sure why the color of the device matters here
Re:Why are McDonald’s Self Service Kiosks so hackable? by btown on Sunday July 24, 2022 @09:06PM (#32219485)
But if an attacker owns the touchscreen, they can do nefarious things like adding a "Please re-enter your PIN on the touchscreen to confirm your purchase" dialog, then match that PIN against a separate leaked database of card numbers and user identities. It's not just whether the card reader can be pivoted to; it's the entire notion that the kiosk itself carries the trust of the overall brand.
Re:Why are McDonald’s Self Service Kiosks so hackable? by naugtur on Monday July 25, 2022 @01:59AM (#32220988)
If you can match a pin to a database of cards numbers, I can supply you with a database of all pins in existence
Re:Why are McDonald’s Self Service Kiosks so hackable? by belter on Monday July 25, 2022 @05:33AM (#32222274)
You joke, but if we talk about web applications, one dangerous attack is not to guess the user password, but instead to match the most common passwords to a list of inventoried users...
Re:Why are McDonald’s Self Service Kiosks so hackable? by sandworm101 on Monday July 25, 2022 @03:35AM (#32221552)
Damn. How many bitcoins did you spend on that leak?
Re:Why are McDonald’s Self Service Kiosks so hackable? by sgjohnson on Monday July 25, 2022 @03:52AM (#32221645)
for (i = 0; i <= 9999; i++) { ... }
Re:Why are McDonald’s Self Service Kiosks so hackable? by sandworm101 on Monday July 25, 2022 @04:02AM (#32221708)
Glad to see that my 6-digit pin is safe from hacking for at least a few more years.
Re:Why are McDonald’s Self Service Kiosks so hackable? by forinti on Monday July 25, 2022 @05:44AM (#32222338)
In 2009 my card had a 6-digit PIN and I went on holiday to Argentina. The card readers there only accepted 4 digits and they validated my card with the first 4 digits of my PIN.

That was a bit disconcerting.

Re:Why are McDonald’s Self Service Kiosks so hackable? by sgjohnson on Monday July 25, 2022 @06:11AM (#32222491)
PIN is actually completely optional.

A rogue terminal can decide to authorize the transaction with a “signature” (there are legitimate uses for this)

Or even with no PIN at all (there are also legitimate uses for this)

It’s also possible to do either of these 2 things and then report back that the transaction what authorized with a PIN

Re:Why are McDonald’s Self Service Kiosks so hackable? by Goz3rr on Monday July 25, 2022 @08:13AM (#32223272)
On that subject, I (a European) went to the US last week. It was time to pay at a restaurant in their needlessly complicated way where they hand you the bill, you return them the bill with your card and then they return once more for you to fill out the tip. Shortly after the second step the waiter returned apologizing, saying they could not bypass the PIN on the card like they normally could (which was slightly startling to me) and asked if I could come with them to enter it on the payment terminal myself.
Re:Why are McDonald’s Self Service Kiosks so hackable? by sgjohnson on Monday July 25, 2022 @10:39AM (#32224949)
Must have been a debit card that flat out refused anything but Chip & PIN.

Most cards aren't like this.

With my UK issued AmEx & Visa cards (both Charge/Credit), at certain places terminal didn't even ask me for a PIN, and the transaction just went through as "Chip & Signature"

Re:Why are McDonald’s Self Service Kiosks so hackable? by dzhiurgis on Monday July 25, 2022 @05:02PM (#32230878)
Up in Lithuania they now starting to have a contactless tipping device where you scroll the wheel to select tip amount.

Which is kinda pointless since if you are paying and receiving service at the counter - you aren't really receiving a service to tip for.

Re:Why are McDonald’s Self Service Kiosks so hackable? by saiya-jin on Monday July 25, 2022 @06:42AM (#32222690)
Same experience (card came with default 6-digit pin that I didn't change), never have longer-than-4 pin when traveling outside of western democracies. The fact that it worked made me doubt that it was actually verified, but didn't have balls to play with this too far away from easily obtainable money
Re:Why are McDonald’s Self Service Kiosks so hackable? by hardware2win on Monday July 25, 2022 @06:10AM (#32222481)
What the...?

Its crazy, but kinda reasonable

Re:Why are McDonald’s Self Service Kiosks so hackable? by bomdo on Monday July 25, 2022 @04:23AM (#32221807)
Don't be so sure of that. If your PIN just happens to start with 00, it is fairly trivial to jury-rig a common 4-digit hacking device to crack your 6-digit PIN.
Re:Why are McDonald’s Self Service Kiosks so hackable? by sgjohnson on Monday July 25, 2022 @04:50AM (#32221998)
jerry-rig*
Re:Why are McDonald’s Self Service Kiosks so hackable? by pliny on Monday July 25, 2022 @05:15AM (#32222164)
Re:Why are McDonald’s Self Service Kiosks so hackable? by O__________O on Monday July 25, 2022 @05:47AM (#32222350)
eggcorn, acorn, all the same, just a different name:

https://en.m.wiktionary.org/wiki/eggcorn

Re:Why are McDonald’s Self Service Kiosks so hackable? by notafraudster on Monday July 25, 2022 @04:24AM (#32221818)
This is why my PIN is 9998.
Re:Why are McDonald’s Self Service Kiosks so hackable? by vorticalbox on Monday July 25, 2022 @06:56AM (#32222783)
I believe most banks stop sequence numbers such as "1234", "9876"
Re:Why are McDonald’s Self Service Kiosks so hackable? by cuteboy19 on Monday July 25, 2022 @08:47AM (#32223559)
Less work to do for the hacker, how kind
Re:Why are McDonald’s Self Service Kiosks so hackable? by thfuran on Monday July 25, 2022 @09:11AM (#32223761)
Marginally reducing the search space to prevent significant clustering probably is beneficial.
Re:Why are McDonald’s Self Service Kiosks so hackable? by sgjohnson on Monday July 25, 2022 @07:10AM (#32222880)
They probably do, but those still are valid PINs, that some banks probably don’t block.
Re:Why are McDonald’s Self Service Kiosks so hackable? by y4mi on Monday July 25, 2022 @03:57AM (#32221679)
Aren't card PINs only 4 numbers long? That's almost 10k possible combinations I believe, pretty trivial to put together.

Checking which corresponds to what card is the hard step because you need access to an acquirer to my knowledge, and you'll lose that access quiet quickly if you attempt too many incorrect combinations.

Re:Why are McDonald’s Self Service Kiosks so hackable? by Reason077 on Monday July 25, 2022 @04:40AM (#32221933)
You can use more than 4 digits if you want a more secure PIN.

EMV (the card standard used by all modern chip/contactless cards) supports PINs between 4-12 digits in length.

Re:Why are McDonald’s Self Service Kiosks so hackable? by hoppla on Monday July 25, 2022 @04:50AM (#32222000)
I have been wanting to try a 4< digit pin, but I expect payment terminals to go bonkers because they don’t accept it. Have any of you a card pin longer than 4?
Re:Why are McDonald’s Self Service Kiosks so hackable? by iakov on Tuesday July 26, 2022 @05:57AM (#32236296)
Six-digit pin works well for me in European countries - Czechia, Germany, Austria, Spain, Italy.
Re:Why are McDonald’s Self Service Kiosks so hackable? by Reason077 on Monday July 25, 2022 @05:08AM (#32222121)
My girlfriend used a 5-digit PIN for over 10 years in the UK and never had any issues that I can recall.

I’d change mine too except I use the PIN so infrequently (99% contactless now days) I’m worried I’d forget the new one!

Re:Why are McDonald’s Self Service Kiosks so hackable? by soco on Monday July 25, 2022 @06:29AM (#32222612)
Just try and be surprised - no issues.
Re:Why are McDonald’s Self Service Kiosks so hackable? by saiya-jin on Monday July 25, 2022 @06:44AM (#32222708)
just don't try to use it in some remote exotic place, 4 places are often hardcoded but you may still be able to withdraw/pay, or not
Re:Why are McDonald’s Self Service Kiosks so hackable? by ChoGGi on Monday July 25, 2022 @10:35AM (#32224884)
Mine is eight digits, never tried it outside Canada yet.
Re:Why are McDonald’s Self Service Kiosks so hackable? by InCityDreams on Monday July 25, 2022 @04:26AM (#32221835)
All pins in my country are 5 digits. Which can be annoying for four-d visitors (depends on the bank, and I've not heard of problems for a while).
Re:Why are McDonald’s Self Service Kiosks so hackable? by charles_f on Monday July 25, 2022 @04:45AM (#32221965)
Damned, with 5 digits, the cost of storage alone is a deterant for a rainbow table
Re:Why are McDonald’s Self Service Kiosks so hackable? by Gigachad on Sunday July 24, 2022 @09:14PM (#32219533)
It would be a huge amount of work to pull this off and it's something that would be detected within the day because its so odd and not at all how normal payment flows work.

Not clear how you would match the pin either without having some personal info on the user which you don't have.

Re:Why are McDonald’s Self Service Kiosks so hackable? by alonsonic on Sunday July 24, 2022 @11:21PM (#32220200)
Exactly. The kiosk app that communicates to the terminal only gets a "transaction approved" response. There is no personal identifiable information provided to the kiosk app so there would be no way to link the pin they typed in the kiosk back to the customer identity or card number.

In short, for the kiosk this is a anonymous transaction that was confirmed paid.

The most you could do is ask for more details in the kiosk app which would be clunky and very suspicious.

Re:Why are McDonald’s Self Service Kiosks so hackable? by BoorishBears on Sunday July 24, 2022 @10:57PM (#32220083)
You could also tape a piece of paper up with a fake (tech support/tax help/credit help/reverse mortgage) line with a fake McDonald's endorsement in the early hours of the morning and make off with plenty of victims as the senior crowd rolls in for a grand time investment of 60 seconds.

If you want to get creative with attacks you can, but sometimes comparing a creative attack to a "boring" attack can help frame the conversation.

I've written kiosk apps that landed across the US and while there was a ton of hand wringing about security, and in an informal setting I brought up a simple question:

If you reverse engineer the update process to have it show a penis, or you just carve a penis into the public display with a pocket knife, what's the difference and which is more likely to happen?

Re:Why are McDonald’s Self Service Kiosks so hackable? by franga2000 on Monday July 25, 2022 @02:33AM (#32221185)
If an attacker can take control of the update process, they can push a penis-showing (or actually dangerous) update to all the machines in the network. That could be hundreds or thousands! Good luck doing that with a pocket knife.

Also, vandalism is about the least interesting reason to hack kiosks. It can get you into an otherwise inaccessible network, which often contains all sorts of internal services with loose or no authentication (POS software often uses default creds because "it's on an internal netwok anyways"). Hacked kiosks are also often used as proxy servers for illegal activity and bots in DDoS botnets.

Re:Why are McDonald’s Self Service Kiosks so hackable? by BoorishBears on Monday July 25, 2022 @09:22AM (#32223875)
Did you read the article? This is about security on-device

The update process can be backed on the kiosk side, hacking the remote side of the update process is a completely different story.

I mean in some cases that was a simple signed package hosted on an S3 bucket... how are you going to leverage that to vandalize a network of devices?

And the kiosks are never on an interesting network (if they were there's dozens of ethernet ports scattered about the place you can use to get access anyways)

Hacked kiosks being used as proxy servers when you need physical access to hack is also a very uninteresting problem. Why risk tying your physical self to a bot for nefarious usage when there are a million and one other "IoT" devices you can pwn instead?

Re:Why are McDonald’s Self Service Kiosks so hackable? by tinus_hn on Monday July 25, 2022 @03:22AM (#32221461)
It’s the old joke of listening in on the McDrive intercom after putting up a sign saying ‘the microphone is acting up, please yell’
Re:Why are McDonald’s Self Service Kiosks so hackable? by Cyberdog on Sunday July 24, 2022 @08:53PM (#32219405)
So would it be possible to install software or hardware which always returns a "success" from the card reader hardware without it actually doing the transaction and give everyone who uses that machine free food until someone figures it out? Hmm…
Re:Why are McDonald’s Self Service Kiosks so hackable? by lelanthran on Monday July 25, 2022 @03:24AM (#32221476)
> So would it be possible to install software or hardware which always returns a "success" from the card reader hardware without it actually doing the transaction and give everyone who uses that machine free food until someone figures it out? Hmm…

Almost certainly not on EMV certified card acquirers, unless there is a bug in the firmware. These things are so locked down that, even as an authorised developer for the payment terminal, we had no access to the hardware, no way to view the cards encrypted payload, etc.

Re:Why are McDonald’s Self Service Kiosks so hackable? by lupire on Monday July 25, 2022 @09:11AM (#32223769)
Parent meant to ignore the EMV and have the kiosk just claim that all orders are paid, so the user gets food.
Re:Why are McDonald’s Self Service Kiosks so hackable? by tmpz22 on Monday July 25, 2022 @12:02AM (#32220365)
If we say average transaction size is $10 and that you’ll save 1.000 customers (generous) before you’re caught.

You just committed a felony to provide $10.000 in free food.

Might as well get a day job and make that contribution annually and skip federal prison.

Re:Why are McDonald’s Self Service Kiosks so hackable? by irjustin on Sunday July 24, 2022 @09:00PM (#32219446)
This is like a 2005 hack. I'm sure you could come up with at least one good solution to this problem.
Re:Why are McDonald’s Self Service Kiosks so hackable? by avianlyric on Monday July 25, 2022 @07:00AM (#32222809)
Or you could tweak the ordering software to completely ignore the terminal, and not bother charging at all.
Re:Why are McDonald’s Self Service Kiosks so hackable? by rtkwe on Monday July 25, 2022 @01:16PM (#32227613)
That should be pretty easy to block with signing they should already be doing.
Re:Why are McDonald’s Self Service Kiosks so hackable? by walterlb on Sunday July 24, 2022 @08:15PM (#32219172)
> Today at another McDonald's I observed the entire bootstrap process and can confirm that the kiosk indeed is responsible for installing “custom firmware” on the card reader

If this part is correct, it seems like an attacker could compromise the reader itself.

Re:Why are McDonald’s Self Service Kiosks so hackable? by MBCook on Sunday July 24, 2022 @08:27PM (#32219267)
I work with POS hardware at my job. The “custom firmware” is likely just some settings, screens for the POS to display (so they’re McD branded instead of the POS maker), and some per payment-processor configuration so the terminals are using the expected encryption (differs per processor and customer).

Even if it was real firmware (I doubt it), it’s likely the firmware for the POS device interface. I don’t believe that firmware has any control over the actual payment processing bits of hardware, just the software intermediary.

Since that intermediary only has access to EMV tags (which anyone in the payment path has) there is no point. The secret encryption stuff that secures passwords is not controlled from any layer an attacker could touch, outside of documented configuration parameters.

Re:Why are McDonald’s Self Service Kiosks so hackable? by judge2020 on Sunday July 24, 2022 @08:35PM (#32219308)
Even if it does handle delivering firmware updates to the device, I would be wholly surprised if the terminal doesn't at least do basic checks to make sure the firmware is signed (although, whether or not there are exploits to get around this is another thing).
Re:Why are McDonald’s Self Service Kiosks so hackable? by MBCook on Sunday July 24, 2022 @09:00PM (#32219442)
The devices I’ve seen all have signed firmware.
Re:Why are McDonald’s Self Service Kiosks so hackable? by avianlyric on Monday July 25, 2022 @07:01AM (#32222828)
Yeah the firmware should be signed and have an EMV certification. It’s a total pain in the arse to develop and deploy new software for these devices.
Re:Why are McDonald’s Self Service Kiosks so hackable? by charles_kaw on Sunday July 24, 2022 @08:20PM (#32219215)
Considering the article writer already expresses some clear misunderstandings, I don't think it's correct.

Maybe they witnessed it, but that would be a bigger deal than some shitty windows box being popped. Certainly, that would not pass compliance.

Re:Why are McDonald’s Self Service Kiosks so hackable? by AnotherGoodName on Sunday July 24, 2022 @08:38PM (#32219339)
Signed firmware though.

Those card readers also typically have photodiodes in them and numerous tamper switches pressed to the case to wipe their internal memory if tampered. Just to be clear I'm not talking about EPROM - they have actual photodiodes inside along with physical switches and a coin battery that will wipe the ROM if tampered.

It's common to have the tamper switches trigger if you drop the terminal. They'll need to be re-flashed from scratch when that happens. eg. https://stackoverflow.com/questions/33872627/how-to-fix-tamp...

Anyway the TLDR is that the Card Reader part of any POS system is reasonably secure.

Re:Why are McDonald’s Self Service Kiosks so hackable? by galangalalgol on Sunday July 24, 2022 @10:00PM (#32219803)
Fascinating! Is there more detail somewhere on this stuff? Its like a bomb squad drama, making a dam for liquid nitrogen to cool the coin cell below the voltage it can detonate the.. I mean clear the rom, opening the case in a dark tent around the device etc.
Re:Why are McDonald’s Self Service Kiosks so hackable? by wowokay on Sunday July 24, 2022 @11:30PM (#32220230)
I know from experience that similar setups tend to have the workstation load the verifone updates, so a package could be inserted, it would take some more insider knowledge.
Re:Why are McDonald’s Self Service Kiosks so hackable? by Too on Monday July 25, 2022 @01:30AM (#32220822)
Do these payment terminals have secure boot or other forms of update payload verification?

In that case the risk of accepting malicious updates from insecure touch screen would be much less.

Re:Why are McDonald’s Self Service Kiosks so hackable? by atwood22 on Sunday July 24, 2022 @08:16PM (#32219185)
Also chip cards don’t ever leak the CC number as part of the transaction. However, it seems like you could request a transaction for a different merchant?
Re:Why are McDonald’s Self Service Kiosks so hackable? by lyall on Sunday July 24, 2022 @09:11PM (#32219516)
Chip cards do send the card number as part of the transaction. They just also send other information that makes it easier to tell if the original card is physically present, meaning you don’t have to worry as much about someone stealing the details and spoofing your card.

You may be thinking of tokenization, which is a feature of some services such as Apple/Google Pay. This is where a “fake” account number—really a number that is scoped to eg a specific device or a specific merchant—is sent with the transaction. That then gets resolved to the real number somewhere down the processing pipeline closer to the card issuer. The benefit being if someone snoops this tokenized account number they won’t be able to use it thanks to the tight scoping.

Re:Why are McDonald’s Self Service Kiosks so hackable? by atwood22 on Monday July 25, 2022 @10:03AM (#32224454)
Are you sure? I thought chip cards worked using certificates signed by the card issuer. And transactions involved sending a nonce to be signed. Everything can be verified by the public key. I could totally be wrong though.
Re:Why are McDonald’s Self Service Kiosks so hackable? by lyall on Monday July 25, 2022 @10:11PM (#32233454)
Maybe that's how IC cards work in some places, but that's definitely not the normal EMV standard. I've worked on the implementation of EMV chip card processing through basically all the major networks and can tell you that we necessarily have access to—and have to store after—the raw card number to facilitate the transaction. There's a lot of encryption involved to prevent bad actors from getting access but it's far from end-to-end.
Re:Why are McDonald’s Self Service Kiosks so hackable? by charles_kaw on Sunday July 24, 2022 @08:18PM (#32219201)
In a correctly configured system, the terminal itself would have to be reconfigured. That can sort of be be done via the POS, but also requires credentials from the group that configured the terminal.

The terminals really don't trust the POS systems.

Re:Why are McDonald’s Self Service Kiosks so hackable? by AmericanChopper on Sunday July 24, 2022 @08:37PM (#32219333)
I used to work with those payment gateways, and I always wondered about that attack vector. The terminal config (where you’d put your merchant ID, etc…) is protected by a PIN code, but suppliers typically just use the same PIN for their entire fleet. It’s not really a secret PIN either, because the terminal tech support will usually end up getting merchants to type it in if there‘s some remote support/debugging needed.

You could reprogram a terminal in a bar in a few seconds on a Friday night. Wait for the weekends takings to clear into your merchant account, and then take off with the money. The way that it falls down though, is that you need a merchant account, and there’s a lot of KYC and due diligence to get through if you want to set one of those up (there are a lot of merchant initiated scams, and your bank doesn’t want to be on the hook for them).

Re:Why are McDonald’s Self Service Kiosks so hackable? by PeterisP on Sunday July 24, 2022 @08:50PM (#32219394)
> Wait for the weekends takings to clear into your merchant account, and then take off with the money.

That's the difficult part - since the acquiring bank is fully financially responsible if you do so (they'll compensate everyone else involved for the fraud chargebacks, no matter if they can recover it from you), they generally take quite stringent steps to fight merchant-initiated scams, and the simplest step is simply freezing the money for some time; 30 days is not uncommon but I have even seen 90 days if the merchant's profile is risky or if the incoming payment volume suddenly increases significantly - the bank is effectively treating any payments to the merchant as a line of credit or letter of guarantee until it's clear that those payments won't be fraudulent or charged back. So a merchant can quite realistically do some shenanigans with a reprogrammed terminal, but they won't be permitted to take off with a large amount of money from the merchant account until a sufficient amount of time will have passed for the first chargebacks or complaints of fraud to show up.

Re:Why are McDonald’s Self Service Kiosks so hackable? by AmericanChopper on Sunday July 24, 2022 @10:19PM (#32219923)
I don’t know about every jurisdiction, but every place that I’ve ever been involved with payment terminals, the money clears to the merchant account in a couple of business days. So your weekend’s takings would usually be cleared by Tuesday. I can’t imagine any retail or hospitality business would be able to extend a 90 day line of credit to their payment processor on all payment card revenue.

I think the main reason this never happens is because there’s a lot of easier and more profitable scams you can operate as a fraud-oriented merchant.

Re:Why are McDonald’s Self Service Kiosks so hackable? by hnaccount_rng on Monday July 25, 2022 @02:20AM (#32221116)
I would expect there to be a difference between a first time and a repeat thing. If you do out-of-normal-operation things, the bank will treat you more suspiciously, if you do your normal business, it can release your money immediately
Re:Why are McDonald’s Self Service Kiosks so hackable? by AmericanChopper on Monday July 25, 2022 @03:50AM (#32221634)
Payments settle at whatever the interbank settlement timeframes are. Any type of payment escrow would be incredibly out of the ordinary.
Re:Why are McDonald’s Self Service Kiosks so hackable? by gregmac on Sunday July 24, 2022 @11:01PM (#32220105)
I built the first online payment system for my university' frosh week in the early 2000's (before that they only accepted cash). This is pre-shopify/etc, and if you were doing any moderate volume it was worthwhile to use a gateway that went direct to your own merchant account.

They started accepting signups a couple weeks before school started, and on the second day it was running, after several hundred signups (of ~$200 each iirc), apparently some security people from the bank showed up at the orientation office at the school basically just to confirm it was legit. (I don't remember if they suspended the account first or not)

I had built a few online store sites using merchant accounts by then, but nothing that went from zero to that volume so quickly; it was fascinating to see that check in action.

I wonder what volume it would take to trigger such scrutiny today, and what it would look like..

Re:Why are McDonald’s Self Service Kiosks so hackable? by AmericanChopper on Sunday July 24, 2022 @11:10PM (#32220156)
Different merchant underwriters have different processes. Visiting merchant locations was pretty common, usually just to check if it looks like a real operating business though.
Re:Why are McDonald’s Self Service Kiosks so hackable? by krisoft on Monday July 25, 2022 @02:26AM (#32221151)
> they'll compensate everyone else involved for the fraud chargebacks,

But in this hypothetical would there be chargebacks? People went to a bar. They consumed, and paid for it. As far as the costumers know it went all good.

The one who is harmed would be the pub. And presumably they would complain and soon.

I don’t doubt that the whole scheme would come to light quick, i’m just questioning the exact mechanism.

Re:Why are McDonald’s Self Service Kiosks so hackable? by AmericanChopper on Monday July 25, 2022 @03:48AM (#32221622)
Presuming the attack wasn’t initially detected, which is entirely plausible imo, it would be noticed by the merchant when the funds didn’t settle into their account. So if you do it on Friday, the merchant should notice by Tuesday at the latest. If they don’t pay close attention to their accounts, it might take a little longer.
Re:Why are McDonald’s Self Service Kiosks so hackable? by makeitdouble on Sunday July 24, 2022 @08:57PM (#32219428)
Don’t payment gateway request an initialization procedure that registers the POS with the remote gateway ?

During that procedure the terminal unique ID is sent, and depending on your environment, if you have a stable outgoing IP the connection might be filtered on that as well (assuming you do that on site, not at a POS provider). Jumping through a bunch of hoops you might still be able to hook a POS on another merchant account, but once the issue is detected there would be enough info to reverse the transactions (doing that after capture could cost fees, but it’s still better than nothing).

Looking at the delays between the transactions being cleared and the money appearing in your bank account, even with the best timing you might not see a penny of all of that.

Re:Why are McDonald’s Self Service Kiosks so hackable? by vishnugupta on Monday July 25, 2022 @04:14AM (#32221752)
> request a transaction for a different merchant?

To be able to pull this off:

1. You need to register yourself as a merchant at an acquirer bank. Either directly or through intermediaries such as Stripe/Square etc.,

2. Go through reasonably stringent KYB (Know Your Business) process.

3. Do a few legitimate transactions so that everyone in the payment processing chain (acquiring bank, payment gateway etc., issuing bank, network (Visa/MasterCard)) begins to trust you.

4. Reconfigure the kiosk to use the above merchant account.

5. Pull out money from the acquiring bank before enough customers raise a charge-back and your your account is marked as fraudulent by someone/everyone in the payment processing chain.

These fly-by-night merchants are indeed created; especially at marketplaces such as EBay, Amazon. But to do it at a physical kiosk such as McDonalds' seems like a low ROI to me.

Re:Why are McDonald’s Self Service Kiosks so hackable? by vladvasiliu on Monday July 25, 2022 @03:40AM (#32221582)
I doubt that'd work. My client is set up as multiple merchants (different companies from a legal pov) but with the same payment provider, going over the same pipes, etc. Even so, the way the payment servers were set up, they could only mix up the merchant config if the "wrong" one also happened to be on the same server.

They have dedicated servers, so I'd expect McDonald's and other big chains to have them, too, which means that you couldn't send payments no anyone outside the mother company.

Re:Why are McDonald’s Self Service Kiosks so hackable? by prvit on Monday July 25, 2022 @06:35AM (#32222647)
> Also chip cards don’t ever leak the CC number as part of the transaction

Yes they do. In fact, you can read the CC number from the chip without even knowing the PIN.

Re:Why are McDonald’s Self Service Kiosks so hackable? by t_mann on Monday July 25, 2022 @03:53AM (#32221655)
But the transaction info has to be transmitted by the touch terminal - unless the recipient is set to a fixed value in the card machine, that should at least make it possible to re-route all of McDonald's revenue to some arbitrary recipient.
Re:Why are McDonald’s Self Service Kiosks so hackable? by jon-wood on Monday July 25, 2022 @04:36AM (#32221910)
The recipient is set to a fixed value in the card machine.
Re:Why are McDonald’s Self Service Kiosks so hackable? by lifeisstillgood on Monday July 25, 2022 @07:46AM (#32223078)
In the article he points out the PC is responsible for updating firmware in the card reader. So while it's a more sophisticated hack, change the firmware to record the pin and send it back to the PC etc etc.
Re:Why are McDonald’s Self Service Kiosks so hackable? by Goz3rr on Monday July 25, 2022 @08:17AM (#32223304)
I'm assuming the firmware is cryptographically signed, because they have to upgrade from untrusted devices. That negates this entire attack vector.
Re:Why are McDonald’s Self Service Kiosks so hackable? by lifeisstillgood on Monday July 25, 2022 @01:15PM (#32227598)
I think our best reaction to that is ... hmmmm.

But yes I think this is more a "hey there is so much insecure tech out there - here is another example" as opposed to "we are all dead and our bank accounts emptied"

Re:Why are McDonald’s Self Service Kiosks so hackable? by charles_kaw on Sunday July 24, 2022 @08:17PM (#32219192)
btw if anyone has ever taken a look at a POS setup, it's a bit misleading to the uninformed

In some solutions, the readers are in fact hooked up directly to the POS system. However, the card terminal does not see unencrypted payment data. The POS is acting as a network bridge or switch, while getting limited information over network from the terminal.

In fact, I'm not sure that's even something that's allowed in large scale installations today.

Re:Why are McDonald’s Self Service Kiosks so hackable? by MBCook on Sunday July 24, 2022 @08:32PM (#32219296)
You only get unencrypted stuff when doing mag-stripe, and that’s mostly just card number and name. Same with tap-to-pay may-stripe emulation (the old way which no one is supposed to use anymore, even in the US per credit card rules).

That’s why everyone has/is moving off mag-stripe (depending on country) and to EMV. With EMV and EMV contactless the terminal never gets the full card number, among many other significant security improvements.

Re:Why are McDonald’s Self Service Kiosks so hackable? by charles_kaw on Wednesday July 27, 2022 @01:41AM (#32247230)
>You only get unencrypted stuff when doing mag-stripe

The terminal encrypts it before sending it over the wire

Re:Why are McDonald’s Self Service Kiosks so hackable? by closewith on Monday July 25, 2022 @02:07AM (#32221031)
Do you have a source for this?

The EMV spec doesn’t include encryption of any data sent to the terminal from the card.

The transaction cryptogram is signed, however.

Re:Why are McDonald’s Self Service Kiosks so hackable? by charles_kaw on Wednesday July 27, 2022 @01:42AM (#32247237)
The terminals themselves use mtls to communicate and wrap the payload , wasn't referring to the payload itself.
Re:Why are McDonald’s Self Service Kiosks so hackable? by closewith on Wednesday July 27, 2022 @07:15AM (#32249093)
That seems like a walkback? You said:

> However, the card terminal does not see unencrypted payment data.

The card terminal does see unencrypted payment data. Hard to see your comment as ambiguous?