News for hackers. Stuff that matters.
Re:Don't close your MacBook with a cover over the camera by dvfjsdhgfv on Friday July 10, 2020 @03:41PM (#23795510)
The problem is in the design: by not providing a hardware switch, all we have is trust. As we can see from the past, unfortunatly it's not enough.
Re:Don't close your MacBook with a cover over the camera by NovemberWhiskey on Friday July 10, 2020 @03:55PM (#23795677)
But you just moved the goal-posts from a discussion about whether the implementation was faulty (and Apple was misleading their product owners) to one about whether the design compromises are right.

Apple claims that the LED comes on when the camera is active, which it claims helps protect your privacy. That seems to be true, and certainly no-one seems to have any contradictory examples that are not 12+ years old.

I can argue that when one uses a sliding cover, one can easily forget to reset it after a video chat. The design is bad. The right solution is simply not to have a camera. It's just a different design compromise.

Re:Don't close your MacBook with a cover over the camera by causality0 on Friday July 10, 2020 @04:42PM (#23796215)
The question is whether this is a firmware implementation that's just waiting for a 0-day or if the +V for the CMOS sensor is literally wired to the LED. If the latter I'd like to see a picture of it.
Re:Don't close your MacBook with a cover over the camera by axoltl on Friday July 10, 2020 @05:19PM (#23796606)
Hi!

I was the security architect for this feature on recent Macs. The LED is wired to the camera PMIC and is powered by the voltage rail that powers the camera. The PMIC will always remain on if the system has power. Macs newer than 4 or so years also have a feature that forces the LED to stay lit for at least 3 seconds after it has been turned on to prevent the single-frame-grab attack.

Re:Don't close your MacBook with a cover over the camera by ggus on Friday July 10, 2020 @06:08PM (#23797133)
> to prevent the single-frame-grab attack.

prevent? by the time the LED turns on, the attack has already happened.

Re:Don't close your MacBook with a cover over the camera by acdha on Friday July 10, 2020 @06:40PM (#23797419)
Prevent it from being undetectable
Re:Don't close your MacBook with a cover over the camera by gmantg on Friday July 10, 2020 @07:48PM (#23797996)
Or to put it simply "to detect the single frame grab attack". LED lights can't prevent anything.
Re:Don't close your MacBook with a cover over the camera by smsm42 on Saturday July 11, 2020 @02:25AM (#23800041)
Provided you looked at the camera light in those 3 seconds.
Re:Don't close your MacBook with a cover over the camera by prerok on Friday July 10, 2020 @07:24PM (#23797785)
I am wondering: how does Mac know whether you are in a light room or a dark room to adjust its screen's brightness without activating the camera?
Re:Don't close your MacBook with a cover over the camera by nippoo on Friday July 10, 2020 @07:37PM (#23797892)
Re:Don't close your MacBook with a cover over the camera by sjwright on Friday July 10, 2020 @07:35PM (#23797882)
There’s a separate ambient light sensor.
Re:Don't close your MacBook with a cover over the camera by causality0 on Saturday July 11, 2020 @01:11AM (#23799698)
Ah, good. Is the microphone similarly protected? Sometimes I feel I must be the only person on earth who doesn't use their laptop while naked and couldn't care less if the imager was watching me. The microphone, however, could be an actual security threat. Phone calls, muttered passwords, etc.
Re:Don't close your MacBook with a cover over the camera by moe on Friday July 10, 2020 @09:16PM (#23798523)
Out of curiosity...

Do the doors at Apple HQ have locks? Or is there just a little LED next to them that lights up when they open?

Re:Don't close your MacBook with a cover over the camera by saagarjha on Friday July 10, 2020 @09:37PM (#23798638)
There is a little LED that lights up when they open. The door latch is controlled via software and so is the light, though I would assume in the case of power failure they'd unlock for fire safety reasons.
Re:Don't close your MacBook with a cover over the camera by moe on Saturday July 11, 2020 @04:10AM (#23800448)
Ok. So there is not only a LED, but a physical latch.

I think Apple's building security architect should have a conversation with their camera security architect.

