News for hackers. Stuff that matters.
Re:Apple's apps bypass firewalls like LittleSnitch and LuLu ... by eptcyka on Tuesday October 20, 2020 @12:54PM (#24839658)
I think the threat model here is that someone might've swapped out your keyboard to one that's spying on you, whilst you're out at a conference enjoying the more social aspects of such gatherings. At the same time, if you were to not be connected to a network, this kind of verification wouldn't do anything.
Re:Apple's apps bypass firewalls like LittleSnitch and LuLu ... by junon on Tuesday October 20, 2020 @01:08PM (#24839845)
I don't believe this is ever the case. What happens if you legitimately installed a new keyboard? Will Apple just... prevent you from using it?
Re:Apple's apps bypass firewalls like LittleSnitch and LuLu ... by dylan604 on Tuesday October 20, 2020 @01:30PM (#24840115)
I have a 2017 MBP. There are several keycaps that that are no longer physically connected to the key, so if I tilt the laptop 4 or 5 keys fall off. I have been dealing with it by using an external Apple keyboard (with added benefit of having 10-key and full sized arrow keys). Since it's on a desktop in this config, I have it set to never sleep so luckily I have not seen this unwakeable fuck up.
Re:Apple's apps bypass firewalls like LittleSnitch and LuLu ... by hombre_fatal on Tuesday October 20, 2020 @02:51PM (#24841010)
Apple has a three year warranty which means yours may have run out or is about to run out.

If you still have time, get your keyboard replaced for free: https://support.apple.com/keyboard-service-program-for-mac-n... (it also means they have to replace your mobo and battery due to brilliant Apple engineering).

It doesn't fix the problem, but it resets the clock until they fall off again. In Texas, it was <48 hours between dropping my Macbook off at the Apple shop and receiving it on my doorstep.

Re:Apple's apps bypass firewalls like LittleSnitch and LuLu ... by dylan604 on Tuesday October 20, 2020 @03:42PM (#24841572)
I just followed your link, and had an interesting experience. Of all of the Apple Stores and Authorized Repair they do not appear to be accepting repairs. Everyone of them tell me: "This location has no available reservations. You can check another location now, or check this location again tomorrow."

Can't even get far enough to see if the repair would be covered. Good job Apple

Re:Apple's apps bypass firewalls like LittleSnitch and LuLu ... by wtf_srsly on Tuesday October 20, 2020 @03:11PM (#24841241)
48 hours is pretty optimistic. At least for the 2016 model they can't just change the keycaps but they'll have to change the whole bottom case. This took a few weeks for me since I had to send it to a certified repair center.
Re:Apple's apps bypass firewalls like LittleSnitch and LuLu ... by hombre_fatal on Wednesday October 21, 2020 @12:44PM (#24849542)
That's the same for the 2017 model that I had to fix. I got a new mobo + battery. Convenient because my battery was in dire need to servicing.

I heard it would take weeks and even had a backup laptop ready, so it surprised me when it came <2 days later. It was my original laptop too (had all my data and the same dent).

Oh well, the new models don't have this issue anymore. What a fuck up.

Re:Apple's apps bypass firewalls like LittleSnitch and LuLu ... by dylan604 on Tuesday October 20, 2020 @02:57PM (#24841090)
The big question is will they extend the warranty by the number of months the Apple Stores were closed due to pandemic lock down? My keycaps didn't start misbehaving until about April.
Re:Apple's apps bypass firewalls like LittleSnitch and LuLu ... by wtf_srsly on Tuesday October 20, 2020 @03:08PM (#24841215)
> Apple seems to do all kinds of weird networking _stuff_. For instance, during wakeup, your T2 equipped Macbook will wait for a DNS response and then use said DNS response to synchronize time via NTP before letting the user use the keyboard. Probably checking timestamps on signatures for the keyboard firmware, or something stupid like that. This only happens if it happens to have a default route.

