Researchers in the UK claim to have translated the sound of laptop keystrokes into their corresponding letters with 95 percent accuracy in some cases.

That 95 percent figure was achieved with nothing but a nearby iPhone. Remote methods are just as dangerous: over Zoom, the accuracy of recorded keystrokes only dropped to 93 percent, while Skype calls were still 91.7 percent accurate.

In other words, this is a side channel attack with considerable accuracy, minimal technical requirements, and a ubiquitous data exfiltration point: Microphones, which are everywhere from our laptops, to our wrists, to the very rooms we work in.

  • paraphrand@lemmy.world
    link
    fedilink
    English
    arrow-up
    61
    ·
    7 months ago

    Neat, so when my friends are taking about satisfyingly clackety keyboards I can inform them it’s a security hazard.

          • Wilzax@lemmy.world
            link
            fedilink
            English
            arrow-up
            13
            arrow-down
            1
            ·
            7 months ago

            ??? If you can map sound to qwerty keystroke placement, then it’s a simple matter of mono alphabetic substitution for other layouts to generate candidate texts. Using a dictionary attack to find more candidate layouts would absolutely work.

            • ryannathans@aussie.zone
              link
              fedilink
              English
              arrow-up
              10
              arrow-down
              3
              ·
              7 months ago

              No, all the timings change. You can’t just swap out the letters and hope it matches. Additionally I was responding to the poster claiming a dictionary attack on a password would work - only if it’s in the dictionary.

              • Wilzax@lemmy.world
                link
                fedilink
                English
                arrow-up
                6
                ·
                7 months ago

                The method is not based on timings. It is based on identifying the unique sound profile of each keystroke

                • ryannathans@aussie.zone
                  link
                  fedilink
                  English
                  arrow-up
                  6
                  arrow-down
                  1
                  ·
                  7 months ago

                  How can you make that claim? They used deep learning, does anyone know what characteristics the AI is using?

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

      Good luck making an acoustic map of the tens thousands of possible case, switch and key cap combinations.

  • laurelraven@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    44
    arrow-down
    1
    ·
    7 months ago

    Not to be a jerk, but is this actually new? I’ve heard of this being done at least ten years ago…

    On another note, one way to beat this (to a degree) would be to use an alternate keyboard like Dvorak (though you could probably code it to be able to detect that based on what’s being typed)

    • barsoap@lemm.ee
      link
      fedilink
      English
      arrow-up
      24
      ·
      7 months ago

      I think it’s largely been a state actor thing. Directional microphone to record your window from across the street, spend significant tax money on crunching numbers on a supercomputer to get at your password kind of thing, I think they already could do it in the 90s. Real-time 95% accuracy on a non-specialised device is a quite different ballpark: Now every skiddie can do it.

      • skulblaka@kbin.social
        link
        fedilink
        arrow-up
        4
        ·
        7 months ago

        Now every skiddie can do it.

        And this is the real, serious problem. Most people are pretty unlikely to stop a state sponsored spy operation no matter how careful they are. It’s barely worth worrying about unless you know for a fact you’re being tapped and that you will be killed about it, and even if you do know this the state can pull some space age bullshit out of their asses that doesn’t yet have a counter. Top secret military industrial research goes into maintaining that exact advantage every year, if they really want to get you, you will get got. But if Joey Dickbeater and his school friends can just point a mic at your window and then upload it to the Pass-o-Gram to decode it, you have a real problem. It’s like when TikTok kids figured out they can steal Kias with usb keys - if every teenager in America knows how to steal your car, its lifetime is going to be measured in minutes. Same with passwords.

        Sounds like it’s time to buy a bunch of random cherry switches and randomize them across my keyboard…

        • Ook the Librarian@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          7 months ago

          Sounds like it’s time to buy a bunch of random cherry switches and randomize them across my keyboard…

          And rotate them. While I don’t plan to waste my energy, having hot swap sockets and swapping a few around should thwart the attack. You would have to do it frequently enough that relevant training data gets wasted before it’s useful. I’m pretty paranoid, but not that much.

          I’ll just consider it good security hygiene to get a new keyboard often :)

          • barsoap@lemm.ee
            link
            fedilink
            English
            arrow-up
            2
            arrow-down
            1
            ·
            7 months ago

            Have you considered only re-doing the tinfoil wrapper every day? It should crackle differently every time.

        • Socsa@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          2
          ·
          7 months ago

          What it means is that NIST probably needs to update its security recommendations to require hardware keys for even low level systems. It’s going to be a huge pain in the ass though.

      • Buddahriffic@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        7 months ago

        It’s more trivial because it’s a 1:1 relationship. A is a, s is o, d is e, and so on. Detecting other languages is harder because there’s more of them and there isn’t a 1:1 conversation to English.

    • frezik@midwest.social
      link
      fedilink
      English
      arrow-up
      14
      ·
      7 months ago

      There has been previous work on this, yes. It required a dictionary of suggested words. That would make it useful for snooping most typing, but not for randomly generated passwords. This new technique doesn’t seem to have that limitation.

  • NAXLAB@lemmy.world
    link
    fedilink
    English
    arrow-up
    41
    ·
    7 months ago

    I think I might have achieved security through obscurity. My custom keyboard is a unique shape and almost all the keys are one unit. Not only is it different enough from a traditional keyboard that the neural network probably won’t understand it, the function layers I use obscure whether I’m typing a letter at all.

  • stoy@lemmy.zip
    link
    fedilink
    English
    arrow-up
    25
    ·
    7 months ago

    I wonder if you need to train it on a specific keyboard before it will work it.

      • stoy@lemmy.zip
        link
        fedilink
        English
        arrow-up
        10
        ·
        7 months ago

        That would limit the practicallity quite a lot, as deskmats and typing style would change the sound of even a common keyboard.

        I also notice that I slightly change my typing style between typing normally and entering my password.

        • Dark Arc@social.packetloss.gg
          link
          fedilink
          English
          arrow-up
          2
          ·
          7 months ago

          That would limit the practicallity quite a lot, as deskmats and typing style would change the sound of even a common keyboard.

          Eh… I don’t know if it would be enough of a change. Also consider mass produced popular laptops (e.g. targeting the MacBook keyboard).

          I also notice that I slightly change my typing style between typing normally and entering my password.

          I don’t really think that’s normal… But hey, maybe it gives you some protection 🙂

  • FrankTheHealer@lemmy.world
    link
    fedilink
    English
    arrow-up
    27
    arrow-down
    9
    ·
    7 months ago

    Can we normalise good but quiet keyboards. Like, I like the tactile feel of using a mechanical, but I hate the sound. Quieter mechanical keyboards aren’t a thing but they should be. Now as a security measure if nothing else.

    Also Dvorak keyboards I guess

    • Pinecone@lemmy.world
      link
      fedilink
      English
      arrow-up
      21
      ·
      7 months ago

      There are tons of quiet mechanical keyboards. I’m using a low profile optical switch that’s quieter than my mouse clicks

    • VelociCatTurd@lemmy.world
      cake
      link
      fedilink
      English
      arrow-up
      15
      ·
      7 months ago

      There are definitely quiet tactile switches. The reason why they can still make sound is because they’re bottoming out which you don’t have to do.

      • Cethin@lemmy.zip
        link
        fedilink
        English
        arrow-up
        8
        ·
        7 months ago

        As a partial solution, you can put o-rings in the keycaps. I had some of the bands for braces laying around at one point and used those, and it worked fairly well.

    • NAXLAB@lemmy.world
      link
      fedilink
      English
      arrow-up
      11
      arrow-down
      1
      ·
      edit-2
      7 months ago

      Dvorak is a cypher of Qwerty tho. Anything typed in Dvorak but transcribed as english can be reliably identified and decyphered

    • xthexder@l.sw0.com
      link
      fedilink
      English
      arrow-up
      4
      ·
      7 months ago

      I went out of my way to find a keyboard with Cherry MX Clear switches. They’re basically a high-force tactile feel, but no clicky sound like MX Blue switches. I absolutely love them for typing, and I’ve been using them for years.

      I’m not sure if there’s newer options now for silent switches? I know they had a couple models with extra internal damping.

      • murtaza64@programming.dev
        link
        fedilink
        English
        arrow-up
        1
        ·
        7 months ago

        I used boba u4 silents on my custom keyboard. Absolutely love them. Wish they made a consumer-grade keyboard with them (or maybe they already do?) But I’ve been working on a MacBook recently and tbh the keyboard there is pretty good now. So next step for me is to build a low profile keyboard

    • Garbanzo@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      7 months ago

      normalise good but quiet keyboards

      Oh man, if Topre became popular enough to bring the price down through scale that would be pretty rad

  • mski@lemmy.ca
    link
    fedilink
    English
    arrow-up
    9
    ·
    7 months ago

    I’d be curious how well this approach translates to multi-lingual keyboard layouts. For english users, perhaps theres another benefit to non-QWERTY layouts (e.g. Colemak or Dvorak) after all? … and two factor authentication should remain helpful I presume. Especially physical key methods with no audible characters typed (e.g. Yubikey, Titan, etc.)

    • jrbaconcheese@yall.theatl.social
      link
      fedilink
      English
      arrow-up
      13
      ·
      7 months ago

      I was thinking the same, but it would be trivial for software to realize that “fnj xlg” maps to “the dog” with Colemak or Dvorak.

  • Elias Griffin@lemmy.world
    link
    fedilink
    English
    arrow-up
    9
    ·
    edit-2
    7 months ago

    Is it ignorance, indemnity, or conspiracy that this News Media Corporation didn’t give the primary mitigation?

    A white noise generator.

  • bionicjoey@lemmy.ca
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    3
    ·
    7 months ago

    Isn’t boffin a derogatory term like “nerd”?

    What a dogshit headline.

    • IllNess@infosec.pub
      link
      fedilink
      English
      arrow-up
      7
      arrow-down
      1
      ·
      7 months ago

      Article also uses the term “eggheads”.

      To go from keystroke sounds to actual letters, the eggheads recorded a person typing on a 16-inch 2021 MacBook Pro using a phone placed 17cm away and processed the sounds to get signatures of the keystrokes.

    • jpeps@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      7 months ago

      Maybe a US/UK divide? At least in the UK boffin is relatively inoffensive depending on how it’s used. Eg if I build a fusion reactor in my garden my neighbour might say “wow, look at what this boffin did!” and it would be a complement where boffin is a stand in for a word like genius, only with a tounge in cheek touch of jealousy.

      Thinking about it I would say that ‘nerd’ is typically putting someone down for their intelligence or interests, whereas boffin is a light insult while identifying the ‘boffin’ as being smarter than yourself.

    • BearOfaTime@lemm.ee
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      1
      ·
      7 months ago

      It can be. Being a boffin, I’m not offended. Up to the individual if they choose to be offended.

      • bionicjoey@lemmy.ca
        link
        fedilink
        English
        arrow-up
        10
        arrow-down
        3
        ·
        7 months ago

        Still shitty journalism to refer to researchers publishing their research in that way.

        • BearOfaTime@lemm.ee
          link
          fedilink
          English
          arrow-up
          4
          arrow-down
          3
          ·
          7 months ago

          Meh, I wear such labels as badges of honor. I sacrificed a bit along the way to develop knowledge, skills, competence - I’ve earned it. Thanks for acknowledging it.

          I also see such things in a humorous light. I mean us “boffins” can be such boffins at times. We can over-focus, get caught up on perfectionism, etc, etc. If’n ya can’t laugh at your own foibles, well, I don’t know what to say.