News for hackers. Stuff that matters.
Re:Malware can turn off webcam LED and record video, demonst... by sbarre on Wednesday November 27, 2024 @03:27PM (#42259395)
I thought the whole point of these camera LEDs was to have them wired to/through the power to the camera, so they are always on when the camera is getting power, no matter what.

Having the LED control exposed through the firmware completely defeats this.

Re:Malware can turn off webcam LED and record video, demonst... by 542458 on Wednesday November 27, 2024 @03:54PM (#42259659)
They are hardwired on Macbooks. From Daring Fireball, quoting an email from an Apple engineer.

> All cameras after [2008] were different: The hardware team tied the LED to a hardware signal from the sensor: If the (I believe) vertical sync was active, the LED would light up. There is NO firmware control to disable/enable the LED. The actual firmware is indeed flashable, but the part is not a generic part and there are mechanisms in place to verify the image being flashed. […]

> So, no, I don’t believe that malware could be installed to enable the camera without lighting the LED. My concern would be a situation where a frame is captured so the LED is lit only for a very brief period of time.

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

Re:Malware can turn off webcam LED and record video, demonst... by aftbit on Wednesday November 27, 2024 @04:05PM (#42259768)
>The actual firmware is indeed flashable, but the part is not a generic part and there are mechanisms in place to verify the image being flashed.

That might make it harder to develop a hack, but one would hope that if the hardware team tied the LED to a hardware signal, it would not matter if the firmware were reflashed.

Re:Malware can turn off webcam LED and record video, demonst... by varenc on Wednesday November 27, 2024 @04:11PM (#42259818)
I believe that it’s not literally hardwired in the sense that powering up the camera also powers up the camera LED, and instead this relies on logic in the hopefully un-flashable camera+LED firmware. Someone correct me if I’m wrong.

You need some logic to enforce things like a minimum LED duration that keeps the LED on for a couple seconds even if the camera is only used to capture one brief frame.

I have a script that takes periodic screenshots of my face for fun and I can confirm the LED stays on even if the camera only captures on quick frame.

Re:Malware can turn off webcam LED and record video, demonst... by MaxikCZ on Wednesday November 27, 2024 @04:16PM (#42259862)
A capacitor can hold enough charge to power led for noticable amount of time even if powered for a brief moment, no logic needed
Re:Malware can turn off webcam LED and record video, demonst... by squarefoot on Wednesday November 27, 2024 @06:10PM (#42260721)
I don't think they would waste a high value capacitor just to keep a led lit for longer, also a led directly lit by a capacitor would be noticeable by slowly dimming when the capacitor discharges. It's more likely that the signal driving the led comes out of a monostable implemented in code: pin_on() drives the led on; pin_off() waits n secs then drives the led off.
Re:Malware can turn off webcam LED and record video, demonst... by altairprime on Wednesday November 27, 2024 @09:12PM (#42261753)
This is Apple, so that assertion isn’t guaranteed valid like it would be for non-enterprise HP or Lenovo. They absolutely would invest in a capacitor if that’s what it takes, as they are maximally focused on camera privacy concerns and have made a point of that in their security marketing over time; or else they wouldn’t be allowing hardware security engineers to brag about it, much less talk publicly about it, at all.

EDIT: It’s not just a capacitor, it’s a full custom chip, that can’t be software-modified, that keeps the light on for 3 seconds. https://news.ycombinator.com/item?id=42260379

Re:Malware can turn off webcam LED and record video, demonst... by RA2lover on Wednesday November 27, 2024 @04:39PM (#42260053)
The trick is to keep using the camera until that capacitor is discharged. I'm pretty sure most cameras can run at voltages below a LED's forward voltage nowadays.
Re:Malware can turn off webcam LED and record video, demonst... by HeyLaughingBoy on Wednesday November 27, 2024 @10:34PM (#42262186)
Logic on an already existing ASIC is going to be cheaper than a capacitor.
Re:Malware can turn off webcam LED and record video, demonst... by MrDrMcCoy on Thursday November 28, 2024 @02:28AM (#42263263)
This is counter-intuitive enough to warrant further explanation.
Re:Malware can turn off webcam LED and record video, demonst... by ale42 on Thursday November 28, 2024 @06:04AM (#42264352)
If you are designing an ASIC for the camera, you can include all the required logic gates to control the LED for a cost that is close to zero. It wouldn't impact the production cost of the ASIC, whereas a capacitor is an additional item in the BOM (and to be charged it requires current, more than the LED, so the driver in the IC must be bigger).
Re:Malware can turn off webcam LED and record video, demonst... by aftbit on Wednesday November 27, 2024 @04:30PM (#42259981)
See then it's not hardwired at all. It is equally vulnerable to a reflash. Apple just did hardware security (i.e. signed firmware) better and also are relying on security through obscurity (its not a publicly available part).
Re:Malware can turn off webcam LED and record video, demonst... by axoltl on Wednesday November 27, 2024 @05:21PM (#42260379)
I happen to have some first-hand knowledge around the subject! In 2014 someone did a talk[0] on disabling the camera on some older Macbooks. It was fairly trivial, basically just reflashing the firmware that controlled the LED. I worked on the security team at Apple at the time and in response to this I attempted to do the same for more modern Macbooks. I won't go into the results but the decision was made to re-architect how the LED is turned on. I was the security architect for the feature.

A custom PMIC for what's known as the forehead board was designed that has a voltage source that is ALWAYS on as long as the camera sensor has power at all. It also incorporates a hard (as in, tie-cells) lower limit for PWM duty cycle for the camera LED so you can't PWM an LED down to make it hard to see. (PWM is required because LED brightness is somewhat variable between runs, so they're calibrated to always have uniform brightness.)

On top of this the PMIC has a counter that enforces a minimum on-time for the LED voltage regulator. I believe it was configured to force the LED to stay on for 3 seconds.

This PMIC is powered from the system rail, and no system rail means no power to the main SoC/processor so it's impossible to cut the 3 seconds short by yoinking the power to the entire forehead board.

tl;dr On Macbooks made after 2014, no firmware is involved whatsoever to enforce that the LED comes on when frames could be captured, and no firmware is involved in enforcing the LED stay on for 3 seconds after a single frame is captured.

0: https://www.usenix.org/system/files/conference/usenixsecurit...

Re:Malware can turn off webcam LED and record video, demonst... by rubatuga on Wednesday November 27, 2024 @05:59PM (#42260664)
Thanks, this is the reason I browse Hacker News
Re:Malware can turn off webcam LED and record video, demonst... by PicardsFlute on Wednesday November 27, 2024 @06:14PM (#42260751)
Thanks for posting this interesting tidbit! I find this kind of knowledge absolutely fascinating!
Re:Malware can turn off webcam LED and record video, demonst... by Mistletoe on Wednesday November 27, 2024 @05:50PM (#42260601)
Thank you for doing this.
Re:Malware can turn off webcam LED and record video, demonst... by ohhnoodont on Wednesday November 27, 2024 @08:32PM (#42261537)
There seems to be widespread anxiety regarding cameras, but hardly anyone ever talks about microphones. Are conversations not much more privileged information than potentially seeing someone in their underwear?
Re:Malware can turn off webcam LED and record video, demonst... by jamesmotherway on Wednesday November 27, 2024 @09:22PM (#42261825)
"All Apple silicon-based Mac notebooks and Intel-based Mac notebooks with the Apple T2 Security Chip feature a hardware disconnect that disables the microphone whenever the lid is closed. On all 13-inch MacBook Pro and MacBook Air notebooks with the T2 chip, all MacBook notebooks with a T2 chip from 2019 or later, and Mac notebooks with Apple silicon, this disconnect is implemented in hardware alone." [1]

[1] https://support.apple.com/guide/security/hardware-microphone...

Re:Malware can turn off webcam LED and record video, demonst... by ohhnoodont on Wednesday November 27, 2024 @10:47PM (#42262251)
Obviously the camera is also 'disabled' when the lid is closed regardless of the controlling circuitry. So while that's a good feature, it's not relevant.
Re:Malware can turn off webcam LED and record video, demonst... by KennyBlanken on Wednesday November 27, 2024 @10:24PM (#42262144)
That's what they said about the first gen Facetime cameras. "oooh don't worry, it's controlled in hardware!"

We have no way of verifying that anything they said in that document is true.

Re:Malware can turn off webcam LED and record video, demonst... by kimixa on Thursday November 28, 2024 @12:57AM (#42262816)
It's clear Apple define "Hardware" as "Not using the main CPU". They've pretty much admitted it's firmware based, otherwise the T2 chip simply wouldn't be involved to be mentioned.
Re:Malware can turn off webcam LED and record video, demonst... by swiftcoder on Thursday November 28, 2024 @02:21AM (#42263228)
The T2 chip is mentioned in the quoted passage as an indicator of the architecture version, not necessarily an indicator that the T2 chip is directly involved
Re:Malware can turn off webcam LED and record video, demonst... by dfox on Thursday November 28, 2024 @10:03AM (#42265727)
It is implemented in dedicated small CPLD that cannot be flashed by any software means. My understanding of relation to T2/SEP is that this CPLD serves as a kind of "IO expander" for T2/SEP which also hardwires logic like this.
Re:Malware can turn off webcam LED and record video, demonst... by jamesmotherway on Thursday November 28, 2024 @11:58AM (#42266787)
I'm inclined to believe it. If someone managed to prove Apple's lying about it, there would be serious reputational (and other) risks to their business. I also can't imagine how they would benefit from such a fabrication.

That said, I still use "Nanoblock" webcam covers and monitor for when either the camera or microphone are activated.

Re:Malware can turn off webcam LED and record video, demonst... by qingcharles on Wednesday November 27, 2024 @09:13PM (#42261759)
Yes, photos of naked people are used to extort them (usually into just paying the holder to delete them).

https://news.ycombinator.com/item?id=42261730

Re:Malware can turn off webcam LED and record video, demonst... by ohhnoodont on Wednesday November 27, 2024 @10:50PM (#42262267)
This raises a different but related question. In what world should a victim of a crime be extorted for doing innocent things in their home. If a peeping tom took a photo though a window, could that be used to extort someone?

When people are extorted for these kinds of things it's usually catfishing that leads to sexual acts being recorded. That's not related to cybersecurity.

Re:Malware can turn off webcam LED and record video, demonst... by pfix on Thursday November 28, 2024 @02:14AM (#42263179)
Fear of harrasment. You don't want your coworkers see you naked, do you?

edit: s/baked/naked/ :D

Re:Malware can turn off webcam LED and record video, demonst... by Nursie on Wednesday November 27, 2024 @09:09PM (#42261734)
Depends what your threat model is?

Nobody but Abby and Ben care if Ben is caught admitting he cheated on Abby. But naked images of Abby can head off into the ether and be propagated more or less forever, turn up on hate sites, be detrimental to careers etc.

If your threat model is leaking company secrets then sure, microphone bad, as is anything having access to any hardware on your machine.

So sure, maybe people ought to be more concerned about microphones as well, rather than instead.

Re:Malware can turn off webcam LED and record video, demonst... by ohhnoodont on Wednesday November 27, 2024 @10:59PM (#42262314)
My point is that the threat model is backwards. The threat associated with a camera is the least severe compared to anything else a malicious person could do with access to your computer. Recored conversations, chats and email, browsing history, etc are all much more likely to result in harm if leaked than a recording of you innocently in your home.

> Nobody but Abby and Ben care if Ben is caught admitting he cheated on Abby.

That destroys families, standing within a community, and very often careers.

Re:Malware can turn off webcam LED and record video, demonst... by Nursie on Thursday November 28, 2024 @12:14AM (#42262662)
I don't think it is backwards, personally. The threat of public humiliation, and the capability for someone to spy on what you do in your own home, is worse with the camera.

> chats and email, browsing history, etc are all much more likely to result in harm if leaked than a recording of you innocently in your home.

This is far less of an intrusion for most people than recording what they are actually doing in their own home IRL. People know that information can be hacked, they don't expect and react quite differently to someone actually watching them.

> That destroys families, standing within a community, and very often careers.

Yes, but it doesn't stay on the internet forever in quite the same way.

Re:Malware can turn off webcam LED and record video, demonst... by ohhnoodont on Thursday November 28, 2024 @12:42AM (#42262763)
I think we may just be bumping into cultural differences here. I grew up in a household were being naked around family members was common. I spend time in clothing-optional spaces. I rarely draw the blinds on my windows, etc. I'm not concerned with what other people think in this way and such images could never be used to extort me. Consider the case of Germany - people there are extremely concerned about their privacy and data protection. At the same time public nudity is an entrenched cultural norm.

It's also known that people are not very good at assessing risk. People are more word about dying at the hands of a serial killer than they are of dying in a car crash or slipping in the shower. I feel you're underplaying the psychological harm of having all of your data crawled through by a creep (that would include all of your photos, sites visited, messages sent, everything).

All I can really say is that if someone gained access to my machine, the camera would be the least of my concerns. That's true in nearly every context (psychological, financial, physical, etc).

Re:Malware can turn off webcam LED and record video, demonst... by rocqua on Thursday November 28, 2024 @02:15AM (#42263187)
Empirically, most low level extortion does seem to be about leaking video. I would see a threat model based on 'criminal wants to extort me for money'. As more reasonable than 'creep wants to look through my computer for creeping'. And it seems like extortion focusses on video, so that is the bigger threat. Even if it is less invasive.

I presume the reason behind this is that video is much more likely to be re-shared. Sending bob a zip of someone's inbox is unlikely to be opened, and even less likely to be shared with strangers. But send bob a video of Alice, and he might open it. Heck, he might not know what the video is until he opens it. So even if he is decent, he might still see it. And if he is less decent and shares it, strangers are much more likely to actually view it.

Re:Malware can turn off webcam LED and record video, demonst... by Thorrez on Thursday November 28, 2024 @01:55PM (#42267690)
I think extortion in the form of "I've encrypted your data, pay to get it back" is much more common. Ransomware. It's scalable, automatable. Extortion of video is harder to automate.
Re:Malware can turn off webcam LED and record video, demonst... by Nursie on Thursday November 28, 2024 @02:08AM (#42263125)
I think, though am prepared to be wrong, that you'll probably find yourself in the minority there.

It's not just about nudity and extortion, but someone having access to watch you, whenever they feel like, in your safe space. That sense of violation that people also feel when (for instance) they have been the victim of burglary - the missing stuff is often secondary to the ruined sense of security. There's a vast difference between leaving your curtains open and having someone spying on you from inside your own home.

Is it rational to put this above other concerns? That's a whole different debate and not one I'm particularly interested in. But it explains why people are concerned about cameras over 'mere' data intrusion.

Re:Malware can turn off webcam LED and record video, demonst... by hunter-gatherer on Wednesday November 27, 2024 @10:00PM (#42262026)
I'm not arguing a point here, but I'm curious what the actual number of instances exist where someone is naked or in some other extortionate way (accidently of course) potentially exposed from the position of their webcam. I too would be much more concerned about my microphone, where I know one had conversations that in front of or next to my machine that I wouldn't want "out there". In terms of where my camera is, I woukd imagine they would catch me picking my nose every so often but that's about it.
Re:Malware can turn off webcam LED and record video, demonst... by rocqua on Thursday November 28, 2024 @02:17AM (#42263202)
People watch porn on their laptops. Even just your orgasm face would be embarrassing for most people.
Re:Malware can turn off webcam LED and record video, demonst... by joeblubaugh on Wednesday November 27, 2024 @10:01PM (#42262038)
> Nobody but Abby and Ben care if Ben is caught admitting he cheated on Abby.

This isn't true at all, even for private citizens. Your friends, parents, children, and colleagues are all likely to care.

Re:Malware can turn off webcam LED and record video, demonst... by Nursie on Wednesday November 27, 2024 @10:46PM (#42262247)
It's very limited, it's certainly not going to be passed around like naked pictures could be.
Re:Malware can turn off webcam LED and record video, demonst... by sneak on Thursday November 28, 2024 @02:38AM (#42263318)
They are, but people aren’t scared of those because they can’t see them staring at them.
Re:Malware can turn off webcam LED and record video, demonst... by II2II on Wednesday November 27, 2024 @09:22PM (#42261823)
> and no firmware is involved in enforcing the LED stay on for 3 seconds after a single frame is captured.

I may be the oddball here, but that 3 second duration does not comfort me. The only time I would notice it is if I am sitting in front of the computer. While someone snapping a photo of me while working is disconcerting, it is not the end of the world. Someone snapping photos while I am away from the screen is more troublesome. (Or it would be if my computer was facing an open space, which it doesn't.)

Re:Malware can turn off webcam LED and record video, demonst... by jstanley on Wednesday November 27, 2024 @09:34PM (#42261896)
OK, but then what? Leave the LED on for 24 hours after you've captured a single frame? At that point the LED isn't really indicating camera usage because you'll just get used to seeing it on all the time whether the camera is in use or not.
Re:Malware can turn off webcam LED and record video, demonst... by II2II on Friday November 29, 2024 @09:06AM (#42273960)
A ranfom thought, that probably won't cover all cases: a second LED or a colour LED. One LED/colour indicates the camera is active, the second can be on for a longer period of time (and perhaps dim as time goes on). I prefer the second LED option since it is better for us colourblind folks, though I suspect there would be more resistance to the idea.

And, of course, covers are an option.

Re:Malware can turn off webcam LED and record video, demonst... by axoltl on Wednesday November 27, 2024 @11:09PM (#42262362)
Right, so this is all defense in depth. That LED is sort of the last line of defense if all others have failed, like:

The exploit mitigations to prevent you from getting an initial foothold.

The sandboxing preventing you from going from a low-privileged to a privileged process.

The permissions model preventing unauthorized camera access in the first place.

The kernel hardening to stop you from poking at the co-processor registers.

etc. etc.

If all those things have failed, the last thing to at least give you a chance of noticing the compromise, that's that LED. And that's why it stays on for 3 seconds, all to increase the chances of you noticing something is off. But things had to have gone pretty sideways before that particular hail-mary kicks in.

Re:Malware can turn off webcam LED and record video, demonst... by tehjoker on Wednesday November 27, 2024 @09:46PM (#42261947)
It's strange that none of these companies will include a closable cover for the camera. I got one aftermarket. It is very reassuring since no hacking or accidental misclicks on my part can move the cover.
Re:Malware can turn off webcam LED and record video, demonst... by mkl on Wednesday November 27, 2024 @10:22PM (#42262133)
I've seen HP desktops that have a closeable camera cover, and Lenovo does on some ThinkPads [1], so probably others do too. Laptops usually have very little depth available in the screen part though, which is why most laptop cameras are crappy (exceptions include Surface Pro and Surface Book, which have more depth available and so much better cameras than most, but no cover - at least their camera light is not software controlled).

[1] https://www.businessinsider.com/lenovo-thinkshutter-laptops-...

Re:Malware can turn off webcam LED and record video, demonst... by whartung on Wednesday November 27, 2024 @11:22PM (#42262435)
I have a sticky piece of post it note more or less permanently affixed over my camera.
Re:Malware can turn off webcam LED and record video, demonst... by throwaway2037 on Thursday November 28, 2024 @01:54AM (#42263046)
I can remember when someone spotted tape over Zuckerberg's laptop camera. Ref: https://www.theverge.com/2016/6/21/11995032/mark-zuckerberg-...
Re:Malware can turn off webcam LED and record video, demonst... by sunnybeetroot on Wednesday November 27, 2024 @10:20PM (#42262126)
I had a closable cover and someone shut my laptop with enough force that the cover caused the screen to break. Be careful when closing.
Re:Malware can turn off webcam LED and record video, demonst... by II2II on Thursday November 28, 2024 @08:25AM (#42265093)
Sure, that is going.to be true for anything with moving pats. Yet I would also imagine that design and materials are a factor here. Let's face it, these covers aren't exactly common on laptops. There is probably a lack of good design practices for them.
Re:Malware can turn off webcam LED and record video, demonst... by zlsa on Thursday November 28, 2024 @03:55PM (#42268470)
Was it a built-in camera cover, or a third-party one? Apple specifically (and possibly other manufacturers?) recommends against third-party covers because the tolerance is so close:

https://support.apple.com/en-us/102177

Re:Malware can turn off webcam LED and record video, demonst... by cozzyd on Thursday November 28, 2024 @12:33AM (#42262730)
My Thinkpad does.
Re:Malware can turn off webcam LED and record video, demonst... by nanomonkey on Thursday November 28, 2024 @01:44AM (#42262996)
I also purchased a cover for mine, although in a pinch, the removable stickers on fruit work well.
Re:Malware can turn off webcam LED and record video, demonst... by quacksilver on Thursday November 28, 2024 @09:00AM (#42265305)
Higher end Lenovos and Dell Latitude / Precision tend to. Was one reason why I went for a Latitude 74XX rather than a 54XX or 34XX when looking at them last time.
Re:Malware can turn off webcam LED and record video, demonst... by jorvi on Wednesday November 27, 2024 @09:24PM (#42261832)
I assume you're not longer working on it, but why not just wire it so that:

- The LED is in parallel, but with the sensor voltage supply, not the chip

- Camera sensor idle voltage = low voltage for the LED (be it with stepping if needed)

- Camera sensor active voltage = high voltage for the LED (again, stepping if needed)

- little capacitor that holds enough charge to run the LED for ~3 seconds after camera goes back to idle voltage.

Good luck hacking that :)

Re:Malware can turn off webcam LED and record video, demonst... by axoltl on Wednesday November 27, 2024 @11:36PM (#42262484)
That's basically how this works, but manufacturing electronics at a massive scale requires some more flexibility. For example, capacitors have a pretty large tolerance (sometimes +/- 20%) and LEDs have quite a bit of variety in what voltages they'll work at. So for some people the LEDs might last 3 seconds, for some they might last 5s. Using a capacitor also means the LEDs will fade slowly instead of just turning off sharply.

If the LEDs come from a different supplier one day, who is going to make sure they're still within the spec for staying on for 3 seconds?

(And yes, I have long since parted ways with Apple)

Edit:

And to add on: That capacitor needs time to charge so now the LED doesn't actually come on when the sensor comes on, it's slightly delayed!

Re:Malware can turn off webcam LED and record video, demonst... by jorvi on Thursday November 28, 2024 @08:18AM (#42265038)
Thank you for the clarifications. Armchair (well, workbench) engineering strikes again haha!
Re:Malware can turn off webcam LED and record video, demonst... by shiroiushi on Thursday November 28, 2024 @02:09AM (#42263140)
You can't drive an LED that way in production electronics: you need to use an LED driver circuit of some kind to ensure the LED has constant current, and also to protect against failure modes. Also, a capacitor large enough to power a daylight-visible LED for 3 seconds is not as "little" as you're thinking; there's likely not enough space in a laptop lid for one of those. A driver circuit would be smaller and thinner.

Agreed, however, that the LED should be controlled by the camera sensor idle vs. active voltage.

Re:Malware can turn off webcam LED and record video, demonst... by int_19h on Wednesday November 27, 2024 @09:59PM (#42262021)
Thank you for your work on this! I wish some other large companies took privacy that seriously.
Re:Malware can turn off webcam LED and record video, demonst... by KennyBlanken on Wednesday November 27, 2024 @10:15PM (#42262101)
I've seen a million people parroting "oh now apple fixed it!" and not a single person who has actually verified/proved it. Go on, show my any third party security researcher who has verified this claim via examining the actual hardware.

You'll pardon us all if we don't really believe you, because a)there's no way for any of us to verify this and b)Apple lied about it before, claiming the LED was hard-wired in blah blah same thing, except it turned out it was software controlled by the camera module's firmware.

Re:Malware can turn off webcam LED and record video, demonst... by axoltl on Wednesday November 27, 2024 @11:28PM (#42262456)
I'd love for a third party to verify the claim! I'm just giving you an overview of the work that went into making this a thing, knowing full well you have absolutely no reason to trust me.

The LED being "hard-wired" is a tricky statement to make, and I actually wasn't aware Apple has publicly ever made a statement to that effect. What I can say is that relying on the dedicated LED or "sensor array active" signal some camera sensors provide, while technically hard-wired in the sense there is no firmware driving it, is not foolproof.

Re:Malware can turn off webcam LED and record video, demonst... by trogdor on Wednesday November 27, 2024 @10:58PM (#42262312)
> Apple lied about it before, claiming the LED was hard-wired in blah blah same thing, except it turned out it was software controlled by the camera module's firmware.

Source?

Re:Malware can turn off webcam LED and record video, demonst... by ndiddy on Wednesday November 27, 2024 @04:37PM (#42260040)
The context from the article the parent comment linked is that Mac webcams made prior to 2008 both had the camera LED controlled in firmware and didn't verify the camera firmware blob when it was downloaded into the camera's RAM. The quote you're replying to simply says that Apple solved these security issues by tying the LED to a hardware signal AND verifying the camera firmware blob. The result is still that there's no way to turn on the webcam without making the LED light up.
Re:Malware can turn off webcam LED and record video, demonst... by danielheath on Wednesday November 27, 2024 @05:22PM (#42260391)
AFAIK iOS devices use a tiny firmware on the camera and a larger one on the secure enclave chip.

If you successfully compromise the host OS and also the secure enclave firmware, that might be enough to let you turn on the camera (without vsync) and reconstruct the correct image via later analysis... but at that point you have committed tens of millions to the hack (so you'd better not overuse it or it'll get noticed & patched).

Re:Malware can turn off webcam LED and record video, demonst... by pclmulqdq on Wednesday November 27, 2024 @06:13PM (#42260745)
Many complex chips have GPIO signals rather than hardwired outputs. That way you can select any [5-10] of [20-100] functions for each pin. As a result, things that you think should be hardwired are controlled by firmware.
Re:Malware can turn off webcam LED and record video, demonst... by wseqyrku on Wednesday November 27, 2024 @04:50PM (#42260155)
Yeah, the camera needs a physical lid.
Re:Malware can turn off webcam LED and record video, demonst... by jonplackett on Wednesday November 27, 2024 @05:06PM (#42260278)
I wonder how quickly it turns on/off as per Gruber’s worry - if you just record a single frame would it even be visible if looking right at it?
Re:Malware can turn off webcam LED and record video, demonst... by Tempest1981 on Wednesday November 27, 2024 @05:29PM (#42260456)
Below, axoltl writes:

> no firmware is involved in enforcing the LED stay on for 3 seconds after a single frame is captured.

https://news.ycombinator.com/item?id=42260379

Re:Malware can turn off webcam LED and record video, demonst... by jonplackett on Thursday November 28, 2024 @07:27AM (#42264730)
That is quite clever! Thanks
Re:Malware can turn off webcam LED and record video, demonst... by accrual on Wednesday November 27, 2024 @09:02PM (#42261700)
> My concern would be a situation where a frame is captured so the LED is lit only for a very brief period of time.

Maybe enable a pre-charged capacitor to the LED whenever the circuit is activated? A "minimum duty cycle" for the LED might help solve this.

Re:Malware can turn off webcam LED and record video, demonst... by makeitdouble on Wednesday November 27, 2024 @10:43PM (#42262230)
While Apple made a laudable effort in this design, sadly it requires thoughtful care and design at every iteration. Typically the iPhone team couldn't pull it off and the only official claim is for macbooks.

I think it's simpler to assume that most devices can be hacked and the LED indicator isn't infailable than to always keep in mind which device lines are supposed to be safe and which ones aren't.

Re:Malware can turn off webcam LED and record video, demonst... by danieldk on Thursday November 28, 2024 @01:58AM (#42263067)
Apparently it was purely in software on iPhone/iPad. However, starting with the iPhone 16 and M4 iPad Pro, the LED indicator is rendered by a separate secure exclave:

https://www.tomsguide.com/phones/iphones/iphone-16s-a18-chip...

https://mastodon.social/@_inside/112552696723119626

Re:Malware can turn off webcam LED and record video, demonst... by saagarjha on Sunday December 01, 2024 @08:06AM (#42288257)
That is purely in software.
Re:Malware can turn off webcam LED and record video, demonst... by nine_k on Thursday November 28, 2024 @12:05AM (#42262624)
That's backwards.

The LED should be connected to camera's power, or maybe camera's "enable" signal. It should not be operable via any firmware in any way.

The led also has to be connected through a one-shot trigger (a transistor + a capacitor) so that it would light up, say, for at least 500 ms no matter how short the input pulse is. This would prevent making single shots hard to notice.

Doing that, of course, would incur a few cents more in BOM, and quite a bit more in being paranoid, well, I mean, customer-centric.

Re:Malware can turn off webcam LED and record video, demonst... by jdblair on Thursday November 28, 2024 @01:52AM (#42263035)
or, you can have a physical switch, like the Framework. that also hits your BOM but its not complex!
Re:Malware can turn off webcam LED and record video, demonst... by oneshtein on Thursday November 28, 2024 @02:29AM (#42263272)
You can buy/print and stick a physical «webcam cover»[1] manually on your notebook or phone.

My current notebook, manufactured in 2023, has very thin bar on top of screen with camera, so I need a thin, U-like attachment for the switch, which is hard to find.

[1]: https://www.printables.com/model/2479-webcam-cover-slider

Re:Malware can turn off webcam LED and record video, demonst... by ddalex on Thursday November 28, 2024 @02:46AM (#42263361)
Am I the only one that is not worried at all about the camera and super concerned about microphones ? The camera may see me staring into the screen, woo hoo. The microphones will hear everything I discuss, incl. confidential information.

There is no physical microphone cover there, is it ?

Re:Malware can turn off webcam LED and record video, demonst... by ykonstant on Thursday November 28, 2024 @04:19AM (#42263804)
As someone who often speaks gibberish to myself due to ptsd, if someone recorded me in my room they could convince anyone I am utterly insane, beyond any hope. It is a great way to blackmail people with coprolalia or other verbal tics.

And yeah, if they had access to my webcam, they would just see a guy staring into the screen or walking back and forth in the room.

Re:Malware can turn off webcam LED and record video, demonst... by chmod775 on Thursday November 28, 2024 @10:22AM (#42265840)
Eh, random utterances are more common than you think. Especially amongst older people. Most will know at least a couple family members who tend to mutter random things to themselves.

Nobody who is themselves sane is going to judge another for random crap they say when they think themselves alone.

Re:Malware can turn off webcam LED and record video, demonst... by jdblair on Thursday November 28, 2024 @03:22AM (#42263556)
The Framework has a physical microphone switch next to the camera switch.
Re:Malware can turn off webcam LED and record video, demonst... by klausa on Thursday November 28, 2024 @03:07AM (#42263477)
Modern (2019-ish? forwards?) MacBooks have physical disconnect for microphones when the lid is shut.
Re:Malware can turn off webcam LED and record video, demonst... by jack_arleth on Thursday November 28, 2024 @03:25AM (#42263570)
Framework laptops have the same solution.
Re:Malware can turn off webcam LED and record video, demonst... by djtango on Thursday November 28, 2024 @03:36AM (#42263614)
Yes I really wish we could have a physical switch for device mic
Re:Malware can turn off webcam LED and record video, demonst... by lukan on Thursday November 28, 2024 @04:26AM (#42263850)
Sound is usually more sensitive, yes. But even if there is a physical switch on the laptop, only very exotic smartphones have them.

Also, loudspeakers can act as microphones, too.

In other words, paranoia gets exhausting in modern times.

(And my smartphone has a replacable battery for that reason to at least sometimes enjoy potentially surveillance free time)

Re:Malware can turn off webcam LED and record video, demonst... by MarcusE1W on Thursday November 28, 2024 @05:11AM (#42264054)
My Pinephone has a switch for the microphone and also my Pinebook Pro laptop. But I also would agree that this is exotic hardware.
Re:Malware can turn off webcam LED and record video, demonst... by whatevaa on Thursday November 28, 2024 @08:08AM (#42264981)
Well i have Pinebook Pro and it's pretty much abandonware, pine doesn't do any software and OSS lacks maintainers, nobody want's it, e-waste laptop. Take it as you will.
Re:Malware can turn off webcam LED and record video, demonst... by megous on Thursday November 28, 2024 @01:41PM (#42267583)
Yeah, that's nonsense. Pinebook Pro is well supported by Linux kernel and you can thus put any aarch64 Linux distro on it. And it's been this way for the last 3-4 years at the very least.

I've been using it daily for 3 years for watching movies and main notebook while traveling.

It's not at all abandonware or e-waste.

Re:Malware can turn off webcam LED and record video, demonst... by KetoManx64 on Thursday November 28, 2024 @02:36PM (#42268003)
Don't they warn you on the product page that you are buying hardware that is fully reliant on the community for functionality? That's the reason it's so inexpensive
Re:Malware can turn off webcam LED and record video, demonst... by lukan on Thursday November 28, 2024 @05:34AM (#42264166)
"But I also would agree that this is exotic hardware."

No shit. How is the current state btw?

I suppose still not ready to be a daily driver to replace my normal phone?

Re:Malware can turn off webcam LED and record video, demonst... by ri0t on Thursday November 28, 2024 @07:52AM (#42264874)
> I suppose still not ready to be a daily driver to replace my normal phone?

I'd say that depends on your definition of daily driver and/or how much compromises you're willing to take. I occasionally see members at my larger hackerspace running around with those or other seemingly "unfit" hardware and not complain too much about it ;)

Re:Malware can turn off webcam LED and record video, demonst... by megous on Thursday November 28, 2024 @06:23PM (#42269361)
Kernel is in "maintenance and focussed on upstreaming" mode for a few years already, after getting nearly full HW support about 2-3 years ago.

As for phone feature, reliability of that depends on reliability of firmware of the modem, which was always shaky.

Re:Malware can turn off webcam LED and record video, demonst... by sharpshadow on Thursday November 28, 2024 @01:22PM (#42267457)
I have an old iPhone 7 which has an audio IC issue and the microphone is physically disconnected. Calls don’t work, video records without sound etc. need to connect an external microphone to have one.

Apart from the inconvenience it was somehow liberating knowing there is no microphone physically active.

Re:Malware can turn off webcam LED and record video, demonst... by camgunz on Thursday November 28, 2024 @04:32AM (#42263886)
A picture of you with the subject "I know what you were looking at when I took this picture of you" is pretty good blackmail--I think there's an active campaign doing this even.
Re:Malware can turn off webcam LED and record video, demonst... by jeltz on Thursday November 28, 2024 @08:14AM (#42265015)
Excellent blackmail against teenagers. Pointless against me as an adult.
Re:Malware can turn off webcam LED and record video, demonst... by ddalex on Thursday November 28, 2024 @04:59AM (#42264005)
This would've been blackmail 20 years ago.... nowadays it's just "of course you know, I shared my OF likes publicly", will not even raise an eyebrow; or perhaps I'm living in too bohemian society circles
Re:Malware can turn off webcam LED and record video, demonst... by throw16180339 on Thursday November 28, 2024 @03:11PM (#42268246)
I received a phishing email from this campaign or a similar one several months ago. The email opened with my name and contained a Google Maps photo of a house where I'd lived 8 years before. The author claimed to have hacked my laptop and captured videos of me doing embarrassing things. They would release the videos unless I paid them $1000 in Bitcoin. I searched and it's an extremely common scam, but I did panic for a few minutes.
Re:Malware can turn off webcam LED and record video, demonst... by spacemanspiff01 on Thursday November 28, 2024 @04:49AM (#42263966)
I honestly like the physical switch on the framework, which disconnects the microphone/webcam fully.
Re:Malware can turn off webcam LED and record video, demonst... by ashoeafoot on Thursday November 28, 2024 @04:58AM (#42263999)
Your speakers are a microphone ..
Re:Malware can turn off webcam LED and record video, demonst... by benj111 on Thursday November 28, 2024 @06:36AM (#42264488)
I seem to recall reading somewhere that 'everything' is a thermometer, on the basis that many things behave differently at different temperatures.

You can also use an LED as a light sensor.

and I also came across a YT vid of a console that used a piezo electric speaker for motion sensing.

I wonder if you could use a track pad to pick up sound.

Re:Malware can turn off webcam LED and record video, demonst... by Sporktacular on Thursday November 28, 2024 @06:31AM (#42264474)
Yeah, but they aren't an input device with an amp wired in the right direction and an A/D converter to read it out.
Re:Malware can turn off webcam LED and record video, demonst... by dfox on Thursday November 28, 2024 @09:52AM (#42265658)
If there is a discrete PA in the speaker path, then not. But I would not be that surprised if there is a single chip codec + PA combination that can conect an internal ADC to pins that are primarily meant as PA outputs of the integrated PA.
Re:Malware can turn off webcam LED and record video, demonst... by michaelt on Thursday November 28, 2024 @07:17AM (#42264687)
The camera privacy issue arises because teenagers and college kids often have their computer in their bedroom.

So a webcam hack that lets them watch my 16 year old daughter study would also let them watch her sleeping, getting dressed, and making out with her boyfriend.

Re:Malware can turn off webcam LED and record video, demonst... by pmontra on Thursday November 28, 2024 @09:52AM (#42265660)
It's not only a teenager or college kid issue. I've seen adults with a computer in their bedroom because it's a kind of private space where they don't expect anybody to inadvertently bump into it.

My laptop is in my bedroom in winter, right now, because it's one of the smallest rooms and I can heat it easily. I use it in other parts of the house in the other seasons. I do have a sliding cover on the camera. I bought it years ago. The main issue is the microphone.

Re:Malware can turn off webcam LED and record video, demonst... by dghughes on Thursday November 28, 2024 @09:50AM (#42265649)
And the true or not Google or other apps listening then you see ads based on that conversation. I think it's true since far too many times obscure things I've spoken about appear in ads soon after the conversation. So yes I'd say a mic blocking feature you can confirm is working, blocking, is needed.
Re:Malware can turn off webcam LED and record video, demonst... by karolist on Thursday November 28, 2024 @10:36AM (#42265979)
Recommendation engines work on vast amounts of data they have on you and whatever made you speak about thing X was likely preceded by your internet activity which is not very unique as a precursor to speaking about X. In other words, if other people do Y on the internet and then end up doing stuff related to X, the recommendation engine will show you X just because you also did Y.

The other explanation is one of your contacts who were part of the conversation did things that either directly related to thing X, which you spoke about, or something the algorithm see other people do that relates to X, and you got shown ads based on your affiliation to this person.

I've also worked at FAANG and never seen proof to such claims anywhere in the code, and with the amount of people working there who care about these issues deeply I'd expect this to leak by now, if this happens but is siloed...

Re:Malware can turn off webcam LED and record video, demonst... by ch4s3 on Thursday November 28, 2024 @10:08AM (#42265757)
> I think it's true since far too many times obscure things I've spoken about appear in ads soon after the conversation

People have been making claims like this since at least the early 90s, about TV then, and no one ever credibly claims to have worked on something like this. I've worked with purchased ad data and I've never seen this data or anything that implies that it exists. It seems far more likely that its a trick of memory. You ignore most ads you see, but you remember ones that relate to odd topics that interest you.

Re:Malware can turn off webcam LED and record video, demonst... by wsintra2022 on Thursday November 28, 2024 @10:36AM (#42265981)
I agree with this sentiment, people talk about x product then realise they are seeing ads for x product. Most likely the ads were there first and the people only start talking about it cause the ads have been working.
Re:Malware can turn off webcam LED and record video, demonst... by ch4s3 on Thursday November 28, 2024 @11:25AM (#42266476)
That’s pretty much it. You see an obscure ad without realizing it and have a related conversation later. Then when you see the ad again and make note of it, it feels strange.
Re:Malware can turn off webcam LED and record video, demonst... by megous on Thursday November 28, 2024 @05:27PM (#42268985)
Yeah, we're well past a point where "phones" have NPUs powerful enough to locally process "sensor" input and produce decontextualized probabilties of potential interests.

It's going to happen sooner or later and people will accept it, just like they accepted training of AI models on copyrighted works without permission, or SaaS, or AWS/PaaS, or sending all their photos to Apple/Google (for "backup").

Re:Malware can turn off webcam LED and record video, demonst... by ch4s3 on Thursday November 28, 2024 @08:10PM (#42269929)
I really question the commercial value of that kind of data. Credit card data has a lot more to do with intent to make future purchases than any keyword you might spit out verbally or in a search engine.
Re:Malware can turn off webcam LED and record video, demonst... by Qem on Thursday November 28, 2024 @11:38AM (#42266625)
Just a personal anecdote: I don't have a dog, but my grandma has two. Once, while visiting her, the dogs were barking a lot. Almost immediately I started receiving ads for dog food in my cellphone.
Re:Malware can turn off webcam LED and record video, demonst... by sandywaffles on Thursday November 28, 2024 @11:50AM (#42266713)
It is more likely your GPS placed you in the vicinity (regularly?) with another AD ID that regularly searches for, purchases, or visits dog centric locations. It's also entirely possible that the other AD ID's (your grandma) dog food schedule is predictable and you happen to be visiting within a time frame of dog food purchases.
Re:Malware can turn off webcam LED and record video, demonst... by Qem on Thursday November 28, 2024 @11:59AM (#42266795)
My grandma never owned a cellphone, only an old landline. And she buys dogfood in the neighborhood mom & pop store.
Re:Malware can turn off webcam LED and record video, demonst... by xvector on Thursday November 28, 2024 @01:13PM (#42267401)
Well, we know for a fact it wasn't your mic being recorded. Maybe you walked by WiFi networks where people purchase dog food.
Re:Malware can turn off webcam LED and record video, demonst... by chipsrafferty on Monday December 02, 2024 @09:17PM (#42302449)
Or maybe the mic IS being recorded. We don't know it for a fact until all phone software is open sourced.
Re:Malware can turn off webcam LED and record video, demonst... by gravitronic on Thursday November 28, 2024 @10:39AM (#42265994)
Reminds me of the chrome bug I filed years ago that is still unfixed. An extension with access to all browsing tabs can open a hidden iframe to a website that commonly would have mic and camera permission (like hangouts.google.com), and then inject its own JavaScript into that hidden iframe to capture mic or camera.

For this to work hangouts.google.com had to not include the HTTP header to block iframing but thankfully if you make up a URL the 404 page served on that domain does not include that http header.

Re:Malware can turn off webcam LED and record video, demonst... by _joel on Thursday November 28, 2024 @10:18AM (#42265810)
Disable it all in the BIOS?
Re:Malware can turn off webcam LED and record video, demonst... by pmoriarty on Thursday November 28, 2024 @11:27AM (#42266498)
"Am I the only one that is not worried at all about the camera and super concerned about microphones ? The camera may see me staring into the screen, woo hoo. The microphones will hear everything I discuss, incl. confidential information."

All phones are suspect. We should go back to only carrying pagers.

Re:Malware can turn off webcam LED and record video, demonst... by shermantanktop on Thursday November 28, 2024 @10:49PM (#42270626)
When I have to do faux-2FA auth using numeric codes sent by text or email, I sometimes catch myself quietly saying the numbers. A microphone would by quite handy for an attacker, even if they couldn’t see all my network traffic.
Re:Malware can turn off webcam LED and record video, demonst... by volkl48 on Thursday November 28, 2024 @10:35AM (#42265960)
Just to note: Apple will refuse to cover any screen damage under warranty if one of these sorts of things was in use.

I would not be surprised if the same is true for some other manufacturers, too, but I can only speak definitely to Mac.

The issue is that lids close too closely + tightly now, and so anything more than a piece of tape winds up focusing all the pressure applied to the closed lid on that one spot in the glass, since the cover winds up holding the display slightly off the base of the laptop when in the closed position.

Re:Malware can turn off webcam LED and record video, demonst... by micahdeath on Thursday November 28, 2024 @11:32AM (#42266552)
i use a piece of tin foil - tiny peanut butter cup wrappy - stays in place lovely
Re:Malware can turn off webcam LED and record video, demonst... by codedokode on Thursday November 28, 2024 @10:45AM (#42266061)
My laptop has built-in physical camera cover, and it doesn't cost even as much as a half MacBook.
Re:Malware can turn off webcam LED and record video, demonst... by moregrist on Thursday November 28, 2024 @11:12AM (#42266335)
I find that the sticky part of a post-it works very well for this. Sometimes you have to clean the adhesive part off with 70% IPA, but not too often.

Not as pretty as a custom cover but cost-effective and can generally be done in under a minute with common office supplies (post-it + scissors) which has its own advantages.

Re:Malware can turn off webcam LED and record video, demonst... by SiVal on Thursday November 28, 2024 @02:13AM (#42263163)
Would a bit of Post-It Note (for minimal adhesion) damage the screen coating if left on most of the time? Would even that much thickness stress the screen when opened and closed thousands of times? Is there a better (self-service) material?
Re:Malware can turn off webcam LED and record video, demonst... by pcblues on Thursday November 28, 2024 @05:02AM (#42264015)
Plastic slide covers that stick on are pretty cheap if your laptop doesn't already have one. I also think that the open microphone issue is a greater problem, especially with the current ability of speech-to-text, but what you utter may not be as important as being seen "doing a Toobin" during an online meeting. YMMV :) (I won't expand that acronym!)
Re:Malware can turn off webcam LED and record video, demonst... by cuu508 on Thursday November 28, 2024 @05:16AM (#42264077)
> Would a bit of Post-It Note (for minimal adhesion) damage the screen coating if left on most of the time?

Possible, I have one IPS monitor with a spot on screen where the color is pale. I had a post-it note there and I guess something bad happened when I tore it off.

Re:Malware can turn off webcam LED and record video, demonst... by grvbck on Thursday November 28, 2024 @07:59AM (#42264922)
I used electrical pvc tape for many years on my macbooks, no damage but I got tired of them leaving glue residue. Switched to post-its about 10 years ago, works perfectly.

I've never tried them on a matte or coated screen though.

Re:Malware can turn off webcam LED and record video, demonst... by ARandomerDude on Thursday November 28, 2024 @10:32AM (#42265933)
I use painter’s tape for a similar effect.
Re:Malware can turn off webcam LED and record video, demonst... by moregrist on Thursday November 28, 2024 @11:18AM (#42266400)
I’ve used one for years on various MacBooks and it’s very effective. The paper is very thin so it causes no real mechanical stress and also opaque, so all the camera sees is a field the color of that paper.

There’s been no damage to the screen from the adhesive although occasionally I’ve had to clean the residual adhesive with 70% IPA, but nothing worse than the typical grime that most laptop monitors pick up.

Re:Malware can turn off webcam LED and record video, demonst... by goodpoint on Thursday November 28, 2024 @04:11AM (#42263767)
This is the right solution. And a hardware switch cost is completely negligible in a $1000 laptop.
Re:Malware can turn off webcam LED and record video, demonst... by xandrius on Thursday November 28, 2024 @08:02AM (#42264943)
But the margins?
Re:Malware can turn off webcam LED and record video, demonst... by GTP on Thursday November 28, 2024 @09:52AM (#42265665)
Customers wouldn't care to pay a dollar more on a thousand plus device. This would likely increase the margin instead of shrinking it.
Re:Malware can turn off webcam LED and record video, demonst... by alwyn on Thursday November 28, 2024 @10:45AM (#42266064)
My previous HP Envy x360 had such a switch on the side of the laptop that would electronically disconnect the webcam; it would completely disconnect according to the system. Enabling it would show a new device being connected in `dmesg`.

Not a great laptop otherwise, but that was pretty good!

Re:Malware can turn off webcam LED and record video, demonst... by Vogtinator on Thursday November 28, 2024 @02:15PM (#42267848)
My envy x360 has that button as well and it even puts a physical shutter in front of the webcam in addition to disconnecting USB.
Re:Malware can turn off webcam LED and record video, demonst... by throw646577 on Thursday November 28, 2024 @02:20AM (#42263220)
> The LED should be connected to camera's power, or maybe camera's "enable" signal.

Wiring it in like this is suboptimal because this way you might never see the LED light up if a still photo is surreptitiously captured. This has been a problem before: illicit captures that happen so quickly the LED never has time to warm up.

Controlling the LED programmatically from isolated hardware like this is better, because then you can light up the LED for long enough to make it clear to the user something actually happened. Which is what Apple does -- three seconds.

Re:Malware can turn off webcam LED and record video, demonst... by nine_k on Thursday November 28, 2024 @02:35AM (#42263301)
Pray read the third paragraph of my reply :) It specifically mentions a way to make the LED be lit for long enough.
Re:Malware can turn off webcam LED and record video, demonst... by throw646577 on Thursday November 28, 2024 @03:52AM (#42263698)
Which is not an adjustable method -- without changing the hardware design later in production to just tweak a delay -- and surely causes the LED to slowly fade out?
Re:Malware can turn off webcam LED and record video, demonst... by GTP on Thursday November 28, 2024 @09:55AM (#42265679)
Would it be so important to be able to tweak the duration later? And why would it be a problem to have the LED fade out?
Re:Malware can turn off webcam LED and record video, demonst... by neop1x on Friday November 29, 2024 @09:12AM (#42273997)
If fade out is such a big problem (which it isn't IMO) there are cheap regulator ICs which can provide constant current.
Re:Malware can turn off webcam LED and record video, demonst... by atoav on Thursday November 28, 2024 @03:21AM (#42263544)
The mentioned one shot circuit does precisely that, in hardware for less cost and 100% non-overridable.

The only time that isolated hardware approach is benefitial in terms of costs would be when you already have to have that microcontroller there for different reasons and the cost difference we are talking about is in the order of a few cents max.

Re:Malware can turn off webcam LED and record video, demonst... by throw646577 on Thursday November 28, 2024 @03:53AM (#42263700)
Well there is a microcontroller there, isn't there? For the camera.
Re:Malware can turn off webcam LED and record video, demonst... by atoav on Thursday November 28, 2024 @04:30AM (#42263873)
But is it isolated? If you can update its Firmware from the computer it isn't.
Re:Malware can turn off webcam LED and record video, demonst... by rightbyte on Thursday November 28, 2024 @02:52AM (#42263396)
You can design a simple circuit such that both long and short pulses light up the led for atleast 500ms. There is no tradeoff needed to be made at all.
Re:Malware can turn off webcam LED and record video, demonst... by kirkules on Thursday November 28, 2024 @02:34AM (#42263294)
I mean can't you just have the input signal to the light be a disjunction of signals? So it's on if the camera is on OR if some programmatic signal says turn it on?

I don't see why they should be mutually exclusive

Re:Malware can turn off webcam LED and record video, demonst... by beAbU on Thursday November 28, 2024 @03:07AM (#42263475)
Yet some laptops (Thinkpads ironically) come with a built in camera shutter that's entirely mechanical.
Re:Malware can turn off webcam LED and record video, demonst... by codedokode on Thursday November 28, 2024 @10:46AM (#42266072)
And they often cost less than a MacBook for which you need to buy an external shutter.
Re:Malware can turn off webcam LED and record video, demonst... by ComputerGuru on Thursday November 28, 2024 @10:23AM (#42265846)
Cameras are now always on, to reduce the latency to taking a picture or scrubbing video feed. You’d need to wire the led to something tied to the data lines, perhaps.
Re:Malware can turn off webcam LED and record video, demonst... by vanilla_nut on Thursday November 28, 2024 @10:38AM (#42265990)
Source? This seems extremely unlikely to me, running a camera all the time consumes a fair bit of energy and they don't take long to turn on. Unless that's because they're always on?

Regardless, that's a pretty strong claim. I'd love to learn more if you have a link that can back you up!

Re:Malware can turn off webcam LED and record video, demonst... by gtirloni on Thursday November 28, 2024 @10:35AM (#42265963)
Any links you could share abouy someone confirming this?
Re:Malware can turn off webcam LED and record video, demonst... by ewoodrich on Thursday November 28, 2024 @01:27PM (#42267501)
My M1 Macbook has some pretty extreme latency going from opening Photobooth black screen -> displayed image. Roughly five seconds to useable image.

  :00 Photobooth window open 
  :03 Camera LED lights up 
  :05 First image displayed
Re:Malware can turn off webcam LED and record video, demonst... by saagarjha on Sunday December 01, 2024 @08:00AM (#42288236)
That's generally not the case. Keeping the camera on requires power and processing its video stream is resource-intensive.
Re:Malware can turn off webcam LED and record video, demonst... by Thorrez on Thursday November 28, 2024 @01:46PM (#42267623)
From this comment: https://news.ycombinator.com/item?id=42260379

it sounds like Apple is doing something similar to what you suggest.

Re:Malware can turn off webcam LED and record video, demonst... by kazinator on Thursday November 28, 2024 @01:47PM (#42267635)
Even if the LED were controlled by hardware, merely that you can reprogram the camera firmware on this Thinkpad is troubling. Malicious things can be done without the ability to turn off the LED during recording. Like capture images during legitimate recording, or start recording with the LED on banking on the user not noticing.

Firmware programming should require physical access, like temporarily installing a jumper, or pushing some button on the circuit board or something.

(I don't want to suggest signed images, because that's yet another face of the devil).

Re:Malware can turn off webcam LED and record video, demonst... by tehwebguy on Thursday November 28, 2024 @04:56PM (#42268788)
If the LED fails the camera should be inoperable too as a security feature
Re:Malware can turn off webcam LED and record video, demonst... by dkga on Thursday November 28, 2024 @12:53AM (#42262806)
Do you know if the same occurs in iPhones? That was always my assumption, but seeing a Mac-only response makes me wonder if it is addressing a Mac/only question or if it’s applicable only to Macs.
Re:Malware can turn off webcam LED and record video, demonst... by izacus on Thursday November 28, 2024 @08:44AM (#42265192)
Yep, and Apple changed that after some schools were spying on their students through software that could enable cameras on MacBooks without the light: https://en.wikipedia.org/wiki/Robbins_v._Lower_Merion_School...
Re:Malware can turn off webcam LED and record video, demonst... by TheKarateKid on Friday November 29, 2024 @07:10PM (#42278315)
I've also read of exploits which found ways to burn out the Macbook LED light by somehow messing with the power being supplied to the webcam without damaging the camera. Thus afterward, the LED light no longer powers on when in use but the camera still works.
Re:Malware can turn off webcam LED and record video, demonst... by saagarjha on Sunday December 01, 2024 @08:05AM (#42288253)
Your Wikipedia article disagrees with the claim that it could disable the light.
Re:Malware can turn off webcam LED and record video, demonst... by connicpu on Wednesday November 27, 2024 @04:07PM (#42259785)
An indicator light hardwired is nice but I apparently can't trust hardware manufacturers to design it properly. My work laptop (HP Dragonfly) has a physical blocker that closes over the camera when I haven't explicitly pressed the button that enables the camera. The blocker is black and white stripes so it's very obvious when it's covering the sensor. This should absolutely be the security standard we all strive for with camera privacy.
Re:Malware can turn off webcam LED and record video, demonst... by kiwijamo on Wednesday November 27, 2024 @04:15PM (#42259847)
Interesting, my work HP Probook does not have that functionality. I wonder why HP chooses to do this only for some laptop lines.
Re:Malware can turn off webcam LED and record video, demonst... by MaxikCZ on Wednesday November 27, 2024 @04:17PM (#42259876)
Money.
Re:Malware can turn off webcam LED and record video, demonst... by zeroping on Wednesday November 27, 2024 @04:20PM (#42259899)
Supporting that theory: my HP EliteBook does have a slide-over cover.

(It could also be contention between thickness of the display vs enterprise customer sensitivity to cameras)

Re:Malware can turn off webcam LED and record video, demonst... by nox101 on Wednesday November 27, 2024 @04:40PM (#42260068)
I suspect most people don't want it. I can imagine lots of people calling customer service "Q: why doesn't my camera work?", "A: Did you open the cover?"

There's just a valid an argument to do the same for phones. How many phones ship with camera covers and how many users want them?

You can get a stick on camera cover for $5 or less if you want one. I have them on my laptops but not on my phone. They came in packs of 6 so I have several left.

https://www.google.com/search?q=camera+cover+laptop

Re:Malware can turn off webcam LED and record video, demonst... by netsharc on Wednesday November 27, 2024 @05:16PM (#42260350)
> I can imagine lots of people calling customer service "Q: why doesn't my camera work?", "A: Did you open the cover?"

In some over-engineered world, when the camera cover is engaged the webcam video feed would be replaced by an image of the text "Slide camera cover open" (in the user's language) and an animation showing the user how to do so.

Re:Malware can turn off webcam LED and record video, demonst... by longdustytrail on Wednesday November 27, 2024 @08:09PM (#42261407)
This doesn’t seem that wild to me. Zoom already prompts me to unmute my microphone when I cough.
Re:Malware can turn off webcam LED and record video, demonst... by nrp on Thursday November 28, 2024 @12:26AM (#42262703)
We have that on the most recent generation of Framework Laptop. When the hardware privacy switch is engaged, the image sensor is electrically powered off and the camera controller feeds a dummy frame with an illustration of the switch.
Re:Malware can turn off webcam LED and record video, demonst... by dvergeylen on Thursday November 28, 2024 @03:50AM (#42263685)
Happy Framework customer here, I just wanted to say thank you for all your efforts on privacy.
Re:Malware can turn off webcam LED and record video, demonst... by vaylian on Thursday November 28, 2024 @01:32AM (#42262952)
Is there a video or some images of this somewhere? I would love to see a demonstration.
Re:Malware can turn off webcam LED and record video, demonst... by netsharc on Thursday November 28, 2024 @04:23AM (#42263835)
I looked it up on YouTube

https://www.youtube.com/watch?v=k6AsIqAmpeQ&t=1145s

And adding 2+2, the man being interviewed (Nirav Patel) is the same man who replied to my comment (HN user nrp), i.e. the man who actually did the overengineering.

If you rewind to 17:03, he talks about the changes of what the switch does (previously: USB disconnection, now: as he described in grandparent comment).

Re:Malware can turn off webcam LED and record video, demonst... by nrp on Thursday November 28, 2024 @01:32PM (#42267527)
Our engineering team did the engineering!
Re:Malware can turn off webcam LED and record video, demonst... by JumpCrisscross on Wednesday November 27, 2024 @05:56PM (#42260641)
It's also a moving part. Worse, a part the customer moves. Which means more opportunity for crap getting crammed in or breaking.
Re:Malware can turn off webcam LED and record video, demonst... by II2II on Wednesday November 27, 2024 @09:10PM (#42261741)
The cover on my laptop's camera is behind the glass. I suppose there is a chance that the slider itself could get damaged, but at least they minimized the exposed surface that could be damaged.

That said, I really can't comment on how durable it is. I only remove the cover about a half dozen times a year.

Re:Malware can turn off webcam LED and record video, demonst... by dvngnt_ on Wednesday November 27, 2024 @04:48PM (#42260141)
i miss android popup cameras.
Re:Malware can turn off webcam LED and record video, demonst... by moffkalast on Wednesday November 27, 2024 @04:46PM (#42260121)
I had that exact discussion with somebody recently, and it took me a few minutes to realize that their laptop had a physical camera cover that somehow disables camera permissions in windows too. So yeah, happens a ton I would imagine.
Re:Malware can turn off webcam LED and record video, demonst... by neuralRiot on Wednesday November 27, 2024 @04:48PM (#42260140)
Probably the camera “power” is always on as any other microcontroller on the same board, but is only active when called through the control bus or an interrupt, having an LED tied to the power rail would keep it on all the time whenever the lapop is on.
Re:Malware can turn off webcam LED and record video, demonst... by grishka on Wednesday November 27, 2024 @07:54PM (#42261338)
Then tie it to some signal or power rail that only gets enabled when the camera is in use, and that must be enabled for the camera to work, e.g. when there's power to the sensor itself.
Re:Malware can turn off webcam LED and record video, demonst... by dole on Wednesday November 27, 2024 @06:07PM (#42260712)
The Dell Latitude business laptops now have a wired led and wired switch. Besides the white led, there’s no indication which is on or off, and I don’t trust any of the software or firmware chain to be reliable. (score one for macs being transparent and prescient)
Re:Malware can turn off webcam LED and record video, demonst... by jorvi on Wednesday November 27, 2024 @09:14PM (#42261764)
For some inexplicable reason Dell has chosen to mark the button as "mute mic" (mic icon + X). So if the LED on the keyboard is lit up, the microphone is off, or rather, the microphone muting is on on. Brilliant design.
Re:Malware can turn off webcam LED and record video, demonst... by shiroiushi on Thursday November 28, 2024 @02:15AM (#42263188)
Dell should go back to the basic design of the Latitude E6400, but with modern electronics and screen of course, and drop the optical drive. The keyboard on that laptop was fantastic, and the single captive screw on the back panel was great for serviceability.
Re:Malware can turn off webcam LED and record video, demonst... by gregmac on Thursday November 28, 2024 @01:27PM (#42267500)
Yeah, the physical barrier is key. It's not that hard, and provides absolute certainty. As indicated by this thread, software experts (rightly) don't trust software by itself enough. It's by the same rationale software people are proponents of electronic voting machines printing physical, verifiable paper copies of votes.

My Latitude 7440 has a physical slider switch that covers the camera, in addition to turning it off in a software-detectable way (it shows "no signal" and not just a black screen once the slider is about 50% covering the lens). My only criticism of this is that it's subtle and at a glance hard to tell the difference between open and closed, but I guess you just get used to the slider being to the right.

I was just testing and the white LED comes on when I open something that wants to use the camera, even when the cover is closed. This seems like a useful way to detect something (eg malware) trying to use the camera, and is a good reason to not bluntly cut power to the entire camera module.

Re:Malware can turn off webcam LED and record video, demonst... by aendruk on Wednesday November 27, 2024 @07:15PM (#42261153)
> The blocker is black and white stripes

On my ThinkPad it’s instead painted with a red dot. Because, obviously, the conventional meaning of a red dot appearing on a camera is “not recording”.

Re:Malware can turn off webcam LED and record video, demonst... by BuildTheRobots on Wednesday November 27, 2024 @09:29PM (#42261867)
Not just the weird meaning, but on my last Thinkpad the red dot and the slightly red glean of the camera lens look surprisingly like each other. Even worse I managed to get the cover in a position where it looked like it was closed, but the camera could still see.
Re:Malware can turn off webcam LED and record video, demonst... by d1sxeyes on Thursday November 28, 2024 @03:10AM (#42263495)
Same on my Dell Latitude. Seems a very odd design decision. They've also centrally aligned the switch so that it's not immediately obvious from the switch position whether the cover is iver the lens or not. Super annoying.
Re:Malware can turn off webcam LED and record video, demonst... by FridayoLeary on Thursday November 28, 2024 @06:02AM (#42264343)
To be fair a red dot is a design feature of lenovo. So at least it fits in nicely with the overall look of the laptop.
Re:Malware can turn off webcam LED and record video, demonst... by j1elo on Thursday November 28, 2024 @07:17AM (#42264688)
I just looked up to my "Lenovo Performance" webcam and saw its red dot [1] looking at me... some product designers have a worrying lack of awareness about de-facto standards and user expectations affecting the UX.

[1]: https://imgur.com/Kowt8WJ

Re:Malware can turn off webcam LED and record video, demonst... by perching_aix on Wednesday November 27, 2024 @03:47PM (#42259602)
For what it's worth, you could just power on the camera, take a pic, then turn it back off instead. Provided you can do this fast enough, an indicator LED is rendered worthless. So you'd need to make the indicator LED staggered, to stay lit for a minimum amount of time.

There's also the scenario where the LED or the connections to it simply fail. If the circuit doesn't account for that, then boom, now your camera can function without the light being on.

Can't think of any other pitfalls, but I'm sure they exist. Personally, I'll just continue using the privacy shutter, as annoying as that is. Too bad it doesn't do anything about the mic input.

Re:Malware can turn off webcam LED and record video, demonst... by TZubiri on Wednesday November 27, 2024 @03:50PM (#42259625)
A minimum light duration seems pretty trivial to physically engineer.

For one the energy to take a picture is probably enough to power a light for a noticeable amount of time.

And if it isn't, a capacitor that absorbs energy and only allows energy through once it's full would allow the light to remain on for a couple of seconds after power subsides.

Re:Malware can turn off webcam LED and record video, demonst... by perching_aix on Wednesday November 27, 2024 @03:59PM (#42259719)
Wasn't arguing that it's difficult, just that it's needed (and that I'm not expecting it to be done in practice. Because the indicator LED on my laptop doesn't do it either, despite being enterprise grade).
Re:Malware can turn off webcam LED and record video, demonst... by homebrewer on Wednesday November 27, 2024 @04:08PM (#42259794)
JIRA is "enterprise grade", I wouldn't place too much faith into that term.
Re:Malware can turn off webcam LED and record video, demonst... by perching_aix on Wednesday November 27, 2024 @04:11PM (#42259814)
Trust me, I was using it semi-sarcastically too. This thing is slower than my old Pentium 4 would be, yet has a fast enough 30% to 3% battery discharge rate that it would make the speed of light itself blush.
Re:Malware can turn off webcam LED and record video, demonst... by xxs on Wednesday November 27, 2024 @09:52PM (#42261983)
The main culprit is that anyone estimating battery life in percentages. It's about voltage and current draw. The battery voltage can be read directly.

About being slow, I suppose it does run windows and its infamous 'defender'

Re:Malware can turn off webcam LED and record video, demonst... by jmb99 on Wednesday November 27, 2024 @11:12PM (#42262382)
> The main culprit is that anyone estimating battery life in percentages.

I thought this was a solved problem, like, decades ago? At least I remember even the first gen MacBooks having accurate battery percentages, and it’s a more vague memory but my PowerBook G4 did too I think.

Re:Malware can turn off webcam LED and record video, demonst... by xxs on Thursday November 28, 2024 @03:21AM (#42263549)
The "accurate" charging level mostly happens with specific amount of charge cycles (i.e. new). Laptop batteries suffer from higher temperature (over 60C), overcharging (over 4.22 per Li-Ion for most chemistries).
Re:Malware can turn off webcam LED and record video, demonst... by perching_aix on Thursday November 28, 2024 @02:24AM (#42263247)
No, I think it's fairly easy to see that a third of the charge suddenly disappearing is a fairly uncommon behavior.

Same for your Windows idea...

Re:Malware can turn off webcam LED and record video, demonst... by xxs on Thursday November 28, 2024 @03:19AM (#42263539)
"A third" is again fraction/percentage - it's still a representation stuff that depends on charge and charge cycles... and likely previous over charging and heat (Li-Ion doesn't like heat).

To put it simply: the charge level, usually, is just a lookup table for voltage (not under load).

Re:Malware can turn off webcam LED and record video, demonst... by perching_aix on Thursday November 28, 2024 @10:27AM (#42265897)
In case it was somehow magically unclear, it's not that I don't understand how batteries work, but that either that exact charge approximation mechanism is working exceptionally incorrectly, making it appear as if the battery suddenly lost so much charge, or the battery is a bust.

I do not know whether the battery is actually experiencing that sudden loss in charge, nor do I care, because in practice the end result is the same...

Re:Malware can turn off webcam LED and record video, demonst... by cthalupa on Wednesday November 27, 2024 @07:16PM (#42261159)
My 2023 MBP webcam light stays on for nearly 3 seconds after the webcam itself turns off.
Re:Malware can turn off webcam LED and record video, demonst... by dhosek on Wednesday November 27, 2024 @09:15PM (#42261776)
Which is part of the design (see comments from the security architect elsewhere in the discussion).
Re:Malware can turn off webcam LED and record video, demonst... by axoltl on Wednesday November 27, 2024 @05:27PM (#42260437)
I worked on this feature for Apple Macbooks around 2014 as the security architect. All Macbooks since then have a camera indicator LED that is (barring the physical removal of the LED) always on at least 3 seconds. This feature is implemented in gates in the power management controller on the camera sub-board.

There's a LOT of pitfalls still (what if you manage to pull power from the entire camera sub-assembly?), this was a fun one to threat-model.

Re:Malware can turn off webcam LED and record video, demonst... by akira2501 on Wednesday November 27, 2024 @06:20PM (#42260794)
LEDs are diodes. So you can run power _through_ them. Power Supply -> LED -> Camera.
Re:Malware can turn off webcam LED and record video, demonst... by xxs on Wednesday November 27, 2024 @09:47PM (#42261956)
While true, the amount of power would be too low, LEDs also have quite high forward voltage (~3V for blue ones) and they are current driven devices. That suggestion would require pass all the current through the LEDs. LEDs don't like to be reverse biased either. Overall, it's a rather appalling idea. On top of the fact that LEDs can fail short.

More also you'd want a hold up time for the light (few seconds at least), as taking pictures would flash them for 1/60 of a second or so.

Re:Malware can turn off webcam LED and record video, demonst... by akira2501 on Wednesday November 27, 2024 @11:03PM (#42262329)
They have high forward voltage /drop/ which is a useful property. You drive them with constant current for constant brightness and improved lifespan which is most pertinent for LED light bulb replacements than it is for a simple signal status light. Fixed delay before standby isn't hard to enforce either.

Even so this whole attack vector isn't solved with this. How long should the light stay on for after the camera is put in standby before a user considers it a nuisance? 5 seconds? So if I turn my back for longer than that I'm out of luck anyways.

The anti-TSO means would be a hardware serial counter with a display on the camera. Each time the camera is activated the number is incremented effectively forming a camera odometer. Then if my previous value does not match the current value I know it's been activated outside of my control.

Re:Malware can turn off webcam LED and record video, demonst... by perching_aix on Thursday November 28, 2024 @02:40AM (#42263330)
As long as you remember the previous number correctly at least... :)
Re:Malware can turn off webcam LED and record video, demonst... by xxs on Thursday November 28, 2024 @03:23AM (#42263562)
I meant the forward voltage (also not a constant one) in series with the actual load.
Re:Malware can turn off webcam LED and record video, demonst... by criddell on Wednesday November 27, 2024 @03:50PM (#42259627)
I can't find it now, but recently I read how one company's design team added this feature to their laptops. A subsequent review by the team responsible for manufacturing found that they could change the circuit to cut down on the part count to save money. The light was still there, but it was no longer hardwired. The company continued to advertise the camera light as being hardwired even though it wasn't.
Re:Malware can turn off webcam LED and record video, demonst... by ortusdux on Wednesday November 27, 2024 @05:08PM (#42260297)
That fact pattern would setup a solid fraud case against the company and necessitate a recall at a minimum.
Re:Malware can turn off webcam LED and record video, demonst... by kergonath on Thursday November 28, 2024 @01:56AM (#42263047)
Which makes me doubt the anecdote, besides the lack of any specifics or reference.
Re:Malware can turn off webcam LED and record video, demonst... by pesus on Wednesday November 27, 2024 @03:29PM (#42259410)
I might be out of the loop, but I thought that was only for some machines - I remember the LED being wired that way being a selling point for MacBooks at some point, as a privacy feature. It definitely should be the standard, though!
Re:Malware can turn off webcam LED and record video, demonst... by wodenokoto on Wednesday November 27, 2024 @03:36PM (#42259488)
Apple dropped that wiring when they decided to use the camera as a light sensor for screen brightness. Saves 1 component. Well, two, since they ended up ditching the light all together.
Re:Malware can turn off webcam LED and record video, demonst... by naming_the_user on Wednesday November 27, 2024 @04:04PM (#42259756)
At least half of your comment is wrong as the latest model MBP has an ambient light sensor, a camera, and an LED, I'm looking at them.

Maybe the Air?

Re:Malware can turn off webcam LED and record video, demonst... by bilbo0s on Wednesday November 27, 2024 @04:15PM (#42259846)
Doesn’t matter if it’s true. It only matters that they spell your name right.

Threads filled with inaccurate posts like that are a large part of the reason that educating the general populace on security issues is so difficult.

Re:Malware can turn off webcam LED and record video, demonst... by cruffle_duffle on Wednesday November 27, 2024 @04:20PM (#42259897)
And it all goes right into your friendly LLM training data and then spewed right back out again!
Re:Malware can turn off webcam LED and record video, demonst... by pesus on Wednesday November 27, 2024 @03:42PM (#42259537)
They removed the LED? My 2023 model pro still has it. Google is failing me trying to find information about it, though.
Re:Malware can turn off webcam LED and record video, demonst... by bayindirh on Wednesday November 27, 2024 @04:08PM (#42259795)
I don't know whether 2024 models has the LED or not, but there's an unmaskable/global overlay warning for Webcam / Microphone / Location services, and I think they are controlled at Kernel level. You can't bypass these indicators when any software accesses these devices.

These warnings have hysteresis and logging. They don't disappear the moment you close the device, and you can see which app is using which device.

...and no, ambient light sensor handles the true tone and brightness. It's not the camera.

Re:Malware can turn off webcam LED and record video, demonst... by subjectsigma on Wednesday November 27, 2024 @03:42PM (#42259542)
Can you point me to a link? This is very disturbing to me as I thought they were wired together. I can’t find any source confirming or denying newer than like 2022…
Re:Malware can turn off webcam LED and record video, demonst... by ortusdux on Wednesday November 27, 2024 @03:33PM (#42259450)
I'd like a law to this effect.
Re:Malware can turn off webcam LED and record video, demonst... by pooper on Wednesday November 27, 2024 @04:15PM (#42259848)
We have to be realistic though. We can't even get a law requiring right to replace a battery on our own iPhones...
Re:Malware can turn off webcam LED and record video, demonst... by CharlesW on Wednesday November 27, 2024 @04:32PM (#42259995)
Go to https://www.ifixit.com/Device/iPhone, then search for your iPhone's battery replacement guide.
Re:Malware can turn off webcam LED and record video, demonst... by Aaargh20318 on Wednesday November 27, 2024 @04:51PM (#42260164)
Re:Malware can turn off webcam LED and record video, demonst... by bluGill on Wednesday November 27, 2024 @04:38PM (#42260046)
We may already have this law. If the manufactures makes claims about this LED, then that this attack is possible mean a lawyer can force them to recall and fix everything.
Re:Malware can turn off webcam LED and record video, demonst... by TZubiri on Wednesday November 27, 2024 @03:48PM (#42259603)
The idea has been around for quite some time. But it is always dropped.

My guess is that, assuming the most basic and absolute physicial design, the light would flash for silly things like booting, upgrading firmware, checking health or stuff like that.

Re:Malware can turn off webcam LED and record video, demonst... by greenthrow on Wednesday November 27, 2024 @03:51PM (#42259634)
Flashing is easily fixed with a capacitor and also not a bad thing if it turns off when it loses power immediately. The only explanation that makes sense to me is it being separately controlled is a feature not a bug.
Re:Malware can turn off webcam LED and record video, demonst... by TZubiri on Wednesday November 27, 2024 @05:27PM (#42260430)
I agree on the capacitor fix for flashing, I pointed it out in another post.

In this case I was referring to false positives to the user.

This would mean we can't update the firmware without causing the user some paranoia.

Also. Would an app requesting permission to use camera itself send some power to the camera to verify it is available? In a similar vein, what about checking if the camera is available before even showing the user the button to use the camera?

Maybe there's solutions to this, I'm just pointing out some reasons they may have gone the software route instead of the hardware route.

Re:Malware can turn off webcam LED and record video, demonst... by agumonkey on Wednesday November 27, 2024 @03:42PM (#42259540)
same... i'm also surprised that having a software controlled led would be cheaper ..
Re:Malware can turn off webcam LED and record video, demonst... by lxgr on Wednesday November 27, 2024 @04:02PM (#42259743)
It could be something very simple, such as requiring less USB hub complexity for a camera that can be woken up via a command on the USB bus instead of needing to connect/disconnect the USB power rails (wired in parallel with the LED) to it.

Somebody here has also mentioned Apple using the camera for brightness and maybe color temperature measurement, for which they wouldn't want to enable the LED (or it would effectively always be on).

That doesn't automatically make that a good tradeoff, of course; I'd appreciate such a construction.

Re:Malware can turn off webcam LED and record video, demonst... by kergonath on Thursday November 28, 2024 @02:03AM (#42263095)
> Somebody here has also mentioned Apple using the camera for brightness and maybe color temperature measurement, for which they wouldn't want to enable the LED (or it would effectively always be on).

That is not true. MacBooks have separate light sensors. And the camera physically cannot activate without the LED lighting up and a notification from the OS. People say a lot of stupid things in the comments…

Re:Malware can turn off webcam LED and record video, demonst... by ajsnigrutin on Wednesday November 27, 2024 @04:16PM (#42259857)
Most business class thinkpads have a physical cover in the screen that covers the camera with a piece of plastic.

Led, no led, who cares, plastic is blocking the lens. Move the cover away, say hi on zoom, wave, turn the camera back off, cover on, and stay with audio only, as with most meetings :)

Re:Malware can turn off webcam LED and record video, demonst... by jiggawatts on Wednesday November 27, 2024 @03:38PM (#42259509)
"Add an LED next to the camera, our customers demand it!"

"Job done boss!"

That's it. That's what happens. Nobody ever reviews anything in the general industry. It's extremely rare for anyone to raise a stink internally about anything like this, and if they do, they get shouted down as "That's more expensive" even if it is in every way cheaper, or "We'll have to repeat this work! Are you saying Bob's work was a waste of time and money!?" [1]

[1] Verbatim, shouted responses I've received for making similar comments about fundamentally Wrong things being done with a capital W.

Re:Malware can turn off webcam LED and record video, demonst... by bluGill on Wednesday November 27, 2024 @04:42PM (#42260086)
Lawyers after the fact review this. I expect one to start a class action - they will make millions, and everyone else who has this laptop will get $1. The real point is the millions means every other company is on notice that these mistakes hurt the bottom line and so the industry starts to review these things. So long as it doesn't hurt they won't review.

I feel really dirty calling lawyers the good guy here, but ...

Re:Malware can turn off webcam LED and record video, demonst... by daedrdev on Wednesday November 27, 2024 @05:07PM (#42260288)
What law as been broken by not implementing this feature?
Re:Malware can turn off webcam LED and record video, demonst... by bluGill on Wednesday November 27, 2024 @08:57PM (#42261676)
If they promise a feature they don't have that is falwe advertising.
Re:Malware can turn off webcam LED and record video, demonst... by jiggawatts on Thursday November 28, 2024 @04:21AM (#42263822)
The feature is an LED light next to the camera. They delivered it.
Re:Malware can turn off webcam LED and record video, demonst... by bluGill on Thursday November 28, 2024 @08:54AM (#42265265)
The exact words matter. If they call it a led they are maybe fine. If they call it a camera on led they are sunk. Even if they just call it a led, the implication that it is about camera on is an arguement the courts will not toss out - though how they rule is not as clear
Re:Malware can turn off webcam LED and record video, demonst... by geor9e on Wednesday November 27, 2024 @03:45PM (#42259580)
Sure, for a brand headquartered in Cupertino they might design it that way. But this one is a Beijing brand.
Re:Malware can turn off webcam LED and record video, demonst... by adolph on Wednesday November 27, 2024 @03:51PM (#42259632)
It isn't clear to me that webcam firmware ever powers down a typical camera module. See below for data about how the Sony IMX708 sensor is an I2C device with start and stop streaming commands.

https://github.com/Hermann-SW/imx708_regs_annotated?tab=read...

Re:Malware can turn off webcam LED and record video, demonst... by TheRealPomax on Wednesday November 27, 2024 @03:46PM (#42259591)
It wasn't. Only responsible manufacturers wired them up that way.
Re:Malware can turn off webcam LED and record video, demonst... by itslennysfault on Wednesday November 27, 2024 @03:29PM (#42259411)
Yeah, my understanding is that is how the light on MacBooks works, but I'm not sure about any other makes/models. Obviously, if this is possible that Thinkpad model doesn't do that.
Re:Malware can turn off webcam LED and record video, demonst... by orbital-decay on Wednesday November 27, 2024 @04:36PM (#42260029)
It's probably done to keep it in a low powered state and reduce the initialization delay. Maybe also to prevent the Windows USB plugging sound from playing upon turning the camera on, as it would seem weird to the user ("I don't have any USB devices plugged in...")

Likely UX over security and privacy.

Re:Malware can turn off webcam LED and record video, demonst... by moritzwarhier on Wednesday November 27, 2024 @04:50PM (#42260152)
Since some sort of firmware is required, this seems like a "turing tarpit" security exploit from my laymans perspective.

There's no standard that I know, that, like "Secure EFI / Boot" (or whatever exact name it is), locks the API of periphery firmware and that would be able to statically verify that said API doesn't allow for unintended exploits.

That being said: imagination vs reality: the Turing tarpit has to be higher in the chain than the webcam firmware when flashing new firmware via internal USB was the exploit method.

Re:Malware can turn off webcam LED and record video, demonst... by axoltl on Wednesday November 27, 2024 @05:32PM (#42260474)
No firmware is required. Macbooks manufactured since 2014 turn on the LED whenever any power is supplied to the camera sensor, and force the LED to remain on for at least 3 seconds.

(Source: I architected the feature)

Re:Malware can turn off webcam LED and record video, demonst... by moritzwarhier on Wednesday November 27, 2024 @05:48PM (#42260582)
Thanks for your reply — yourself as the Source can only make me feel flattered then for you responding to me.

> Macbooks manufactured since 2014 turn on the LED whenever any power is supplied to the camera sensor, and force the LED to remain on for at least 3 seconds.

That convinced me originally I think, good old days! I'd almost forgotten about it. The way you phrased it, it sounded like 50% OS concern to me.

But if cam & LED rly share a power supply, and the LED is always on without any external switch, Good then!

Re:Malware can turn off webcam LED and record video, demonst... by axoltl on Wednesday November 27, 2024 @06:10PM (#42260727)
I was not very popular with the camera firmware folks for a while. They had to re-architect a bunch of things as they used to occasionally power on the camera logic without powering the sensor array to get information out of the built-in OTP. Because the LED now came on whenever the camera was powered they had to defer all that logic.
Re:Malware can turn off webcam LED and record video, demonst... by ProfessorLayton on Wednesday November 27, 2024 @06:23PM (#42260816)
What does OTP stand for in this case? The camera PROM??
Re:Malware can turn off webcam LED and record video, demonst... by axoltl on Wednesday November 27, 2024 @06:50PM (#42261012)
Apologies. OTP is One-Time-Programmable. The physical implementation of this varies, in this specific case it was efuses (anti-fuse, actually). It's used for things like calibration data. For a camera it contains information about the sensor (dead pixels, color correction curves, etc.).
Re:Malware can turn off webcam LED and record video, demonst... by Shekelphile on Wednesday November 27, 2024 @04:57PM (#42260215)
Only apple does this properly.
Re:Malware can turn off webcam LED and record video, demonst... by wutwutwat on Wednesday November 27, 2024 @05:00PM (#42260234)
In the past I've used microsnitch on macos which tells you when the mic or camera are activated, but macos seems to have support for this baked into the os now. In zoom calls the menu bar shows what is active. If this can be sidestepped and avoided in software, and the camera can be activated without any indicator, I do not know. If direct access can be done, and you don't need to go through some apple api to hit the camera, maybe.

edit: looks easily bypassed https://github.com/cormiertyshawn895/RecordingIndicatorUtili...

Re:Malware can turn off webcam LED and record video, demonst... by endigma on Wednesday November 27, 2024 @06:15PM (#42260759)
Using this tool requires disabling SIP, so not "easily bypassed" at least from a malware perspective.
Re:Malware can turn off webcam LED and record video, demonst... by 0xDEAFBEAD on Wednesday November 27, 2024 @05:15PM (#42260343)
Did it ever snitch on anything interesting?
Re:Malware can turn off webcam LED and record video, demonst... by wutwutwat on Wednesday November 27, 2024 @05:31PM (#42260467)
idk, but maybe you know! it was probably easily bypassed anyway. hardware disconnects are the only thing that can ever be trusted imo
Re:Malware can turn off webcam LED and record video, demonst... by TacticalCoder on Wednesday November 27, 2024 @06:28PM (#42260855)
> I thought the whole point of these camera LEDs was to have them wired to/through the power to the camera, so they are always on when the camera is getting power, no matter what.

This definitely happened too on Mac in the past, then they went in damage control mode. Not only had Apple access to turn off the LED while the camera was filming, but there was also a "tiny" company no-one had ever heard off that happened to have the keys allowing to trigger the LED off too. Well "tiny company" / NSA cough cough maybe.

After that they started saying, as someone commented, that it requires a firmware update to turn the LED off.

My laptop has a sticker on its camera since forever and if I'm not mistaken there's a famous picture of the Zuck where he does the same.

I've got bridges to sell to those who believe that the LED has to be on for the camera to be recording.

Re:Malware can turn off webcam LED and record video, demonst... by samatman on Wednesday November 27, 2024 @07:29PM (#42261226)
I believe every paragraph of this besides the personal anecdote is completely made up. Care to change my mind?
Re:Malware can turn off webcam LED and record video, demonst... by m463 on Wednesday November 27, 2024 @06:59PM (#42261049)
There was a school district that took pictures of the kids at home.

They briefly saw the LED flash.

But it was not on for any length of time and you could miss it.

This stuff should be completely in hardware, and sensible - stay on for a minimum time, and have a hardware cutoff switch.

Re:Malware can turn off webcam LED and record video, demonst... by WiSaGaN on Wednesday November 27, 2024 @08:26PM (#42261509)
That's why many ThinkPads have physical covers over their cameras. You don't even need to worry about whether the LEDs are hardwired - relying on any electronic indicator is already a half-baked security measure. If you want real security, just go with a physical solution.
Re:Malware can turn off webcam LED and record video, demonst... by DaiPlusPlus on Thursday November 28, 2024 @12:30AM (#42262727)
…until it isn’t: my ThinkPad P1 Gen 6 has the camera cover, yes - but it doesn’t have a cover for the depth-sensing camera, only the RGB cam, even though userland applications can get imaging data from that camera just as easily - which is potentially a bigger security issue: I imagine you could reconstruct my facial shape from the data and build a dummy head to get into my iPhone/iPad via FaceID.

(No, I’m not actually worried about this, I’m far too unimportant for anyone to make a targeted attack against)

Re:Malware can turn off webcam LED and record video, demonst... by esprehn on Wednesday November 27, 2024 @08:49PM (#42261637)
Yeah, on Chromebooks and MacBooks the LED is hardwired to ensure it's always on when the camera is enabled.
Re:Malware can turn off webcam LED and record video, demonst... by qingcharles on Wednesday November 27, 2024 @09:08PM (#42261730)
I stumbled on a forum once where it was just filled with people trying to modify the software for various laptops to disable the "tally lamp" (as it is called). There were people selling the mods and one guy claiming he was selling his cracks to three-letter agencies. The people on there seemed to be using this to extort people (mostly women) by being able to record videos without the owner knowing. Some really dark shit.
Re:Malware can turn off webcam LED and record video, demonst... by Nursie on Wednesday November 27, 2024 @09:12PM (#42261754)
Yeah the first day I read about RATers... jesus. The camera LED seemed to be a major thing for them, because if they could bypass it then the chance their RAT would be discovered was much lower.

Really nasty world they've made for themselves, blackmailing, extorting and generally controlling other people (mostly women and girls, but some men too) with threats of releasing compromising material.

Re:Malware can turn off webcam LED and record video, demonst... by red-iron-pine on Thursday November 28, 2024 @11:31AM (#42266540)
Enterprise organizations want to be able to watch their employees without them knowing.

Other organizations like law enforcement, are also ambivalent about this.

The easy solution, of course, is a folded business card or piece of tape. But tbh I'm not surprised they didn't implement that approach, and likely deliberately.

Re:Malware can turn off webcam LED and record video, demonst... by riedel on Thursday November 28, 2024 @11:53AM (#42266733)
Actually astound about the same thing with the microphone mute LED and the speaker mute LED. Even without any attack they are sometimes malfunctioning. None of those seem remotely hardwired on my ThinkPad Z13.