Live data from Hacker News

Bluetooth keystroke-injection in Android, Linux, macOS and iOS

github.com

21–30 of 265 posts

Re: Bluetooth keystroke-injection in Android, Linux, macOS and iOS

#21
post #8

> ChromeOS is the only Linux-based OS known to have enabled the fix Once again ChromeOS is showing it cares about security more than seemingly any other end user OS. I think it's really underestimated as a platform.

It's really underrated; the easiest PHD (Push Here Dummy) OS I have ever used and the fact its security is top notch only makes it even better.

Re: Bluetooth keystroke-injection in Android, Linux, macOS and iOS

#22
post #19

Earlier quoted context omitted.

Alas, merely guessing, but it sounds like you can tell an apple device "I am the magic keyboard you know and trust" and it will believe you.

Wouldn't that require knowing/guessing/brute-forcing a unique device identifier that's probably not available to be sniffed if the genuine keyboard in question isn't in use?

Perhaps there is a bug and the unique identifier isn't checked.

Re: Bluetooth keystroke-injection in Android, Linux, macOS and iOS

#24
post #19

Earlier quoted context omitted.

Wouldn't that require knowing/guessing/brute-forcing a unique device identifier that's probably not available to be sniffed if the genuine keyboard in question isn't in use?

Perhaps there is a bug and the unique identifier isn't checked.

That was sort of the impression I got. It’s not that Apple is doing something unfixable, it’s that they have a bug that enables something that shouldn’t happen.

Still guessing here, but if I have a Magic Keyboard paired to my computer right now and I’m using it, is there any reason to let a second Magic Keyboard automatically pair itself?

If your Bluetooth device pretends to be the second Magic Keyboard and automatically pairs it could start injecting keystrokes. That seems like it would fit the description here.

Maybe (or maybe not) that involves pretending to be the first Magic Keyboard. Apple makes their stuff, they KNOW that no to have the same serial number (unlike some cheap stuff you can buy). But if they don’t protect against that…

Re: Bluetooth keystroke-injection in Android, Linux, macOS and iOS

#25
This doesn't mention Windows at all.

That sounds great on the surface, but it would be really helpful to understand why Windows is not actually at fault so I can better measure the risk profile.

For example, knowing that the Windows Bluetooth stack has the architectural equivalent of BlueZ's `ClassicBondedOnly=false` would be really helpful to know; that would tell me to keep an eye out for it being `true` in environments I'm trying to harden, for example.

Alternatively the stack might work entirely differently and the status quo might consist of a different set of considerations to keep in mind.

This is awesome and I'm looking forward to the PoCs and (pleeease) video with lots of demonstrations :)

But Windows has enough market share and enough sysadmins are going to be going "!!!...???" that some info would be helpful.

That info might be "I haven't attacked Windows yet". That would be good to know too :)

Re: Bluetooth keystroke-injection in Android, Linux, macOS and iOS

#27
post #20
post #12

Earlier quoted context omitted.

For some reason Bluetooth has to be enabled for Android Auto to work, even though it's wired, so I leave it enabled. But there should be a way to just disable keyboards categorically, for phones.

Doesn't Android Auto carry audio over Bluetooth? That would be consistent with how unreliable the audio is.

I don't know. What's the wire for? Needing both the USB cable and Bluetooth has always struck me as pretty dumb.

Re: Bluetooth keystroke-injection in Android, Linux, macOS and iOS

#28
I'm going to guess that Apple made some decisions here to trade off security for usability so the Magic Keyboard can "work like magic" regardless of what stage of the boot cycle, recovery mode, etc the computer is in, and this vulnerability takes advantage of that.

Looks like this has just been fixed in iOS/macOS.

Re: Bluetooth keystroke-injection in Android, Linux, macOS and iOS

#29
post #2

https://nvd.nist.gov/vuln/detail/CVE-2023-45866 https://lists.debian.org/debian-lts-announce/2023/12/msg0001... https://source.android.com/docs/security/bulletin/2023-12-01 https://support.apple.com/en-us/HT214036 https://support.apple.com/en-us/HT214035

Disappointingly, this hasn't been fixed on the prior versions iOS 16 / macOS 13.

Re: Bluetooth keystroke-injection in Android, Linux, macOS and iOS

#30
post #8

> ChromeOS is the only Linux-based OS known to have enabled the fix Once again ChromeOS is showing it cares about security more than seemingly any other end user OS. I think it's really underestimated as a platform.

Yeah, Google wants to be the only one to spy on you :)
Post reply on HN