News for hackers. Stuff that matters.
Re:New acoustic attack steals data from keystrokes with 95% ... by OtherShrezzing on Saturday August 05, 2023 @04:24PM (#37015971)
I believe that is the generalisable version of the attack. You're not looking to learn the sound of arbitrary keyboards with this attack, rather you're looking to learn the sound of specific targets.

For example, a Twitch streamer enters responses into their stream-chat with a live mic. Later, the streamer enters their Twitch password. Someone employing this technique could reasonably be able to learn the audio from the first scenario, and apply the findings in the second scenario.

Re:New acoustic attack steals data from keystrokes with 95% ... by yowzadave on Saturday August 05, 2023 @04:32PM (#37016039)
I guess more reason to just use a password manager to autofill your password?
Re:New acoustic attack steals data from keystrokes with 95% ... by kypro on Saturday August 05, 2023 @04:41PM (#37016103)
Or just use 2fa
Re:New acoustic attack steals data from keystrokes with 95% ... by bee_rider on Saturday August 05, 2023 @04:53PM (#37016197)
If you have 2FA and one part of it is easily figured out, then you have one factor authentication.

If you cared enough about the authentication in the first place to bother with 2FA, then I guess it seems like the reduction there is still something to be worried about, right?

Lots of “two factor authentication” schemes seem to involve just getting a text or something, so, not very secure at all. Of course, this is bad 2FA, but it is popular.

Re:New acoustic attack steals data from keystrokes with 95% ... by gleenn on Saturday August 05, 2023 @05:07PM (#37016302)
Perfect is the enemy of good. Text based 2FA is compromisable relatively easily but at least it's an extra hurdle.
Re:New acoustic attack steals data from keystrokes with 95% ... by 3np on Saturday August 05, 2023 @06:42PM (#37016960)
It's the "or just" being the issue there, not the "use 2fa".
Re:New acoustic attack steals data from keystrokes with 95% ... by GhostWhisperer on Sunday August 06, 2023 @06:05AM (#37020528)
which is the point of 2fa – when the 1st factor fails the 2nd holds
Re:New acoustic attack steals data from keystrokes with 95% ... by barrotes on Saturday August 05, 2023 @09:01PM (#37017894)
Now that I know about the existence of this generation of acoustic attacks I would like to have the possibility to insert a second "master password" different from the main one, that instead of letting me directly access to my passwords just allows me to use fingerprint to get them. Guess if it's already possible
Re:New acoustic attack steals data from keystrokes with 95% ... by jgtrosh on Saturday August 05, 2023 @05:45PM (#37016575)
Only if it doesn't only rely on a master password
Re:New acoustic attack steals data from keystrokes with 95% ... by apendleton on Saturday August 05, 2023 @06:06PM (#37016723)
A nice thing about master passwords though is that since you don't have to type them in as often, they can be very long. 95% accuracy probably isn't good enough to reliably reproduce a sentence-length master password, at least if it's only captured once.
Re:New acoustic attack steals data from keystrokes with 95% ... by belval on Saturday August 05, 2023 @06:50PM (#37017009)
95% means that on average only 1 in 20 keystroke will be wrong. Even if your password is very long (40-60) that means only 2-3 errors. Since more people are not machines their long password will be a combination of words like the famous "horsestaplebatterycorrect" example from xkcd.

Even if you flip a few letters from something like the above a human attacker will easily be able to fix it manually.

"horswstaplevatterucorrect" for example is still intelligible.

Re:New acoustic attack steals data from keystrokes with 95% ... by TheCleric on Saturday August 05, 2023 @07:01PM (#37017074)
On average 2-3 errors. However the real thing we want to look at is what is my chance of guessing right across ALL characters. For 1 it's 95%, for 2 it's 90.2%, and it gets worse from there. The formula for accuracy would be .95^c where c is the number of characters in the password. So the chance of getting EVERY key correct in a 40 character password is < 13% and < 5% for 60 characters.
Re:New acoustic attack steals data from keystrokes with 95% ... by llbeansandrice on Saturday August 05, 2023 @07:52PM (#37017439)
Right. The comment above is saying even if you are incorrect in 2-5 keystrokes it’s not hard to guess the correct keystrokes if you’re using a sentence style password.

You don’t need to guess every character.

Re:New acoustic attack steals data from keystrokes with 95% ... by whelp_24 on Saturday August 05, 2023 @07:57PM (#37017482)
that's pretty high when you can use a computer to run the guesses
Re:New acoustic attack steals data from keystrokes with 95% ... by rightbyte on Saturday August 05, 2023 @10:37PM (#37018444)
What if the password is typed twice? You can easely figure it out then.
Re:New acoustic attack steals data from keystrokes with 95% ... by koolba on Saturday August 05, 2023 @07:12PM (#37017143)
The master password is also offline and require the key file to u lock the rest of the passwords. So by itself it’s not enough to compromise the accounts in the key file. The attacker would need the key file as well.
Re:New acoustic attack steals data from keystrokes with 95% ... by SideQuark on Saturday August 05, 2023 @08:25PM (#37017657)
95% accuracy means for each stroke, the most likely key is the top choice. Most models return a probability distribution per key, and it's very like the other keys are in the top 2 or 3.

Then you simply have the password cracker start trying passwords ordered by probability, and I bet it breaks your sentence within very few tries.

Re:New acoustic attack steals data from keystrokes with 95% ... by coldtea on Sunday August 06, 2023 @02:33AM (#37019514)
>a sentence-length master password

Ij on-tep of sentenca lentg, it's alio sentemce-bused ("corvect harse batterg stapfe") then ut would be quiti eady to guess even wits worse accurasy.

(If on-top of sentence lenth, it's also sentence-based ("correct horse battery staple") then it would be quite easy to guess even with worse accuracy.)

Re:New acoustic attack steals data from keystrokes with 95% ... by Gh0stRAT on Sunday August 06, 2023 @03:19AM (#37019678)
potential solution: keep a few intentional typos in your passphrases. It also makes dictionary attacks much harder.
Re:New acoustic attack steals data from keystrokes with 95% ... by GhostWhisperer on Sunday August 06, 2023 @06:03AM (#37020520)
now you have to remember the the typos
Re:New acoustic attack steals data from keystrokes with 95% ... by coldtea on Sunday August 06, 2023 @04:13PM (#37026124)
Plus, if they can tell what the actual words would be, then brute forcing the typos is trivial
Re:New acoustic attack steals data from keystrokes with 95% ... by Guvante on Saturday August 05, 2023 @07:25PM (#37017254)
Doesn't everybody not require only a password?

Offline you need the database which isn't public.

Online you usually need something else on new machines to get at the true master password.

Re:New acoustic attack steals data from keystrokes with 95% ... by lamontcg on Saturday August 05, 2023 @08:33PM (#37017704)
Don't type your master password on zoom calls
Re:New acoustic attack steals data from keystrokes with 95% ... by jeromegv on Saturday August 05, 2023 @09:44PM (#37018161)
Or use your fingerprint
Re:New acoustic attack steals data from keystrokes with 95% ... by worthless-trash on Sunday August 06, 2023 @02:13AM (#37019436)
why is that ?
Re:New acoustic attack steals data from keystrokes with 95% ... by danieldk on Sunday August 06, 2023 @02:41AM (#37019538)
1Password allows unlocking with a fingerprint (Touch ID) or Apple Watch, at least on a Mac. So you can unlock your password manager during a Zoom call, and nobody can snoop your master password.

(With 1Password, the master password is not enough to do a remote account takeover, you also need the second-factor key. And you can't snoop it, since it is only required during the first login, so a user will never type it after that.)

Re:New acoustic attack steals data from keystrokes with 95% ... by kristopolous on Sunday August 06, 2023 @12:12AM (#37018923)
[insert yubikey plug]

I don't use one but I know people who swear by them.

Also this is an extremely obvious result. Typing is obviously a form of "penmanship", it was well known that telegraph operators could identify each other by how they tapped out Morse code in the 1800s.

People have been able to do this based upon key stroke latency and even identify people based on habitual mouse patterns for decades.

Audio recordings work as yet another reliable proxy? Shocked!!

I am amazed that people can do such obvious things and get published, have articles written on them... I need to get in on that, sounds easy

I can make a web demo. You turn on the microphone type a couple things into a box on the web browser.

Then you go to a different window and continue typing and then the model predicts What you are typing. As long as it's proper grammar you can get to effectively 100% accuracy. It'll appear to be spooky magic.

I just might take the time.

Re:New acoustic attack steals data from keystrokes with 95% ... by mercer on Sunday August 06, 2023 @12:52AM (#37019078)
You sound confident enough that'd I'd like to see you show that off :P.
Re:New acoustic attack steals data from keystrokes with 95% ... by kristopolous on Sunday August 06, 2023 @04:47AM (#37020126)
sounds like a good exercise although it'll literally just be for my own personal amusement. Nobody actually cares about this unless you've got some institutional clout which I do not. Praise for the PhD would be ridicule for you and me.

But really, should be fun ... the laptop dock mic will be great for this. If it's external you're in trouble ... but the researchers just used the onboard so it'll be fine.

Re:New acoustic attack steals data from keystrokes with 95% ... by tedunangst on Sunday August 06, 2023 @12:38AM (#37019028)
What actually are you going to do if you spy on my zoom call and learn my master password is bigjarofpickles?
Re:New acoustic attack steals data from keystrokes with 95% ... by Sai_ on Sunday August 06, 2023 @01:12AM (#37019157)
Hacker: tedunangst, what’s your email? Wanna invite you to that thing!

Hacker: man, I hate typing passwords. Do you use password managers? Any reccos?

… I am become hacker, destroyer of tedunangst’s bank account.

Re:New acoustic attack steals data from keystrokes with 95% ... by danieldk on Sunday August 06, 2023 @02:38AM (#37019530)
1Password requires an extra key upon the first login that you never have to type afterwards. So, have fun trying to log in to that password manager, even if you have the master password.

Also, you can also use and require a hardware FIDO2 token as second factor.

Re:New acoustic attack steals data from keystrokes with 95% ... by dvngnt_ on Saturday August 05, 2023 @05:36PM (#37016532)
for a few years I've used rtx voice to remove keyboard typing and other background noise
Re:New acoustic attack steals data from keystrokes with 95% ... by TechBro8615 on Saturday August 05, 2023 @05:56PM (#37016656)
Finally, a real security weakness to cite when making fun of people for their mechanical keyboard. Time to start recording the audio of Zoom calls with some particularly loud typers...
Re:New acoustic attack steals data from keystrokes with 95% ... by fatfingerd on Saturday August 05, 2023 @06:04PM (#37016702)
Not according to the article.. Microphones are sensitive enough to mount the attack on quieter keyboards.
Re:New acoustic attack steals data from keystrokes with 95% ... by thereisnospork on Saturday August 05, 2023 @06:08PM (#37016741)
What we clearly need are louder keyboards - which overload the mic so as to render keystrokes indistinguishable.
Re:New acoustic attack steals data from keystrokes with 95% ... by meepmorp on Saturday August 05, 2023 @06:16PM (#37016790)
I've wanted to integrate a cap gun into a keyboard, basically a an old fashioned roll of paper caps and solenoid to whack 'em, triggered by exclamation points.
Re:New acoustic attack steals data from keystrokes with 95% ... by TheCleric on Saturday August 05, 2023 @06:58PM (#37017056)
Adding a gain knob to my keyboard, be right back.
Re:New acoustic attack steals data from keystrokes with 95% ... by idbehold on Saturday August 05, 2023 @07:56PM (#37017470)
When conducting coding interviews remotely I often switch from my mechanical keyboard to my laptop keyboard (for taking notes) because I know how annoying/distracting that sound can be on calls. Suffice it to say, having a gain knob on my mechanical keyboard would be wonderful.
Re:New acoustic attack steals data from keystrokes with 95% ... by someplaceguy on Saturday August 05, 2023 @09:27PM (#37018053)
My mechanical keyboard already has a knob that I've configured to control the system audio volume, all that's left is configuring Linux to play an audio file of a keypress recording every time I press a key...
Re:New acoustic attack steals data from keystrokes with 95% ... by yjftsjthsd-h on Sunday August 06, 2023 @01:40AM (#37019286)
> all that's left is configuring Linux to play an audio recording of a keypress every time I press a key

I unironically think I've seen that config recently - someone had an actually quiet keyboard but wanted the full Mechanical Keyboard Effect™ so they just... have it play the sound per keypress. (It was not 100% clear to me whether it was an elaborate joke or a real aesthetic choice)

Re:New acoustic attack steals data from keystrokes with 95% ... by danieldk on Sunday August 06, 2023 @02:28AM (#37019495)
The Kinesis Advantage2 and the Moonlander have a piezo speaker to give keystroke sounds. However, they are not for, as you might expect to give the full Mechanical Keyboard Effect™.

If you have mechanical switches, you want to learn to type just past the actuation point and not until the switch bottoms out. This is relatively easy with tactile switches (the have a bump and the actuation point is immediately after the bump). However in linear switches, you don't feel when you have hit the actuation point. So the piezo speaker can be used during the first weeks to train your muscle memory of where the actuation point is, so that you can type lightly.

I had this on my Kinesis Advantage with Cherry Reds, and it was really nice during the initial days/weeks, after which I turned it off.

Re:New acoustic attack steals data from keystrokes with 95% ... by dasyatidprime on Sunday August 06, 2023 @03:28AM (#37019730)
You want https://github.com/zevv/bucklespring then.

Lagniappe: “To temporarily silence bucklespring, for example to enter secrets, press ScrollLock twice”

Re:New acoustic attack steals data from keystrokes with 95% ... by busyant on Saturday August 05, 2023 @08:10PM (#37017572)
Or auto-mute upon key press.
Re:New acoustic attack steals data from keystrokes with 95% ... by addandsubtract on Saturday August 05, 2023 @08:30PM (#37017682)
Alternatively, constant random key press sounds playing in the background.
Re:New acoustic attack steals data from keystrokes with 95% ... by Aerroon on Saturday August 05, 2023 @10:11PM (#37018301)
Or just use a password manager.
Re:New acoustic attack steals data from keystrokes with 95% ... by tiltowait on Saturday August 05, 2023 @09:17PM (#37017991)
Some old IBM keyboards (beamsprings, the predecessor to the Model F, which preceded the Model M) had solenoids inside to make them louder and sound more like typewriters. I wonder if such a setup would defeat this attack, or if it would still be possible to discern the actual keypress alongside the solenoid.
Re:New acoustic attack steals data from keystrokes with 95% ... by doix on Saturday August 05, 2023 @11:02PM (#37018590)
I'm guessing it would be easier (assuming you trained it on that keyboard), because each solenoid would be fairly unique due to manufacturing tolerances. Just my gut feeling, I have no data to back it up.
Re:New acoustic attack steals data from keystrokes with 95% ... by Gh0stRAT on Sunday August 06, 2023 @03:16AM (#37019664)
I know nothing about this keyboard, but I'd assume it just has one solenoid because the expense and space of 100+ solenoids is impractical if all you're using them for is simulating the vibration/sound of a typewriter.
Re:New acoustic attack steals data from keystrokes with 95% ... by doix on Sunday August 06, 2023 @11:30AM (#37022993)
I wish I could delete my comment to hide my stupidity. For some reason I was thinking about springs despite reading and typing solenoid. You are of course 100% correct and unfortunately it's too late for me to hide my shame.
Re:New acoustic attack steals data from keystrokes with 95% ... by filchermcurr on Sunday August 06, 2023 @01:19AM (#37019179)
Not just limited to old IBM keyboards! The new reproduction Model F keyboards also have a solenoid option! It's fantastically loud with it banging on the solid metal case along with the buckling springs. Great keyboards in general.
Re:New acoustic attack steals data from keystrokes with 95% ... by Aerroon on Saturday August 05, 2023 @10:27PM (#37018381)
Microphones are surprisingly sensitive. I can listen to music in my closed-back headset at a regular volume. My desk mic can pick this up. Without boosting the audio it's barely audible that there's music, but after adding some gain you get almost the full song profile (and background noise).

I can even pick out some of my breathing from the recording.

If I turn on noise suppression and noise gate it's fine.

Re:New acoustic attack steals data from keystrokes with 95% ... by pests on Sunday August 06, 2023 @12:55AM (#37019091)
I was two rooms away from someone playing music on a smart Google device. I could very barely hear that music was playing at all and only just barely made out it was a song I had been interested in but kept missing. I pulled out my S22+ and used Shazam. somehow it was able to pick it up easily.
Re:New acoustic attack steals data from keystrokes with 95% ... by tharne on Saturday August 05, 2023 @11:34PM (#37018750)
Mechanical keyboard user here. Most of us use mechanical keyboards because they're a lot more fun to type on. That's it. Because if you're not having fun, what's the point?
Re:New acoustic attack steals data from keystrokes with 95% ... by coldtea on Sunday August 06, 2023 @02:28AM (#37019493)
I don't know, typing?

Else, something like Mai Tais on the beach sounds more fun, maybe it's just me...

Re:New acoustic attack steals data from keystrokes with 95% ... by whatisyour on Sunday August 06, 2023 @03:33AM (#37019755)
but mai tais on beach don't get you money, and if you are going to type on something, its better to make sure its comfortable for you.
Re:New acoustic attack steals data from keystrokes with 95% ... by sgu999 on Sunday August 06, 2023 @05:23AM (#37020288)
But inconfortable for others. Surely you all know it bothers a good amount at least some of your colleagues, right?
Re:New acoustic attack steals data from keystrokes with 95% ... by zmgsabst on Sunday August 06, 2023 @05:38AM (#37020376)
I prioritize my health over making my pen mates happy at the human farm.

Don’t like it?

Tell management to stop treating us like cattle and let us work from home or have offices. Or wear headphones.

Re:New acoustic attack steals data from keystrokes with 95% ... by coldtea on Sunday August 06, 2023 @06:54AM (#37020723)
Well, not everybody works in an open plan, a shared office, or in an office building.
Re:New acoustic attack steals data from keystrokes with 95% ... by swinglock on Sunday August 06, 2023 @09:14AM (#37021564)
Obviously the comment discusses a shared space. If you have your own room you can let your fart rips and sniff them for fun, pull out your dick and piss in a bottle for fun, clank on your loud toys for fun, all the things you should never do with other people around that you might find fun for whatever reason. No one cares. But don't do these things to other people around you, it's anti-social.
Re:New acoustic attack steals data from keystrokes with 95% ... by rvnx on Sunday August 06, 2023 @08:25AM (#37021222)
Soon this dystopia of keyboard sounds will be over thanks to an implant in the brain like monkeys.
Re:New acoustic attack steals data from keystrokes with 95% ... by tharne on Monday August 07, 2023 @02:12PM (#37038325)
> Surely you all know it bothers a good amount at least some of your colleagues

Quiet switches for the office, clicky switches for home. Not exactly a hard problem to solve :)

Re:New acoustic attack steals data from keystrokes with 95% ... by vladvasiliu on Sunday August 06, 2023 @05:47AM (#37020420)
But isn't one of the reasons for using mechanical switches to be able to not bottom out, hence avoiding the repetitive shocks on the fingers? This is what I do with my tactile keyboards, and I'm actually quieter when I type quickly than my colleagues who bottom out on their cheap hollow HP keyboards like no tomorrow.
Re:New acoustic attack steals data from keystrokes with 95% ... by coldtea on Monday August 07, 2023 @04:12AM (#37031721)
Is it? I've had a few mechanical keyboards, and follow some of those webpages devoted to different switches etc (not obsessively though, once in a blue moon), and I don't recall seeing "bottoming out" and "shocks" as any major benefit mentioned.

I also remember typewriters and old IBM style mechanical keyboards beeing quite heavy to activate, subjectively needing more pressure than some chiclet style "shock" (which I can barely feel).

Re:New acoustic attack steals data from keystrokes with 95% ... by vasco on Sunday August 06, 2023 @05:40AM (#37020389)
Mai tais on the beach don't let you signal what a cool hacker you are. When the point of a thing is signaling, normal arguments don't apply.
Re:New acoustic attack steals data from keystrokes with 95% ... by Spooky23 on Sunday August 06, 2023 @12:37AM (#37019024)
* * *
Re:New acoustic attack steals data from keystrokes with 95% ... by rTX5CMRXIfFG on Sunday August 06, 2023 @01:24AM (#37019199)
in general, the way to beat self-proclaimed geniuses in their own game of bragging (if your side of the story is correct and the genius in consideration is indeed arrogant instead of you simply making a malicious comment from a place of insecurity) is to level with their degree of knowledge and show a flaw in their methods of thinking or way of doing things, as in the case of the “geniuses” who developed the vulnerability. imagine being a mere, average bystander waiting decades for some other genius to come up with something before they can make up for their own insecurity.
Re:New acoustic attack steals data from keystrokes with 95% ... by throwaway290 on Sunday August 06, 2023 @02:46AM (#37019560)
Not inspired enough to hire him properly apparently...
Re:New acoustic attack steals data from keystrokes with 95% ... by harles on Sunday August 06, 2023 @03:07AM (#37019629)
Somewhat tangential: clicky switches, like Cherry Blues, tend to click twice for each stroke. I think this leads to people assuming there are twice as many strokes going on. Tactile switches tend to only click once (when they bottom out). So, fancy keyboards can make people sound faster than they are.
Re:New acoustic attack steals data from keystrokes with 95% ... by leni536 on Sunday August 06, 2023 @04:34AM (#37020048)
Add a guy that bottoms out the keys and you will have an additional "click".
Re:New acoustic attack steals data from keystrokes with 95% ... by assbuttbuttass on Sunday August 06, 2023 @08:59AM (#37021435)
I don't think that's quite right. Many switches including tactiles will make a sound when the switch tops out, from the stem hitting the housing.

As far as I know, Cherry blues only click once and the second sound you hear on a keypress is just the topping out sound.

https://cdn-blog.adafruit.com/uploads/2016/09/Blue.gif

Re:New acoustic attack steals data from keystrokes with 95% ... by surge on Sunday August 06, 2023 @07:37PM (#37028125)
And they make little o rings to dampen that if you're hardcore.
Re:New acoustic attack steals data from keystrokes with 95% ... by _the_inflator on Sunday August 06, 2023 @03:17AM (#37019665)
> it was like living on a gun range

Thanks for this metaphor. I know off at least one guy, to which this metaphor could be applied as well.

Re:New acoustic attack steals data from keystrokes with 95% ... by jayd16 on Sunday August 06, 2023 @01:39AM (#37019280)
I'll just have to add significantly more background clickity clacks as obfuscation.
Re:New acoustic attack steals data from keystrokes with 95% ... by Verdex on Sunday August 06, 2023 @09:09AM (#37021520)
My thought was to run psyops all the time.

"Just need to type in my password." He says a little too loudly to nobody. Then just type in the honeypot password and login with the real one that you entered with a virtual keyboard a few minutes ago.

Meanwhile you've got a prerecorded keyboard going concurrently that decodes to "I know what you're trying to do. Clever but not clever enough."

And I guess you might as well have a special keyboard that you only use for typing in passwords while you're at it.

Re:New acoustic attack steals data from keystrokes with 95% ... by worthless-trash on Sunday August 06, 2023 @02:10AM (#37019422)
Good luck with my mech steno keyboard.
Re:New acoustic attack steals data from keystrokes with 95% ... by marvin on Sunday August 06, 2023 @04:39AM (#37020084)
It’s so fascinating to watch this play out live. Once again, an ambitious kid can implement software hacks that are very funny when used for a joke, but also have massive real-world implications.
Re:New acoustic attack steals data from keystrokes with 95% ... by WWLink on Monday August 07, 2023 @03:21AM (#37031322)
I fear that "in the name of security" is going to ruin everything.
Re:New acoustic attack steals data from keystrokes with 95% ... by bitshiftfaced on Saturday August 05, 2023 @07:52PM (#37017436)
I think maybe you wouldn't even need to see the keystrokes. Given enough examples of just audio, I wonder if you could work out the keys using the statistical letter patterns in language.
Re:New acoustic attack steals data from keystrokes with 95% ... by hackernewds on Saturday August 05, 2023 @10:48PM (#37018509)
seems like a very niche case to be warranting the headline and Hackernews front page
Re:New acoustic attack steals data from keystrokes with 95% ... by dools on Saturday August 05, 2023 @11:11PM (#37018642)
And there are therefore millions of hours of video that could be attack surface area already in the wild