Re:Don't close your MacBook with a cover over the camera by saagarjha on Saturday July 11, 2020 @04:40AM (#23800565)
I know where you were going with that, but the situation is different than what you’re trying to show. On Macs the light is on the path of the camera: if it is on the camera is, if it is not then the camera is not. Whereas with the door you might think that if it was latchless someone could just push it open when the light was off. The camera light is really a door alarm, not a door latch. (And as I just mentioned, doors with an alarm but no lock often do exist, usually for fire safety reasons).
Re:Don't close your MacBook with a cover over the camera by moe on Saturday July 11, 2020 @06:44AM (#23801079)
No, the situation is in fact the exact same.

A door without a latch does not prevent an unauthorized person from trespassing. A camera without a cover does not prevent an unauthorized person from trespassing.

Apples webcams are broken by design.

Other companies fixed theirs years ago: https://www.youtube.com/watch?v=37NFVGLX3vw

Re:Don't close your MacBook with a cover over the camera by dasudasu on Friday July 10, 2020 @05:53PM (#23796983)
So you have to perpetually watch out for the LED indicator to see if it ever randomly turns on for 3 seconds? And what if it does come up unexpectedly? At this point it's too late and you've already been captured. A mechanical cover that can slide on and off the camera seems like much better security.
Re:Don't close your MacBook with a cover over the camera by mthoms on Friday July 10, 2020 @06:11PM (#23797161)
You don't "have to" do anything.

The point is that the hardware has been designed properly. Combined with the OS-level permissions, it should be assurance enough for the majority of use cases.

If you need further assurances, then by all means, use a physical cover.

Re:Don't close your MacBook with a cover over the camera by dasudasu on Friday July 10, 2020 @06:23PM (#23797276)
The claim was that single-frame grab attempts are prevented by an indicator that stays on for 3 seconds. First, you do have to be alert for all of these potential 3 seconds windows, and second, it doesn't prevent anything but only tell you that it has already happened.
Re:Don't close your MacBook with a cover over the camera by saagarjha on Friday July 10, 2020 @09:39PM (#23798654)
No, it wasn't. The claim was whether it was implemented correctly, as the entire conversation started with examples where it was not implemented correctly.
Re:Don't close your MacBook with a cover over the camera by smsm42 on Saturday July 11, 2020 @02:28AM (#23800056)
Properly designed hardware would add one small - and in every way possible, since we've already identified the circuit that drives the single power source - addition. A physical switch that prevents camera from being turned on. Same for the microphone. Unfortunately, this is never done. So people put covers on.
Re:Don't close your MacBook with a cover over the camera by valuearb on Friday July 10, 2020 @06:10PM (#23797150)
Except that people will forget to use them
Re:Don't close your MacBook with a cover over the camera by ISL on Friday July 10, 2020 @05:14PM (#23796550)
Someone out there can buy a broken MacBook off eBay and score some YouTube notoriety to do this very investigation.

Bonus points for using a Sawzall to get started.

Re:Don't close your MacBook with a cover over the camera by Closi on Friday July 10, 2020 @05:21PM (#23796635)
This blogpost claims to have a message from an apple engineer stating that it’s now hardware level:

https://daringfireball.net/2019/02/on_covering_webcams

Re:Don't close your MacBook with a cover over the camera by 1-more on Friday July 10, 2020 @05:25PM (#23796675)
According to an anonymous Gruber source, Apple fixed the issue by tying the led to the Vsync on the camera board. I have not found a teardown or anything other than this confirming it https://daringfireball.net/2019/02/on_covering_webcams
Re:Don't close your MacBook with a cover over the camera by zndr on Friday July 10, 2020 @05:19PM (#23796604)
It isn't the led is physically slaved to the power of the camera, the previous version was firmware fixed and was hacked, hence the change.
Re:Don't close your MacBook with a cover over the camera by GuiA on Friday July 10, 2020 @03:46PM (#23795577)
I had a laptop with a physical switch for WiFi/Bluetooth in 2006 or so (with a matching orange/blue light that would turn up when you toggled it). The problem was that this was actually all done by a software driver - when I booted into Linux with the laptop I was surprised to find that the bluetooth/wifi modules were on regardless of the switch's position.

