News for hackers. Stuff that matters.
Re:Dell Adding Hardware Privacy Driver for Linux by devenblake on Wednesday November 04, 2020 @08:11AM (#24988664)
"These new Dell privacy buttons are basically hardware kill switches for the microphone and web camera video stream. The Dell privacy driver sent out on Tuesday for the Linux kernel is about manipulating the relevant LEDs and tracking the status of the hardware-based controls where as the actual toggling of the audio/video support is handled by the hardware."

Why not just wire the LEDs up to the same power line that goes to the camera?

Re:Dell Adding Hardware Privacy Driver for Linux by discreditable on Wednesday November 04, 2020 @08:20AM (#24988733)
They may be wired to the power line. I think the goal is more to give the kernel some way to know the mic/camera is explicitly disabled and not disconnected/missing/broken.
Re:Dell Adding Hardware Privacy Driver for Linux by varispeed on Wednesday November 04, 2020 @08:26AM (#24988776)
Wouldn't that tell any spy device / software that the subject has switched off the means he or she can be surveiled by? I cannot see how this could help with anything. They should rather do a physical switch that would 0 the data lines from these devices, so that camera or the microphone would be seen as working, but not sending any signal. Even better if you could pre-program some kind of ambience sound and pre-recorded cam video, so that once you turn it off, the perpetrator will think that they are still getting something.
Re:Dell Adding Hardware Privacy Driver for Linux by crote on Wednesday November 04, 2020 @08:37AM (#24988883)
Why would you care about fooling surveillance? The goal is to prevent a potential adversary from getting any video/audio footage, them being aware of you actively blocking any attempts is not really relevant.

Besides, the vast majority of users will not be under active attack. Having an on-screen popup when you try to use the webcam telling you that it has been hardware-disabled is quite a must-have. If you don't have something like this, you'll get a lot of support calls which boil down to "you accidentally pressed the kill switch, press it again to re-enable".

Re:Dell Adding Hardware Privacy Driver for Linux by jakobdabo on Wednesday November 04, 2020 @10:07AM (#24989660)
> Why would you care about fooling surveillance?

For example, when you are "required" [1] to run surveillance software on your computer.

[1] https://www.vice.com/en/article/n7wxvd/students-are-rebellin...

Re:Dell Adding Hardware Privacy Driver for Linux by fouric on Wednesday November 04, 2020 @01:01PM (#24991379)
...then you just cover the camera and/or mic with a physical cover, such a piece of tape.
Re:Dell Adding Hardware Privacy Driver for Linux by boogies on Wednesday November 04, 2020 @04:14PM (#24993131)
> and/or mic

How well would tape work on that?

Re:Dell Adding Hardware Privacy Driver for Linux by Vrondi on Wednesday November 04, 2020 @04:50PM (#24993395)
These exam proctoring softwares are only required to be run during the time you are actively taking an exam. The rest of the time, there would be zero issue for a student with hardware disabled camera and microphone.
Re:Dell Adding Hardware Privacy Driver for Linux by matheusmoreira on Wednesday November 04, 2020 @05:24PM (#24993673)
The invasive proprietary software used to prevent cheating cannot be trusted to work only when the students want it work. Its purpose can and will be twisted to fit the agendas of whoever owns the software. It probably introduces several security vulnerabilities into the system just by being installed.
Re:Dell Adding Hardware Privacy Driver for Linux by jackvalentine on Wednesday November 04, 2020 @05:36PM (#24993772)
It's a Chrome extension.
Re:Dell Adding Hardware Privacy Driver for Linux by duskwuff on Wednesday November 04, 2020 @02:53PM (#24992445)
> If you don't have something like this, you'll get a lot of support calls which boil down to "you accidentally pressed the kill switch, press it again to re-enable".

Yep. This was an extremely common issue in the mid-2000s, when laptops started integrating wireless hardware with hard power switches, often on the side of the laptop where they could easily be toggled by accident.

Re:Dell Adding Hardware Privacy Driver for Linux by varispeed on Thursday November 05, 2020 @04:18AM (#24996754)
But was it a "fault" of the switch itself or lack of meaningful feedback that the switch was engaged? It seems like they have not implemented it properly and then say it wasn't a good idea, without really giving it a chance.
Re:Dell Adding Hardware Privacy Driver for Linux by antoinealb on Wednesday November 04, 2020 @08:32AM (#24988822)
It might be for usability reasons: having your video conferencing application tell you "Your webcam appears to be disabled by the privacy switch, is that intentional?" probably saves a lot of time in tech support calls.
Re:Dell Adding Hardware Privacy Driver for Linux by lultimouomo on Wednesday November 04, 2020 @08:44AM (#24988941)
Also, having your video conferencing application send some prerecorded audio and video data to your colleagues because you inadvertently turned the kill switch would not be a highly desirable outcome.
Re:Dell Adding Hardware Privacy Driver for Linux by marcinzm on Wednesday November 04, 2020 @10:14AM (#24989711)
Unless you record infinite video and sound it's pretty easy to check if the video is a loop. Even static video of an empty room would have variations over time while a recording would be identical. Even auto-generated audio and noise would have a pattern which can be matched on. And if an attacker has control over your machine they can trivially correlate it with other activity to detect fake input.

It's basically a false sense of security which is generally worse than doing nothing.

Re:Dell Adding Hardware Privacy Driver for Linux by weehoo on Wednesday November 04, 2020 @11:26AM (#24990423)
If you can pattern match all auto generated audio you can prove there’s no one way functions and that cryptographic hash functions don’t exist.

Detecting the pattern in a prng stream is equivalent to finding its Kolmogorov complexity. https://en.m.wikipedia.org/wiki/Kolmogorov_complexity#Chaiti...

Re:Dell Adding Hardware Privacy Driver for Linux by marcinzm on Wednesday November 04, 2020 @12:05PM (#24990839)
You're not pattern matching all auto-generated audio. You are pattern matching the audio generated by a specific algorithm. An attacker who has access to your microphone will know which laptop you have and what hardware it has.

This assumes an attacker is targeting you specifically since otherwise this is all moot (a broad attack could care less as to why your microphone is off).

Re:Dell Adding Hardware Privacy Driver for Linux by kelnos on Wednesday November 04, 2020 @04:53PM (#24993415)
You wouldn't be using a PRNG for this, because what would be the point? The idea would be to generate some plausible-sounding audio, not garbage that a listener would obviously know isn't real.

Really, though, in general there's just no point to this altogether; just cutting power/data to the mic is fine. There's no need to attempt to fool someone with fake audio, outside of some very edge-case scenarios that I'm sure Dell (rightly) does not care about.

Re:Dell Adding Hardware Privacy Driver for Linux by coldtea on Wednesday November 04, 2020 @09:55AM (#24989558)
>Wouldn't that tell any spy device / software that the subject has switched off the means he or she can be surveiled by?

And the spy device/software knowing the user has "switched off the means" vs "they are broken" is important because?

Re:Dell Adding Hardware Privacy Driver for Linux by tw04 on Wednesday November 04, 2020 @08:43AM (#24988928)
>They should rather do a physical switch that would 0 the data lines from these devices,

What exactly do you expect that to accomplish. Anyone actively targeting you getting literally NO SOUND OR VIDEO is going to know that you've flipped the switch just the same.

Even the quietest apartment has HVAC that will be picked up. If they're recording for hours they're going to hear people walking by. The camera itself will still provide an image, even if it's black, that looks different than no signal at all.

Re:Dell Adding Hardware Privacy Driver for Linux by varispeed on Wednesday November 04, 2020 @09:04AM (#24989112)
That's why the idea of having some pre-recorded stuff on tap, but sending no signal could waste some of the perpetrators resources, which I think is something nicer to have than letting them know it is switched off.
Re:Dell Adding Hardware Privacy Driver for Linux by tw04 on Wednesday November 04, 2020 @10:06AM (#24989647)
Sorry but if you're going to those lengths you should be buying a laptop without a camera or mic. Do video calls from your phone and put it in a soundproof/wireless transmission proof box.

If a nation state is able to get to your laptop they're going to figure out pretty quickly that you're "feeding something pre-recorded" into the mic and camera every time you have a meeting. Ignoring the insane effort you'd have to put out to feed that in and make it even semi-believable. For starters they are presumably tracking who you're meeting with - are you going to have a meeting before your meeting to pre-record? Hope they don't figure out that you're saying the exact same thing in two different meetings? Somehow have root on your laptop but aren't bright enough to figure out you're feeding data from a local file into your mic and camera?

Re:Dell Adding Hardware Privacy Driver for Linux by varispeed on Thursday November 05, 2020 @04:20AM (#24996763)
Thank you! Great answer
Re:Dell Adding Hardware Privacy Driver for Linux by criddell on Wednesday November 04, 2020 @09:03AM (#24989106)
I believe the switches are there for the user as a simple way of activating or deactivating the microphone and camera and for them to know (via LEDs) the current state.

If you have a spy device connected to your computer or have malware running, you are very screwed in a million different ways already. Limiting knowledge of hardware state to malware doesn't buy you much.

Re:Dell Adding Hardware Privacy Driver for Linux by Vrondi on Wednesday November 04, 2020 @04:48PM (#24993381)
If it is switched off, then you cannot be surveiled by it. Mission accomplished.
Re:Dell Adding Hardware Privacy Driver for Linux by rainingcatndogs on Wednesday November 04, 2020 @08:47AM (#24988972)
I belive you can blacklist that driver if needed.
Re:Dell Adding Hardware Privacy Driver for Linux by mastax on Wednesday November 04, 2020 @11:31AM (#24990475)
> Why not just wire the LEDs up to the same power line that goes to the camera?

It's just difficult enough to not bother considering the market doesn't care.

Webcams are typically USB 2.0 devices using generic drivers from the operating system or manufacturer. It's easy from a hardware and software perspective to send a command to the webcam to disable itself and turn off its LED. If you want to completely cut power then you need to add power switching circuitry.

You could use one of your CPU's limited GPIO pins to control the switching but now you probably need a smart power switch (~$0.30, which is significant) since the low voltage (1.2V?) GPIO can't handle switching a regular mosfet gate. GPIO writes are usually easy (just write to a memory address), but you'd still need to modify the vendor driver to do this and then distribute the driver.

Motherboards typically have embedded controllers which have GPIO - on desktops there is a SuperIO chip, I believe laptops typically use a regular microcontroller. Now you have some 3.3V GPIOs that can handle gate switching so you can use a regular MOSFET (~$0.10). You still need to modify and distribute the webcam driver, and now it might have to communicate with another driver which is handling the embedded controller.

Now you have to deal with the webcam disconnecting and reconnecting as you switch power to it. You want the device to always be present even if it's not enumerating on the USB bus, so you can select the webcam in zoom and turn it on and so you're not constantly playing the hardware connect/disconnect sound - even more driver changes. Maybe the webcam takes significantly longer to turn on now because it has to boot and enumerate.

That was all somewhat informed speculation, but I think it illustrates how a seemingly simple thing gets complicated. The electronics industry could easily solve these issues if there was motivation, but there just isn't.

Edit: Well, I'm posting this on an article talking about a vendor which is doing the work to make this happen. I guess I should say there's just enough motivation to eventually get around to solving this problem in a mature market.

Re:Dell Adding Hardware Privacy Driver for Linux by m463 on Wednesday November 04, 2020 @12:21PM (#24990998)
False.

The market does care.

People want: hardware kill switches.

They want to cut their camera. (I've seen tape many times)

They want to mute their microphone for real.

Even non-nefarious "on-screen" mute buttons are subject to abuse.

For instance, in webex the conference host can unmute one or all of other people's mute buttons remotely. (To be clear there is a use case for this)

I wonder how many apps are listening even while mute is on. I would expect many of them.

and then there are exploits, which are lower probability but can do much more damage.

Re:Dell Adding Hardware Privacy Driver for Linux by bayindirh on Wednesday November 04, 2020 @11:48AM (#24990661)
Or you can just bake the functionality into the webcam itself (like apple) and a cheap commodity item becomes complicated and expensive.

You'll need a special firmware for the cam (like apple device), need to ensure integrity of the said firmware and also need a customized driver which needs maintenance work.

I have an old Logitech Pro 9000 camera with a lot of bells and whistles but, when I found out that its light can be managed by the driver and the UVC client in Linux AND it can turned off while it's recording, I've never kept it connected longer than it should be.

So yes, custom and secure hardware is hard.

Re:Dell Adding Hardware Privacy Driver for Linux by sojuz151 on Wednesday November 04, 2020 @12:29PM (#24991088)
Connect the LED via current mirror to webcam power line? You will know when webcam is recording because it draws far more power.
Re:Dell Adding Hardware Privacy Driver for Linux by surround on Wednesday November 04, 2020 @08:19AM (#24988717)
That seems to be an issue with most webcams - the indicator light itself can be compromised and disabled.
Re:Dell Adding Hardware Privacy Driver for Linux by mnahkies on Wednesday November 04, 2020 @08:21AM (#24988740)
I remember having a usb Logitech webcam that included disabling the indicator as a first class option in their control panel - not a big leap to imagine malware doing it
Re:Dell Adding Hardware Privacy Driver for Linux by LeonM on Wednesday November 04, 2020 @09:00AM (#24989085)
Third party webcams, yes.

Basically any modern laptop with a build-in webcam has a hardware controlled LED, not software controlled.

Re:Dell Adding Hardware Privacy Driver for Linux by m463 on Wednesday November 04, 2020 @12:26PM (#24991052)
I don't see that this is necessarily true or easy to figure out.
Re:Dell Adding Hardware Privacy Driver for Linux by Kuinox on Wednesday November 04, 2020 @02:01PM (#24991930)
I remember a hack were basically if you just light up the camera, take a pic, and power off it, the led don't have enough time to emit light.
Re:Dell Adding Hardware Privacy Driver for Linux by hda2 on Wednesday November 04, 2020 @09:47PM (#24995237)
Even if the LED remained on, the victim would be powerless to do anything about the picture that was taken. I've seen videos on youtube of scammers doing this to blackmail their victims.

Kill switches should be mechanical and should physically disconnect the device from the system. Kill switches and lights that are controllable by software will be exploited.

Re:Dell Adding Hardware Privacy Driver for Linux by Kuinox on Thursday November 05, 2020 @05:35AM (#24997111)
I know, was just showing that LED wired on power is not enough.
Re:Dell Adding Hardware Privacy Driver for Linux by ArnoVW on Wednesday November 04, 2020 @01:27PM (#24991633)
Perhaps because all it takes is 1/24th of a second to make a picture?

Or because once the light is on, it's too late?

Or because I don't want to risk missing the light being on, just because the computer is on but I m not behind it?

Re:Dell Adding Hardware Privacy Driver for Linux by dastx on Wednesday November 04, 2020 @04:58PM (#24993455)
It would be super nice for manufacturers to start doing that, but this is not a silver bullet. There's been so many times where I've just had my laptop stay open and on for different reasons. If in such scenarios the webcam comes on, the likelihood of me seeing the camera light on is quite low. I'm sure I'm not the only person either. Hardware switch is still the best solution.

My lenovo laptop has basically a builtin webcam cover, and I absolutely love it.

Re:Dell Adding Hardware Privacy Driver for Linux by d33 on Wednesday November 04, 2020 @05:09PM (#24993549)
...Another LED for the data wire then?
Re:Dell Adding Hardware Privacy Driver for Linux by dastx on Thursday November 05, 2020 @08:52PM (#25004093)
What would that achieve exactly?
Re:Dell Adding Hardware Privacy Driver for Linux by d33 on Sunday November 08, 2020 @11:47AM (#25026932)
This one wouldn't be always on, but blink on signal. Way to differentiate between activity and just being plugged in.
Re:Dell Adding Hardware Privacy Driver for Linux by colejohnson66 on Wednesday November 04, 2020 @01:03PM (#24991398)
A “kill switch” is more preferable because it prevents an attack, whereas wiring the LED to the power line only notifies you when you’ve been attacked; by then it’s too late; you’ve already been compromised.
Re:Dell Adding Hardware Privacy Driver for Linux by sschueller on Wednesday November 04, 2020 @01:35PM (#24991701)
So the NSA/CIA/FBI can enable the camera/mic without you knowing.
[dead]
Re:Dell Adding Hardware Privacy Driver for Linux by yjftsjthsd-h on Wednesday November 04, 2020 @09:24AM (#24989292)
Lovely; care to enlighten the rest of us?
Re:Dell Adding Hardware Privacy Driver for Linux by hedora on Wednesday November 04, 2020 @11:21AM (#24990383)
It’s a rhetorical question. There’s no good reason not to do it.

The main reason is cost and hardware complexity, which would be negligible if the camera asic simply had an “I am on” pin to drive an LED. Laptop manufacturers clearly don’t care about this issue enough to insist that camera and audio hardware manufacturers include such a pin on future models.