Who Is Planting Backdoors in Ledger Crypto Wallets?

(zetter-zeroday.com)

78 points | by hacb 4 hours ago

14 comments

  • acstapleton 19 minutes ago
    Looking at the images here, there is zero attempt at security here from the ledger team. They’re using an MCU (ST MCU with Cortex M4 core) that doesn’t have any meaningful security features (ie, no secure boot, no differentiation between trusted and user mode operation - features the newer Cortex M33 core supports and newer ST parts implement). So there’s no way to guarantee that the software running on this has not been tampered with.

    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.

  • Trustable8 2 hours ago
    I just opened a ledger up, its stupid easy to do. Why wouldn't they make this a sealed unit with and glue it to make it impossible to open without damaging? Also why would you not glue the entire circuit board? The entire board is covered in test pads which make it super easy to solder dodgy stuff onto.
    • phh 1 hour ago
      At the price of an eSIM and a LTE modem (and of the stolen 100$M), destroying a glued casing and making your own costs next to nothing. Looking at the photos, even without the test pads soldering directly on the components seem pretty easy.
      • polonbike 43 minutes ago
        Even if it is still possible to do, doing it at scale becomes a lot more complex
    • bayindirh 1 hour ago
      I believe epoxy-filling them a-la IronKey is a good idea, but for longevity reasons, I'd prefer the rechargeable battery to be replaceable.

      Maybe it increases the price quite a lot, IDK.

      • glitchc 10 minutes ago
        Access to battery terminals enables power side-channel attacks such as DPA and CPA.
      • moduspol 1 hour ago
        I had an old Ledger die recently and replaced it with a new one. Didn't even consider being potentially able to replace the battery, but it would have been nice.

        On the plus side, I did get to do a "fire drill" of my recovery process, which did work, so that was nice.

        • bayindirh 47 minutes ago
          I'm a large believer of long-living tools and things in general, so I prefer my tools to be repairable and maintainable.

          Of course I can't achieve what I want all the time, but being able to use a fixed-function tool till some electronic component dies inside is way more attractive for me to send the same device to recycling or trash just because a part with limited life (and shorter time w.r.t. rest of the device in general) reaches ends of its life.

    • deanc 1 hour ago
      Depending on who is responsible for this, do you not think these people would have the ability to circumvent physical anti-tampering measures?
      • dansquizsoft 1 hour ago
        Not an excuse for ledger making a sub-par product to begin with...
    • vincnetas 1 hour ago
      why not make it transparent?
    • knorker 29 minutes ago
      It's almost as if the cryptocurrency industry is just amateur LARP…
  • sorenjan 2 hours ago
    Shouldn't it be possible to track who bought the esim, where the data is sent, and who owns the wallets where the stolen crypto is transferred?
    • flotzam 1 hour ago
      It's easy to buy eSIMs anonymously. Either directly with cryptocurrency, or with a prepaid virtual credit card bought with cryptocurrency.
    • karel-3d 2 hours ago
      They tracked the traffic (not the eSIMs) to some servers in Hong Kong, managed by Alibaba.
  • ChrisArchitect 18 minutes ago
    Related:

    Ledger confirms spy chip implant behind wallet crypto thefts

    https://news.ycombinator.com/item?id=50054092

  • dwh452 2 hours ago
    how can the implant send the seed words to an attacker? doesn't a crypto wallet have to talk an application on the host computer? wouldn't the communication between the wallet and the host computer never allow for the seed words to be sent from the wallet to the outside world? in other words how could an "implant" tampering of the wallet make the host computer suddenly start sending seed phrases to third parties?
    • littlecranky67 1 hour ago
      They sniffed the LCD interface and OCR'ed the seed words when they were displayed using an implanted tiny CPU. This is a very sophisticated attack.
      • donkey_brains 1 hour ago
        They were almost certainly not doing the OCR on the device. Such a CPU would be too power-hungry and the process would still be too error-prone given the limited compute. They would just send the raw data to the C2, which could send it to an emulator, snapshot the output and send it to an LLM.
        • dezgeg 1 hour ago
          Well it doesn't need to be a generic purpose OCR, just one that works for this single UI layout and font.
        • moduspol 57 minutes ago
          Streaming the raw data would also be more flexible for other use cases. From what I've read, it was streaming off the generated recovery passphrase, but users aren't required to generate one--they can input one. That'd require a much more sophisticated algorithm than simply reading from the screen, since users are using two buttons to pick from hundreds of words in a randomized menu.

          And besides, Ledger firmware can be updated to change fonts and such so it'd be long-term safer to just stream the raw data.

        • thousand_nights 1 hour ago
          i don't think OCRing a bitmap font is very expensive or power hungry, if you know the exact pixel configurations of the glyphs ahead of time
    • lxgr 2 hours ago
      The attackers added their own tiny 4G or 5G board.
    • trillic 2 hours ago
      They put an eSIM in the device…
    • karel-3d 2 hours ago
      There is an eSIM with worldwide data in the device.
    • kg 2 hours ago
      Though it's not what happened in this case, you could tamper with a crypto wallet to make it emulate a USB keyboard and once connected, send a series of keystrokes to download and run an exploit.
    • ovi256 2 hours ago
      The implant could fabricate a reason to connect to a host computer. Like "Cannot display seed words, connect to a computer to debug"
  • nodesocket 29 minutes ago
    So where does the implanted chip upload the seed phrase to? Who owns that website? This seems like it should have been caught with wireshark or network sniffing of the Ledger app?
  • luxuryballs 1 hour ago
    I believe an untampered Ledger is still OK as long as you don't pair it with a compromised machine, which perhaps is not saying much at the present moment...
    • lxgr 30 minutes ago
      The security model of Ledger wallets should survive even a compromised computer/phone, assuming you have an out-of-band way to compare address destinations and hashes.
  • coliveira 2 hours ago
    Every bitcoin in existence will eventually be hacked. It's just a matter of time.
    • littlecranky67 1 hour ago
      Yet we trust our daily money system to be based on printed colorful paper that no one can reproduce.
      • dbspin 1 hour ago
        Because it works... The level of counterfeit currency is readily measurable. Currency can be withdrawn and replaced. Individual stolen notes can be tracked. Counterfeiting of the dollar and the euro today is a relatively minor problem

        https://www.ecb.europa.eu/press/pr/date/2025/html/ecb.pr2502... https://www.bankofengland.co.uk/statistics/banknote https://www.cranecurrency.com/news-insights/85-decline-in-us...

        • giantg2 40 minutes ago
          How do they track counterfeiting of digital currency? Most of the money supply is not physical but digital.
      • StilesCrisis 1 hour ago
        You sound sarcastic but it's true. Unless you have government-level resources, you can't make a perfect $20 bill. They don't use paper--water would destroy it--they use a special fabric with a single supplier that only sells to the government. They don't print; they stamp. There are watermarks, security strips, and other features that can't easily be reproduced. Doing it right would be a massive investment, at the risk of being caught and losing everything.
      • Muromec 1 hour ago
        Doesn't matter as long as the real money is not disappearing from my wallet
        • giantg2 38 minutes ago
          But, assuming you are like the vast majority of people, most of you money is virtual in bank accounts and such. There doesn not exist enough physical currency to back all the virtual money in the accounts.
      • CJefferson 1 hour ago
        There are two important differences:

        1) We have a legal system which (not perfectly) can reverse or fix issues which arise, with crypto money, it's just gone.

        2) Someone who can produce fake colourful paper will typically only be able to produce a fairly small amount and not destabilize the whole currency. In the rare occurrences where someone found a significant hack in a crypto-currency, it's just done.

      • cedilla 1 hour ago
        It's very very very very hard to forge money convincingly enough to fool central banks. It's basically impossible for anyone but nation-state actors, and the only known cases date back decades. Today, it's even harder, because even if central banks were unable to identify forgeries, duplicate serial numbers or ones that have never been issued would be detected very quickly.

        Even making forgeries that can fool normal automated tests, like those done in an ATM, is incredibly hard. It's certainly possible, just way too expensive.

      • hvb2 1 hour ago
        It's very hard to steal a lot of physical currency.. Even with the biggest bills, it becomes unmanageable. Digitally it obviously doesn't matter if your transferring 1 Bitcoin or 10K
      • albedoa 1 hour ago
        Yes, you are getting it.
  • artisinal 2 hours ago
    -Post removed as this account is rate limited and I can't reply to comments-
    • thenthenthen 2 hours ago
      All hw wallets are being breached. Big, easy target. I think a lot of people are interested in this breach and the people behind it. 100 million worth? This might works both ways.. curious about the further investigations. My hunch… after major crackdowns on scam centers in the golden triangle, this is their latest dab to wealth?
      • theturtletalks 1 hour ago
        Stable coins are spreading like wildfire in Asia. It’s poised to overtake even the US is terms of spending. People use it to send money back home and ledgers MITM attack happened in Asia.
    • motionlessveloc 2 hours ago
      Ledger the company was not breached (this time around). The devices here were modified by a middleman in the distribution chain and sold to unsuspecting buyers.
      • artisinal 2 hours ago
        -Post removed as this account is rate limited and I can't reply to comments-
        • dfadsadsf 2 hours ago
          You need to have reseller in most countries otherwise your customers will have to deal with long shipping time, customs, etc. The same for selling in physical stores.
  • aa-jv 2 hours ago
    The crypto lunatic fringe have long frustrated me with their assertions of sovereign this and that.

    There is no sovereignty in crypto if YOU ARE NOT BUILDING YOUR OWN HARDWARE.

    Any claims of sanctity or reliability in the software stack are rendered null and void until someone with a tunneling electron microscope has completed an audit of your chips.

    THIS is why Taiwan matters so much, people: there is NO sovereignty for as long as your chips are being imported. You can trust all you want - but trust is nothing without verification. We are all serf-subjects of the wafer-producing overlords.

    Ledger clearly drank the koolaid. Crypto people: invest in hardware. NOT software. Anything less is utter futility.

    • RugnirViking 2 hours ago
      not your keys, not your crypto

      not your hardware, not your keys

      not your chips, not your hardware

      not manufactured in house, not your chips

      not your designs, not manufactured by you

      not designed by you personally, not your designs

      ad infinitum. To be truly secure, you must first learn to survive alone in the wilderness and smelt tin

      • ourmandave 1 hour ago
        ... and smelt tin

        I'll just order my crucible and tongs off Alibaba.

        Wait a second...

      • vitorfblima 1 hour ago
        Our grandparents stored their crypto under their matresses.
      • orsorna 2 hours ago
        This is why the assertion that crypto allows you and you alone to control your capital is a fallacy. Depends on your threat model of course...
      • aa-jv 2 hours ago
        Yes, that is true.
      • gpderetta 2 hours ago
        big bang or bust.
      • stymaar 2 hours ago
        Every cryptographic system has a trust assumption somewhere
        • flir 2 hours ago
          Hm. Computation with paper and pencil?

          (I agree in general, I'm just exploring the statement).

          • cedilla 1 hour ago
            Unless you are a world-class cryptographer, you have to trust someone that the algorithms are sound.
      • riffraff 2 hours ago
        ah the good old C-x M-c M-smelting
      • karel-3d 2 hours ago
        Crypto people keep rediscovering we live in a society.
    • dansquizsoft 1 hour ago
      I don't get what you are saying here re no sovereignty with no (custom) hardware.

      Grab the Bitcoin white paper and an airgapped PC with a fresh Debian install.

      Implement the algorithm(s) in the white paper to generate yourself a private key and then a wallet address from that.

      Send bitcoin to that wallet. Write down the private key and wallet address, store it somewhere safe, bury it in the garden, whatever.

      No special hardware is required for any of this...

      Or am I missing something?

    • dingaling911 2 hours ago
      Seems like maybe crypto having a single point of failure (keys) is a problem rather than hardware.

      You will never be completely secure against failure, the only way to protect yourself is to be able to robustly recover from failure.

      I'd rather be able to say "every single government is in my hardware and they still can't touch it."

      Perhaps possible with multisig, but now you're basically back to trusting banks.

      • rhyperior 2 hours ago
        Keys don’t have to be a SPoF though. Multi-signature schemes are the baseline for security today.
        • dingaling911 1 hour ago
          Right, but who is the multi in the multisig and what happens if they die.
          • rhyperior 1 hour ago
            You can be the multi yourself. Choose diverse hardware (ie, not all the same Ledger) and your likelihood of compromise changes significantly in your favor.

            Sure, loss of seed material would be catastrophic so have a backup scheme. The point isn’t that you can make it perfect, but there’s laughably risky and imperfect solutions and putting everything on a single key HW device like this is the poster child.

            • dingaling911 10 minutes ago
              OK but if your wallet gets doxed, you can still be forced to give it up by criminals.
    • thenthenthen 2 hours ago
      Not sure what you mean? Taiwan, imported, isnt taiwan the biggest exporter of high end chips? 100% these have not been hacked in Taiwan. You mean setting up your own fab? I am confused
      • aa-jv 2 hours ago
        Yes, Taiwan is the biggest exporter of chips. Have you audited your chips today?
        • dada216 2 hours ago
          I wonder if even people like Intel or AMD or Nvidia do.

          There might be a strict hardware audit process for cryptographic accelerators on IBM Z machines though, I'm not sure, I'm gonna ask though.

          • aa-jv 2 hours ago
            It is standard practice in many industries to do hardware audits, including random controls of chip supplies.

            These industries are just not sexy enough for the crypto folks to want to learn from, or about.

  • agentdev001 2 hours ago
    Some chollima, its always a chollima.
  • ricardobeat 1 hour ago
    The idea of a hardware wallet sounded wronged to me from the start.

    Why would you trust some random hardware, that has the sole purpose of holding your money, making it an obvious target, over a general purpose computer you control entirely?

    • wappieslurkz 1 hour ago
      Strictly speaking, a hardware wallet doesn't hold your "money". Your assets live on the blockchain, and your seed phrase generates the private keys that control them.

      The hardware wallet is just a sandboxed interface between you, your seed, and the blockchain. It requires a computer to connect to you and the internet.

      In other words: as long as you have your seed phrase (and your passphrase, if you set one) on a piece of paper, you can smash your hardware wallet to bits and be fine.

      (This assumes a standard single-signature wallet using the BIP-39 standard)

    • dd8601fn 1 hour ago
      If there was ever any appeal to me, it’s that vague notion that machines get wiped, rebuilt, compromised, travel, get stolen, etc. A dedicated device could kinda avoid some of that if it mostly sits in a safe or something.

      I never did get one, though.

    • wappieslurkz 1 hour ago
      [flagged]
  • trilogic 47 minutes ago
    When people will understand that a "cryptowallet is a simple Aphanumeric sequence. Why would you need a hardware trick if all you have to do is scan for a match. Crypto has always been a scam, ask yourself do you know anyone of your friends that made it with crypto!