by acstapleton · 1mo ago · 0 comments
There is no physical tamper detection either. No tamper pads to detect case openings, no seal that gets broken when it’s opened that prevents operation. As others have mentioned, the most basic precaution would be to glue the whole thing together, which they didn’t do either.
Trusting Ledger with securing anything secret would be a very bad idea.
That MCU is explicitly not assumed to be critical in their security model [1]. It handles Bluetooth and USB communication, both of which are assumed to be insecure transport layers. Securing the MCU would not have helped in this particular incident, and I can't think of a scenario in which it would be critical.
Button input and screen output, which are critical, are handled by a secure element. Unfortunately, at some point even the most hardened secure element will have to output data to be displayed on a screen; that's what was attacked here. Electronic shoulder surfing, basically.
[1] https://www.ledger.com/ledger-nano-x-bluetooth-security-mode...
This doesn't help any bit against the hardware implant we're discussing here.
> So there’s no way to guarantee that the software running on this has not been tampered with.
While true, I don't think it matters too much, other than the possibility of turning the device into something like a rubberducky.
> There is no physical tamper detection either. No tamper pads to detect case openings, no seal that gets broken when it’s opened that prevents operation. As others have mentioned, the most basic precaution would be to glue the whole thing together, which they didn’t do either.
Now that is the real meat. Unfortunately, for any given attack it's possible to bypass it. Tamper pads, if you know where they are, you can drill through the housing and, depending what it is, keep the button pressed by a jig, or solder wires if it's a sense trace to bridge it. The housing itself can easily be fully replicated, it's just a matter of coughing up some money for custom molds.
The only way to make something relatively tamper proof is to use injection molding over the full housing with something like glitter as part of the plastic, that will distribute randomly - and most importantly: not replicable! - across the housing, and then take high quality photographs and store them on your website together with the serial number.
That way the customer can photograph the device they have, and compare the random glitter specks with those on the website.
Tamper proofing hardware is among the hardest things there are, especially if you are up against nation-state actors like North Korea (that has been known to engage in cryptocurrency theft in the past).
You bring up a good point about bypassing physical tamper detection, but those defenses increase the cost and complexity of the attack, making them harder to succeed undetected. As it is, this attack seemed quite trivial to implement.
Do you know anything about their security model to pass judgement like that? They actually have a quite thorough hardware security model, outlining which components are and aren't considered critical: https://www.ledger.com/ledger-nano-x-bluetooth-security-mode...
> As it is, this attack seemed quite trivial to implement.
Have you looked at the miniature LTE board implant? It's an extremely sophisticated attack against a very sophisticated target, in my view.
u would need something that you do not have to check online which is physically given to you by a known person. who do you really know at the vendor? no one. there isnt this person.
that being said,.so it comes back to trusting someone if you are dealing with digital things, somewhere down the line. That trust can be attacked, so u need to ne aware of it and if anything dont put all your eggs in the same basket.
Say you have 10 million$. you would want to split it up in chunks the size of your acceptable loss * the chances of such loss occurring, so that whenever you lose something, its within accepted risk parameters :')
I ponder "What applications would I want this security stuff for?" Crypto wallets are a great example... and the crypto wallets in the wild aren't using them, as you point out!
People should do better research before buying things, and - it should go without saying - especially when it's about security. Ledger has a whole list of issues, they became the most popular brand not because they're the most trustworthy but because of their marketing and focus on supporting a massive number of coins. You'd think though that security should be the number one priority for a hardware wallet brand, not convenience.
The issue is that the HSM itself has no input or output. Securely interfacing with those is not trivial.
Edit: For folks down voting me, please explain. I'm genuinely curious about your perspective.