At the end of the day, unless you have a really nice microscope, solid understanding of electrical engineering, and a few tens of thousands of hours ahead of you, you have to trust whoever you're buying the hardware from that it will do what they say it will. No amount of hardware efforts can solve the fundamental human trust problem.

Re:Don't close your MacBook with a cover over the camera by SAI_Peregrinus on Friday July 10, 2020 @04:35PM (#23796138)
I have a Lenovo Thinkpad T480. Its webcam switch is a slider that covers the webcam lens. You don't need a fancy microscope, or a solid understanding of EE, or tens of thousands of hours. You need the ability to see the slider cover the lens. Takes all of half a second and at least 1 eye.
Re:Don't close your MacBook with a cover over the camera by stjohnswarts on Friday July 10, 2020 @07:33PM (#23797854)
Yeah but it's just as easy to put some black tape over most laptop cameras. Evidently apple decided to not consider that option
Re:Don't close your MacBook with a cover over the camera by drdaeman on Friday July 10, 2020 @05:22PM (#23796647)
Plot twist: the slider material could be opaque in the visible spectrum but transparent in IR.

/s

Re:Don't close your MacBook with a cover over the camera by valuearb on Friday July 10, 2020 @06:13PM (#23797183)
And the hackers still win, cause no one remembers to slide it shut after a call, and they can hack the led so there is no physical indicator when they are watching.
Re:Don't close your MacBook with a cover over the camera by macintux on Friday July 10, 2020 @06:50PM (#23797497)
I honestly can't remember the last time I used my camera during a company meeting, and I've been working remotely since March.

So, there's definitely value to a built-in cover; in my case it would stay shut permanently.

Re:Don't close your MacBook with a cover over the camera by valuearb on Friday July 10, 2020 @09:17PM (#23798530)
A piece of tape does that without the security theatre of a cover.
Re:Don't close your MacBook with a cover over the camera by SAI_Peregrinus on Friday July 10, 2020 @09:42PM (#23798677)
I prefer aluminum foil under the tape that's over the lens so it can be flipped up out of the way easily but still block the view. But the cover does the same thing and doesn't take the effort of putting in a piece of tape.
Re:Don't close your MacBook with a cover over the camera by basch on Friday July 10, 2020 @03:50PM (#23795615)
It would be pretty impressive for someone to get the camera to work through a physical cover.
Re:Don't close your MacBook with a cover over the camera by brlewis on Friday July 10, 2020 @03:56PM (#23795682)
It would be mildly impressive if a manufacturer made a fake cover with a switch to detect when it's "closed" and make the main camera stream filtered to look like the cover is real, while having a 2nd back-door unfiltered stream. Of course this could be detected by someone who took the unit apart.
Re:Don't close your MacBook with a cover over the camera by int_19h on Friday July 10, 2020 @07:48PM (#23797995)
On Thinkpads, the cover has a prominent red dot painted on it, that ends up in the location where camera lens would normally be. And, of course, you can visibly see the edge of the cover move as you slide it. So I don't know how you'd fake that.
Re:Don't close your MacBook with a cover over the camera by gmantg on Friday July 10, 2020 @07:54PM (#23798026)
Just pick a material that's opaque only in visible spectrum.
Re:Don't close your MacBook with a cover over the camera by grogenaut on Friday July 10, 2020 @04:21PM (#23795985)
At this time we specifically bought computers with modules for radios that we could pull. Toshiba was happy to supply this to us.
Re:Don't close your MacBook with a cover over the camera by im3w1l-alt on Friday July 10, 2020 @04:02PM (#23795758)
It's like the halting problem. It's hard to decide whether a given switch works in the general case. But it's possible to design an obviously correct breaker.

Edit: the gnarly thing might be ensuring it doesn't harvest power through data wires or store power in covert capacitors or batteries.

Re:Don't close your MacBook with a cover over the camera by dvfjsdhgfv on Friday July 10, 2020 @03:49PM (#23795608)
I had another laptop with a hardware switch and a corresponding LED, and it worked exactly as it should - the hardware was completely inaccessible under Linux. So yes, it can be done and it's not rocket science.
Re:Don't close your MacBook with a cover over the camera by GuiA on Friday July 10, 2020 @03:55PM (#23795665)
Yes, what you describe is trivial - and it would be similarly trivial to design a module that appears to respect the switch (regardless of Linux/Windows) and yet records things surreptitiously, only to offload it at a later date.

