• tkw8@lemm.ee
    link
    fedilink
    English
    arrow-up
    29
    ·
    3 months ago

    Is this because FIDO2 is flawed, the yubikey hardware design is flawed or both?

    • harsh3466@lemmy.ml
      link
      fedilink
      English
      arrow-up
      65
      ·
      3 months ago

      It’s due to a cryptographic library implementation in a controller used in the yubikey. It’s a third party controller, and this isn’t exclusive to yubikeys either, a shitload of other stuff uses the same controller and is likely vulnerable to the same attack.

      Also, the attack requires around $10k worth of equipment and physical access to the yubikey, so while a valid attack vector, it’s also not something to get into a panic about.

          • Can i create such a thing for qubes os? Would be cool the have decryption screen look like windows login and if duress password entered it boots to a live windows image instead and obviously sends out relevent alerts etc. I suppose u would also want a second duress password that just shreds everything as well.

      • tburkhol@lemmy.world
        link
        fedilink
        English
        arrow-up
        16
        ·
        3 months ago

        Also, at least for the Yubi implementation, fixable in software, firmware >= 5.7 not vulnerable. Also not upgradeable, so replace keys if you’re worried about nation-state attacks.

        • harsh3466@lemmy.ml
          link
          fedilink
          English
          arrow-up
          6
          ·
          3 months ago

          I went into the article thinking I’d need to replace my keys, and after reading decided I’m a very unlikely target for this attack. My threat model doesn’t include nation states, so I’m gonna keep using my yubikeys for the foreseeable future.

          I have been thinking about new hardware key(s) that can handle more than 20 passkeys, but that’s not a high priority for me right now.

      • BrikoXOP
        link
        fedilink
        English
        arrow-up
        15
        ·
        3 months ago

        It’s definitely not something a regular user should panic over. But it’s a huge deal since a lot of high security, sensitive targets also rely on the same library.

        • harsh3466@lemmy.ml
          link
          fedilink
          English
          arrow-up
          11
          ·
          3 months ago

          Definitely. Not to be ignored, but for lots of yubikey users, also not something to be overly worried about.

      • socsa@piefed.social
        link
        fedilink
        arrow-up
        4
        ·
        3 months ago

        It’s pretty concerning if my backup key can just be cloned that easily. It means now I need to invest in a much better safe, which I guess was probably always a good idea.

      • Bjornir@programming.dev
        link
        fedilink
        English
        arrow-up
        2
        ·
        3 months ago

        Couldn’t you just use the yubikey like normal if you have physical access to it instead of copying it ?

        • jqubed@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          3 months ago

          In fact reading through the article it sounds like they would need to use it to extract the secret. I guess the end goal for this would be to maintain surreptitious access to something after returning the key to the target, either to build a criminal case or for espionage purposes.

          Given that the vulnerability may also apply to other secure access card/devices I suppose it could also be used if a nation-state wanted to use an impostor to access secure facilities.

    • BrikoXOP
      link
      fedilink
      English
      arrow-up
      7
      ·
      edit-2
      3 months ago

      While the researchers have confirmed all YubiKey 5 series models can be cloned, they haven’t tested other devices using the microcontroller, such as the SLE78 made by Infineon and successor microcontrollers known as the Infineon Optiga Trust M and the Infineon Optiga TPM. The researchers suspect that any device using any of these three microcontrollers and the Infineon cryptographic library contains the same vulnerability.

      Both. The cryptographic library in question is also used in other cryptographic applications too, so it’s a huge mess.

  • jqubed@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    1
    ·
    3 months ago

    It doesn’t affect their newest keys, but you can’t upgrade an older key to fix it:

    All YubiKeys running firmware prior to version 5.7—which was released in May and replaces the Infineon cryptolibrary with a custom one—are vulnerable. Updating key firmware on the YubiKey isn’t possible. That leaves all affected YubiKeys permanently vulnerable.

    • 🖖USS-Ethernet@startrek.website
      link
      fedilink
      English
      arrow-up
      10
      arrow-down
      1
      ·
      edit-2
      3 months ago

      Which is why I’m now questioning why I even bought them to begin with. Any time a security flaw is found I need to spend another $50-60. Seem crazy and wasteful.

      • jqubed@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        3 months ago

        Reading the article I think most people don’t need to worry about upgrading because of this flaw; this would be a very targeted attack. And I can understand not letting the firmware upgrade; I’m pretty sure I’ve seen examples of nation-state hacks for phones that involve attackers installing an “upgraded firmware” that disables security protections to access otherwise secured info. But yeah, cost is definitely a risk with this design.

  • MaxHardwood@lemmy.ca
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 months ago

    Despite this affecting only FIDO and barely any Yubikeys are being used for that, it’s important to keep in mind that exploits and attacks get worse over time. For now it’s just FIDO and requires complex hardware and practically destroying the key. I wouldn’t be surprised if this exploit is just the beginning.