• smeg@feddit.uk
    link
    fedilink
    English
    arrow-up
    90
    ·
    4 months ago

    The attacker would need physical possession of the YubiKey, Security Key, or YubiHSM, knowledge of the accounts they want to target and specialized equipment to perform the necessary attack. Depending on the use case, the attacker may also require additional knowledge including username, PIN, account password, or authentication key.

    The attacks require about $11,000 worth of equipment and a sophisticated understanding of electrical and cryptographic engineering. The difficulty of the attack means it would likely be carried out only by nation-states or other entities with comparable resources and then only in highly targeted scenarios. The likelihood of such an attack being used widely in the wild is extremely low.

    Given this massive caveat I’d almost call that headline misleading

    • Tinks@lemmy.world
      link
      fedilink
      English
      arrow-up
      18
      ·
      4 months ago

      I would argue that if the attacker has physical possession of my yubikey, that alone means the accounts tied to it are vulnerable. While the information isn’t technically wrong, I feel like that headline is misleading and this isn’t as big of a deal as some would like to make it out as.

    • Hirom@beehaw.org
      link
      fedilink
      English
      arrow-up
      10
      ·
      edit-2
      4 months ago

      Knowledge of the account is an obvious caveat. Yubikey-based MFA is an added layer of protection for accounts, so any kind of attack against MFA assumes the attacker already knows which account to target.

      It’s like saying “our door lock is flawed, but the attacker would need to have knowledge of the door”.

      The cost and complexity is what’s noteworthy and is more relevant. Although attack cost and complexity usuallu goes down with advances in tooling and research. So it may be a good idea to plan a progressive retirement of affected keys.

      • Zwiebel@feddit.org
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        4 months ago

        “Our door lock is flawed, but the attacker would need physical access to the key”

    • bean@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      4 months ago

      The fact that this happened is surprising in general, but not super practical.

      What’s the big deal? A: It affects other types of hardware which also used these crypto libraries. Some are easier to address than others.

  • tkw8@lemm.ee
    link
    fedilink
    English
    arrow-up
    27
    ·
    4 months ago

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

    • harsh3466@lemmy.ml
      link
      fedilink
      English
      arrow-up
      62
      ·
      4 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
        15
        ·
        4 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
          ·
          4 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.

      • BrikoX@lemmy.zipOP
        link
        fedilink
        English
        arrow-up
        14
        ·
        4 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
          9
          ·
          4 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
        ·
        4 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.

        • smeg@feddit.uk
          link
          fedilink
          English
          arrow-up
          10
          ·
          4 months ago

          if my backup key can just be cloned that easily

          Do you consider $10,000 of equipment plus breaking your safe and extracting your pin to be easy? Who did you get on the wrong side of!?

      • Bjornir@programming.dev
        link
        fedilink
        English
        arrow-up
        2
        ·
        4 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
          ·
          4 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.

    • BrikoX@lemmy.zipOP
      link
      fedilink
      English
      arrow-up
      6
      ·
      edit-2
      4 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
    ·
    4 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
      ·
      edit-2
      4 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
        ·
        4 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
    ·
    4 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.