Remember the amount of effort VW was willing to expand to cheat emissions testing.

Re:Don't close your MacBook with a cover over the camera by jimnotgym on Friday July 10, 2020 @04:10PM (#23795858)
That's why I like the old Thinkpad with the physical cover and the LED
Re:Don't close your MacBook with a cover over the camera by Angeo34 on Friday July 10, 2020 @03:53PM (#23795643)
>tens of thousand of hours >electrical engineering Yea gluing a piece of tape is a piece of art even Marx wasn't able to.
Re:Don't close your MacBook with a cover over the camera by GuiA on Friday July 10, 2020 @03:56PM (#23795683)
The question isn't whether you can add a cover to the product after the fact, it's whether you can trust a switch on a product to do what the manufacturer says it does.
Re:Don't close your MacBook with a cover over the camera by kelnos on Friday July 10, 2020 @04:23PM (#23796013)
I don't see how that fixes the problem; if you don't trust Apple to build in hardware safeguards around the camera indicator light, why would you trust them with a hardware switch?
Re:Don't close your MacBook with a cover over the camera by sli on Friday July 10, 2020 @04:34PM (#23796122)
A hardware switch should in theory be more easily verifiable than a software one through physical testing. Running tests on PCB traces to verify that a switch indeed works is probably a whole lot easier in general practice than decapping chips or decompiling and analyzing low level firmware or low level OS components.
Re:Don't close your MacBook with a cover over the camera by ryandrake on Friday July 10, 2020 @06:02PM (#23797066)
But are you going to run those tests on PCB traces on your own hardware? If not, then you have to trust that your hardware is identical to whatever hardware was torn-down and tested. I suppose this is good enough unless your threat model includes someone swapping your computer enroute to you with a modified one.
Re:Don't close your MacBook with a cover over the camera by mekkkkkk on Friday July 10, 2020 @07:03PM (#23797626)
But even then, are you sure the computer whose PCB you tested hasn't been swapped or modified since then? That Chinese operatives didn't splinter cell it while you were out grocery shopping?
Re:Don't close your MacBook with a cover over the camera by milesvp on Friday July 10, 2020 @04:40PM (#23796198)
Just so you know, switches in something as complicated as a laptop have a good chance at being connected to a processor , with firmware being the thing that determines what the switch does. So you still need trust, even with a physical switch.

Source: write firmware for a living, and write drivers for physical switches.

Re:Don't close your MacBook with a cover over the camera by DoofusOfDeath on Friday July 10, 2020 @05:16PM (#23796574)
That's a good point. I'm guessing that people calling for a "hardware switch" implicitly mean one that cannot be overridden by firmware.

I.e., a traditional switch inline on the circuit(s) connecting the camera / microphone to the rest of the system.

Re:Don't close your MacBook with a cover over the camera by saagarjha on Friday July 10, 2020 @09:42PM (#23798675)
On MacBooks Apple says their microphone disconnect is "done in hardware alone", so it might be that closing the lid disconnects something physically.
Re:Don't close your MacBook with a cover over the camera by philwelch on Friday July 10, 2020 @05:10PM (#23796492)
It doesn’t need to be a switch. My current work laptop is an HP. It has a little plastic camera cover that slides back and forth to cover the camera.
Re:Don't close your MacBook with a cover over the camera by amelius on Friday July 10, 2020 @09:55PM (#23798758)
It should be implemented with the same robustness as if the user's life depended on it.

As an analogy, you wouldn't implement a car brake by running it through some firmware. Instead, you'd preferably make a direct physical connection between the pedal and the actual brake.

Re:Don't close your MacBook with a cover over the camera by zulln on Friday July 10, 2020 @03:57PM (#23795693)
I thought the LED is now connected to the camera by hardware? You cannot disable it by firmware while the camera is on.
Re:Don't close your MacBook with a cover over the camera by tehjoker on Friday July 10, 2020 @07:40PM (#23797923)
There's another angle, which is that even if the wiring works and forms an iron clad promise the camera is not working, not having camera covers trains the population to be okay with having cameras pointed at them all the time, even in their most personal and private spaces.