News for hackers. Stuff that matters.
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