I had the same thing happening to me but Apple changed the complete keyboard under their extended keyboard warranty programm (even though it was out of Apple Care already).

Re:Apple's apps bypass firewalls like LittleSnitch and LuLu ... by gowld on Tuesday October 20, 2020 @06:40PM (#24843040)
Before 2019 if you use the factory standard keyboard Apple will just prevent you from using it (butterfly).
Re:Apple's apps bypass firewalls like LittleSnitch and LuLu ... by mulmen on Tuesday October 20, 2020 @01:57PM (#24840429)
Huh? When I’m out socializing there’s no spying to do. But as soon as I get back I will just log in and the spying begins.

I’m so accustomed to flaky peripherals with Apple products I wouldn’t even be alarmed at the behavior.

Re:Apple's apps bypass firewalls like LittleSnitch and LuLu ... by johnmaguire2013 on Tuesday October 20, 2020 @02:29PM (#24840777)
I think you misunderstand.

The idea is that if your keyboard is replaced with a keyboard that has modified (hacked) firmware, your computer will refuse to let you use it.

To do this, it must obtain a cryptographic attestation from the keyboard firmware, proving that it has not been modified. Further, to avoid replay attacks it must include the current time in the message it signs. NTP is used by macOS to determine the current time, so as to verify the signature provided by the keyboard.

So, if NTP is slow to respond or time out, you are stuck waiting for your Mac to verify your keyboard's signature.

Re:Apple's apps bypass firewalls like LittleSnitch and LuLu ... by userbinator on Tuesday October 20, 2020 @03:34PM (#24841492)
If I was an attacker I would simply hook into the key matrix. The extra obfuscation in firmware is just user-hostile and stupid.
Re:Apple's apps bypass firewalls like LittleSnitch and LuLu ... by GekkePrutser on Tuesday October 20, 2020 @03:19PM (#24841322)
So they introduce a major usability breaker (consider opening up your macbook on a plane with no internet access) to prevent a really obscure security issue that requires an attacker to replace the entire system's top case without you noticing. Nice.

At least give the user the ability to turn that off.

Re:Apple's apps bypass firewalls like LittleSnitch and LuLu ... by likeclockwork on Tuesday October 20, 2020 @04:25PM (#24842000)
What happens if you have networking turned off or your WiFi isn't configured for the local network?
Re:Apple's apps bypass firewalls like LittleSnitch and LuLu ... by johnmaguire2013 on Tuesday October 20, 2020 @07:38PM (#24843409)
Per the grandparent...

> At the same time, if you were to not be connected to a network, this kind of verification wouldn't do anything.

Re:Apple's apps bypass firewalls like LittleSnitch and LuLu ... by Dylan16807 on Tuesday October 20, 2020 @05:44PM (#24842664)
> Further, to avoid replay attacks it must include the current time in the message it signs.

Use a counter...?

Re:Apple's apps bypass firewalls like LittleSnitch and LuLu ... by johnmaguire2013 on Tuesday October 20, 2020 @07:38PM (#24843413)
I'm not trying to defend Apple here, just explain the mechanism to the parent.
Re:Apple's apps bypass firewalls like LittleSnitch and LuLu ... by Dylan16807 on Tuesday October 20, 2020 @08:06PM (#24843607)
Oh, okay. You said "must" so I was wondering if there was another important factor.
Re:Apple's apps bypass firewalls like LittleSnitch and LuLu ... by johnmaguire2013 on Wednesday October 21, 2020 @11:44AM (#24848935)
Sorry, that wasn't the best word choice. Certainly a counter is another viable way of performing that check. (And obviously comes with its own set of trade-offs which I'm not interested in performing value judgments on!)
Re:Apple's apps bypass firewalls like LittleSnitch and LuLu ... by mulmen on Tuesday October 20, 2020 @02:40PM (#24840891)
I was thinking of an external keyboard. That might be the cause of confusion.