zlacker

Malware can turn off webcam LED and record video, demonstrated on ThinkPad X230

submitted by xairy+(OP) on 2024-11-27 20:10:55 | 1042 points 515 comments
[view article] [source] [go to bottom]

NOTE: showing posts with links only show all posts
◧◩
42. adolph+I5[view] [source] [discussion] 2024-11-27 20:51:22
>>sbarre+T1
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...

◧◩
47. 542458+96[view] [source] [discussion] 2024-11-27 20:54:08
>>sbarre+T1
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

◧◩
53. 542458+K6[view] [source] [discussion] 2024-11-27 20:57:40
>>epista+i3
FWIW, modern Macbooks also hardware disable the mic when the lid is closed.

https://support.apple.com/en-ca/guide/security/secbbd20b00b/...

◧◩◪
72. climb_+z8[view] [source] [discussion] 2024-11-27 21:10:44
>>Walter+k3
The Electronic Frontier Foundation sells a set of stickers exactly for this purpose [0]. I have a set and it works reasonably well. And it supports a good cause.

[0] https://shop.eff.org/products/laptop-camera-cover-set-ii

◧◩◪◨
91. Charle+zb[view] [source] [discussion] 2024-11-27 21:32:50
>>pooper+c9
Go to https://www.ifixit.com/Device/iPhone, then search for your iPhone's battery replacement guide.
◧◩
92. 3eb798+Ab[view] [source] [discussion] 2024-11-27 21:33:08
>>epista+i3
I believe it is possible to turn a speaker into a microphone. Found a paper which claims to do just that[0]. So, there is no safety anywhere?

  SPEAKE(a)R: Turn Speakers to Microphones for Fun and Profit
  It is possible to manipulate the headphones (or earphones) connected to a computer, silently turning them into a pair of eavesdropping microphones - with software alone. The same is also true for some types of loudspeakers. This paper focuses on this threat in a cyber-security context. We present SPEAKE(a)R, a software that can covertly turn the headphones connected to a PC into a microphone. We present technical background and explain why most of PCs and laptops are susceptible to this type of attack. We examine an attack scenario in which malware can use a computer as an eavesdropping device, even when a microphone is not present, muted, taped, or turned off. We measure the signal quality and the effective distance, and survey the defensive countermeasures. 
[0] https://arxiv.org/abs/1611.07350
93. Triang+Sb[view] [source] 2024-11-27 21:35:16
>>xairy+(OP)
Technology connections made a very sarcastic but entertaining video of the "stupid" design of being able to control the camera and the led independently.

https://m.youtube.com/watch?v=m0mMF7GaIR0

◧◩◪◨
106. nox101+Kc[view] [source] [discussion] 2024-11-27 21:40:39
>>kiwija+b9
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

◧◩◪◨
118. schroe+2e[view] [source] [discussion] 2024-11-27 21:49:58
>>lxgr+dc
> Passwords

Which reminds me, to strengthen your point, it doesn't have 100% keystroke recognition, but there are works[1] on keylogging via audio, and 93% via Zoom-quality audio streams is concerning enough for me.

[1] https://arxiv.org/abs/2308.01074

◧◩◪◨
119. meindn+4e[view] [source] [discussion] 2024-11-27 21:50:14
>>fph+ac
Camera + bag of chips: https://people.csail.mit.edu/mrub/VisualMic/
◧◩◪◨
123. Aaargh+ie[view] [source] [discussion] 2024-11-27 21:51:17
>>pooper+c9
We can’t? Then what is this? : https://environment.ec.europa.eu/news/new-law-more-sustainab... ?
◧◩
128. kibwen+Xe[view] [source] [discussion] 2024-11-27 21:55:47
>>l33tma+kd
In this vein, apps on your phone likely have unrestrained access to the photosensor, and researchers have figured out how to take low-resolution photos with it: https://news.mit.edu/2024/study-smart-devices-ambient-light-...
◧◩
131. wutwut+8f[view] [source] [discussion] 2024-11-27 21:57:39
>>epista+i3
Miclocks are a thing, or any chopped 3.5mm 3 prong plug should do the trick

https://mic-lock.com/products/copy-of-mic-lock-3-5mm-metalli...

This still doesn't stop a program from switching the input from external back to the internal mics though afaik

◧◩
134. wutwut+qf[view] [source] [discussion] 2024-11-27 22:00:04
>>sbarre+T1
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...

◧◩◪◨⬒
150. axoltl+Lh[view] [source] [discussion] 2024-11-27 22:21:16
>>varenc+I8
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...

◧◩◪◨
158. megraf+Ti[view] [source] [discussion] 2024-11-27 22:29:15
>>NTARel+3h
This is common at nightclubs (or was) - a DJ can use their headphones as a microphone, speaking into one channel and listening to another

Example https://m.youtube.com/watch?v=1NNP6AFkpjs

:-)

◧◩◪◨
159. Tempes+0j[view] [source] [discussion] 2024-11-27 22:29:53
>>jonpla+8g
Below, axoltl writes:

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

>>42260379

190. wkat42+aq[view] [source] 2024-11-27 23:35:52
>>xairy+(OP)
I'm surprised how much these X230s are still being used. People who love real keyboards love them.

Personally I didn't think Lenovo's later keyboards were too bad. The one on my T490s was wonderful. However since my work moved to the T14s series, the keyboards have become terrible. The key movement range is too low now, and the feel is crap. It's too bad because Lenovo was the last holdout which still had decent keyboards. The T14s is also bad in other ways, the body got thinner but the screen got a lot thicker and heavier so it's actually worse to carry than the T490s.

Anyway, ontopic: I'm not surprised these cam controller firmwares can be hacked. It's very specific to the controller though.

However, most people I know that care about privacy close the cam door anyway, or put a sticker over it. I use the SpyFy. https://spy-fy.com/collections/webcam-covers . Good luck hacking that.

What worries me a lot more is the microphone. It doesn't have a light, and it's really hard to block. A simple sticker won't do much. These things are super sensitive. I can literally hear myself talking in the other room with the right boost settings.

◧◩◪◨⬒⬓⬔
195. perchi+Us[view] [source] [discussion] 2024-11-28 00:03:33
>>lxgr+uo
Network traffic monitoring is routinely done at enterprises. It's usually part-automated using the typical approaches (rules and AI), and part-manual (via a dedicated SOC team).

There are actual compromises caught this way too, it's not (entirely) just for show. A high-profile example would be Kaspersky catching a sophisticated data exfiltration campaign at their own headquarters: https://www.youtube.com/watch?v=1f6YyH62jFE

So it is definitely possible, just maybe not how you imagine it being done.

◧◩◪
216. deepsu+4A[view] [source] [discussion] 2024-11-28 01:27:36
>>Pwngu+nc
Yes it disconnects power: https://youtu.be/k6AsIqAmpeQ?t=1021
◧◩◪
217. deepsu+cA[view] [source] [discussion] 2024-11-28 01:29:41
>>schroe+n6
In their new upcoming webcam module for Framework they would still cut off the sensor power, but not the USB interface due to usability issues (e.g. in my experience Google Meet can detect the camera after the privacy switch turned on, but Zoom and Microsoft Teams do not)

https://youtu.be/k6AsIqAmpeQ?t=1021

◧◩
226. coppsi+QC[view] [source] [discussion] 2024-11-28 01:59:42
>>lxgr+T2
And having a microphone in the same chassis as the keyboard would make creating a keylogger easier. A microphone in the same room as the keyboard can be made into a keylogger[1].

[1] <https://github.com/shoyo/acoustic-keylogger>

◧◩◪◨⬒⬓⬔
232. altair+VD[view] [source] [discussion] 2024-11-28 02:12:21
>>square+hn
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. >>42260379

◧◩◪◨⬒⬓⬔
234. qingch+1E[view] [source] [discussion] 2024-11-28 02:13:14
>>ohhnoo+rA
Yes, photos of naked people are used to extort them (usually into just paying the holder to delete them).

>>42261730

◧◩◪◨⬒⬓⬔
239. jamesm+5F[view] [source] [discussion] 2024-11-28 02:22:46
>>ohhnoo+rA
"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...

◧◩◪◨
242. nurple+6G[view] [source] [discussion] 2024-11-28 02:33:24
>>lynndo+do
Yes! LEDs as photometers is something that you don't really see around much anymore, but it is really cool. Even an LED matrix can be used as a self-illuminating proximity sensor with the right setup.

https://www.youtube.com/watch?v=GaAtpAuNN_o

◧◩◪◨⬒⬓⬔⧯
259. mkl+3K[view] [source] [discussion] 2024-11-28 03:22:50
>>tehjok+3H
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-...

◧◩◪
287. wutwut+gU[view] [source] [discussion] 2024-11-28 05:43:28
>>fiatpa+fK
it probably doesn't

>>42260216

293. thread+iW[view] [source] 2024-11-28 06:18:03
>>xairy+(OP)
Why The FBI Director Puts Tape Over His Webcam

"I saw something in the news, so I copied it. I put a piece of tape — I have obviously a laptop, personal laptop — I put a piece of tape over the camera. Because I saw somebody smarter than I am had a piece of tape over their camera."

https://www.npr.org/sections/thetwo-way/2016/04/08/473548674...

Is there anyone who doesn't do this?

◧◩◪◨⬒⬓⬔⧯▣
299. throwa+MY[view] [source] [discussion] 2024-11-28 06:54:52
>>whartu+VO
I can remember when someone spotted tape over Zuckerberg's laptop camera. Ref: https://www.theverge.com/2016/6/21/11995032/mark-zuckerberg-...
◧◩◪◨
301. microt+7Z[view] [source] [discussion] 2024-11-28 06:58:46
>>makeit+CL
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

302. MrDres+yZ[view] [source] 2024-11-28 07:03:40
>>xairy+(OP)
After GCHQ was discovered doing this back in 2014 with their 'Optic Nerve' program[0], I have tried to avoid computers with integrated webcams for use as my personal devices (exceptions are mobile devices).

An exception to that rule is if they have hardware switches for turning off the power supply to the camera and microphone.

Currently, I am very happy with my Framework, where the LED is hardwired into the power supplied to the camera[1].

[0]: https://en.wikipedia.org/wiki/Optic_Nerve_(GCHQ)

[1]: https://community.frame.work/t/how-do-the-camera-and-microph...

◧◩◪◨⬒
319. onesht+q21[view] [source] [discussion] 2024-11-28 07:29:53
>>jdblai+BY
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

◧◩◪◨⬒
351. ferbiv+F91[view] [source] [discussion] 2024-11-28 08:59:07
>>nullho+sU
There's this paper, which made the news at the time I think: https://crypto.stanford.edu/gyrophone/files/gyromic.pdf

And there's this post, which includes an audio clip: https://goughlui.com/2019/02/02/weekend-project-mma8451q-acc...

◧◩◪◨⬒⬓⬔⧯
361. netsha+vb1[view] [source] [discussion] 2024-11-28 09:23:01
>>vaylia+gX
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).

370. rickde+ke1[view] [source] 2024-11-28 10:00:58
>>xairy+(OP)
Production of the ThinkPad X230 stopped 10 years ago in 2014. Would be more interesting to read something about a RECENT model.

In late 2014 was the last big webcam vulnerability "hype" I remember [1], which led to a wave of media attention, webcam covers, vendor statements that LED-control is / will be hard-wired etc.

I'm more interested how this big attention impacted future designs of laptops (like my cheap HP here, which has a built-in camera cover)

[1]: https://www.usenix.org/conference/usenixsecurity14/technical...

374. zakqwy+ef1[view] [source] 2024-11-28 10:15:04
>>xairy+(OP)
Just install an NSA-B-GONE, my janky open-source modboard that adds Thinklight-controlled USB hardware switches to the webcam and microphone! Designed for the X220, but the X230 is pretty similar so I bet it would work: https://github.com/zakqwy/NSA-B-GONE

Of course, if everyone does that, attackers will just start pulsing Thinklights and seeing if anything enumerates, I suppose.

◧◩◪◨
389. j1elo+gp1[view] [source] [discussion] 2024-11-28 12:17:28
>>aendru+fu
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

◧◩
398. teppix+Vs1[view] [source] [discussion] 2024-11-28 12:58:35
>>eggy+AE
> Turning off camera LEDs and recording video is an old hack and old news.

This.

Some of the linux webcam drivers drivers have had the option to specify the behavior of the LED via a parameter since way back, including turning it completely off.

I remember this was the case ~20 years ago.

One example (look for the led-option) https://www.kernel.org/doc/html/v5.1/media/v4l-drivers/phili...

This is straight from the documentation:

"But with: `leds=0,0`the LED never goes on, making it suitable for silent surveillance"

◧◩◪
407. izacus+ox1[view] [source] [discussion] 2024-11-28 13:44:45
>>542458+96
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...
◧◩◪◨⬒
419. leland+TF1[view] [source] [discussion] 2024-11-28 15:02:22
>>megraf+Ti
You will still see DJs do this in NYC! Old school flavor. You can also see Skepta rapping into a pair on the the music video for That's Not Me: https://www.youtube.com/watch?v=_xQKWnvtg6c

I've seen some theatrical DJs bring a cheap pair, snap them in half, and then use them like a "lollipop." Crowd eats it up. Even older school: using a telephone handset: https://imgur.com/a/1fUghXY

◧◩
450. gregw2+MU1[view] [source] [discussion] 2024-11-28 16:40:52
>>boolea+lB
I've seen them when shopping for certain CAD-certified laptops.

There are some of these out there, from major brands (HP?). Asus seems to have more. ( https://rehack.com/reviews/best-laptops-without-webcams/ ) They tend to be workstation grade, sometimes gaming, machines at higher price points. For new laptops, see if you can customize it out on their site.

While searching for one on amazon/ebay stinks, you can find ones without webcam (doublecheck for integrated microphone status in product details too though) by looking manually for terms like "no webcam"... vendors usually don't want returns due to surprises so it will be mentioned in the product title.

links: https://laptopwithlinux.com/laptops-without-webcam/?currency...

◧◩◪◨
471. Thorre+Ba2[view] [source] [discussion] 2024-11-28 18:46:54
>>nine_k+YR
From this comment: >>42260379

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

◧◩◪◨⬒⬓⬔⧯▣
483. zlsa+go2[view] [source] [discussion] 2024-11-28 20:55:51
>>sunnyb+WJ
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

494. everly+XX2[view] [source] 2024-11-29 04:02:09
>>xairy+(OP)
Comment from 2016: >>11459808
502. arendt+0m4[view] [source] 2024-11-29 18:45:37
>>xairy+(OP)
I am a big fan of cheap but universal camera covers [1]. They look and work much better than type ;-)

[1]: https://www.amazon.com/s?k=camera+cover

◧◩◪◨
507. fragme+gb6[view] [source] [discussion] 2024-11-30 18:07:44
>>Nifty3+d86
Pinephone has em.

https://pine64.org/documentation/PinePhone/Privacy_switches/

[go to top]