I've made a series of penetration tests in my network and one of the things I've tried was to record webcam and microphone.

Recording an end-user's microphone seems to be a stealth thing, but what about the webcam? In my tests, the indicator is turned on and I can't figure out a way to do this without turning on the light.

So far, I'm assuming that if someone broke into my computer and turned on the webcam, I'll know that.

But, if that's possible, which of the available hardwares on the market are vulnerable to that kind of attack?

  • What kind of access? And what about an employees computer controlled by their company?
    – gnasher729
    Commented Mar 25, 2023 at 21:51

10 Answers 10


Most definitely, but depending on the manufacture you may have to patch the camera's firmware and then flash it. Similar attacks have been used to disable the "shutter sound" on cameras.

Some camera manufactures have a hidden option to disable the camera light, which maybe desirable by some (perhaps unusual) customers.

  • 2
    @Keyne doubtful, its probably firmware. in that the device has a set reactions to an incoming command like "start recording".
    – rook
    Commented Sep 2, 2011 at 16:33
  • 63
    The answer is absolutely wrong! You're forgetting about the fact that it doesn't take firmware, but only a simple change in system configuration (as malware would be able to change). Check forums.logitech.com/t5/Webcams/Can-I-turn-off-red-LED/m-p/… for one of the many examples. LOGITECH WEBCAMS as an example DO NOT need firmware changes to have their light disabled! And note that I'm not yet talking about former Adobe Flash security issues that enabled camera use without indicating activation (read: while leaving the activity-indicating light off). Firmware only? You wish!
    – user6373
    Commented Jan 3, 2012 at 16:03
  • 4
    @user6373 that is one way of accomplishing the same task, it depends on the device. But, at the end of the day, the lights on the device is controlled by the firmware.
    – rook
    Commented Apr 25, 2015 at 19:52
  • 8
    I'm not trying to troll this answer, but I don't really see why this isn't just hyperbole. If the camera's power circuit includes an LED then how could one power the camera without powering the LED? I know there is a link in the above comment, but that is for a peripheral device, not an integral laptop camera. Has someone actually looked to see if they are on separate circuits controlled independently by firmware? Lights were added by manufacturers to solve the RAT problem, so I'd be surprised if they didn't solve this simply by pulling the LED in parallel from the power circuit.
    – AN6U5
    Commented Jun 15, 2016 at 2:22
  • 1
    @AN6U5 Some developers find real value in connecting the dots.
    – rook
    Commented Jun 17, 2016 at 2:58

Im not sure about built-in webcams, but I think it is most likely possible.

I've found info on Logitech Webcams, where you can turn off the LED in the registry keys..

For QuickCam versions thru, LVUVC_LEDControl is located in the following registry key:


Note - If more than one camera is installed, you will have a "folder" for each device (i.e., 0000, 0001, 0002, etc...).

It has a default Data Value of REG_DWORD = 0x00000005 (5).

Based on your comments, I will assume that the following information is true:

0x00000000 (0) = LED Off
0x00000008 (8) = LED On

Please note that only certain cameras support this feature, so the mere addition of this key will not cause the LED Control buttons to appear in the QuickCam® Advanced Settings.

It is taken from: http://forums.logitech.com/t5/Webcams/Can-I-turn-off-red-LED/m-p/277305#M52816

Hence, I do not see why it shouldnt be possible for built-in webcams, since they also require drivers (mine is for example up side down after a fresh install)


It really depends on the type of camera, and how it is built. On Apple MacBook Pros (at least recent ones), the camera light is directly connected via the power supply to the camera module, so the light can't be circumvented even via a firmware hack. Older (really old) Logitech cameras had a similar design.

But just to be safe, I'm one of those guys with a dark tape over the camera.

  • 14
    Any teardown evidence to support this claim?
    – adib
    Commented Dec 18, 2013 at 5:27
  • 9
    A few years ago, some researchers found out a way to turn on the webcam on a Mac without the light being turned on: jscholarship.library.jhu.edu/handle/1774.2/36569 Commented Jun 6, 2015 at 14:56
  • I'm not familiar with 2011 Macs, but I'm pretty sure the camera is just connected via USB like in any other laptop and the LED is controlled by the firmware. According to your description the LED would be on all the time because the camera would be powered on constantly.
    – gronostaj
    Commented Aug 22, 2022 at 5:28
  • @user2428118 This was on pre-2008 Mac models only.
    – Frizlab
    Commented Mar 19, 2023 at 15:29

It seems as if the design of my ASUS notebook is good in this respect.

It uses a hardware video shutter, that cannot be turned on electronically.

That is a great solution to the privacy issue (excepting sound recording as you said).

  • 6
    This is what I have on all my web cams - it is a prereq in my buying decision:-)
    – Rory Alsop
    Commented Sep 2, 2011 at 9:26
  • 1
    A piece of electrical tape also works and looks stylish.
    – Dave
    Commented Mar 29, 2016 at 19:45

One other thing that I haven't seen mentioned was popularized during the Lower Merion District School spying scandal last year is that the software that was used (LANRev TheftTrack) got around the Apple MacBook's camera light protections (camera light is hardwired to camera power) by simply turning it on briefly for a snapshot. Thus the camera isn't on all the time, but only at random intervals for a split second.

  • 5
    This is a common feature on metasploit framework and it's used to take pictures.
    – user4610
    Commented Sep 13, 2011 at 16:46

Yes it can be done. Many web-camera control programs give you the ability to turn off the light. So it's definitely possible.

So as to know if the camera is active at a given time, I guess the best thing you have to do to ensure it stay disable, is to turn it off in the device manager. Off-course, you have to trust the Operating System to obey your commands. But that is a different question.


Under Linux it's possible to control the LED on a number of USB cameras using the uvcdynctrl libwebcam command line tool (available via most package managers) e.g. to turn off the LED on device video1:

uvcdynctrl -d video1 -s 'LED1 Mode' 0

On Windows a number of cameras come with control software that allows for disabling of the LED in a number of cases (e.g. some Logitech models).

  • I use uvcdynctl at work for our fleet of systems, it's quite handy for us -- but yes, this demonstrates that many cameras allow the LED to be controlled by software, thus rendering the status light an inadequate indicator of compromise as OP was asking.
    – Doktor J
    Commented Jul 11, 2019 at 14:40
  • For reference, our users are aware the camera may be recording (it's stated in our signed agreements with them, and also in a short-form FAQ we have too, just to ensure they're aware), but the light would be incredibly annoying and distracting to them so we shut it off.
    – Doktor J
    Commented Jul 11, 2019 at 14:42

At least on older MacBooks / MacBook Pros from 2007 and 2008, there is a way to disable the LED as demonstrated by researchers from Johns Hopkins University and published in a paper.

They have also created a kernel extension for Mac OS X to prevent such an attack, called iSightDefender, available as source code on GitHub.

So, looking at those Logitech and iSight webcams' security, you can safely say that your privacy is not safe with a webcam aiming at you. You might also want to look at those laptop webcam cover stickers from EFF.


Aside from uvcdynctrl mentioned in other answers, it's also possible to use v4l2-ctl in Linux:

v4l2-ctl --device=/dev/video0 --set-ctrl led1_mode=0

I used a neat little trick that will go unnoticed by the unsuspecting. I use a very small round rubber that often comes on the bottom of small devices like Vonage VoIP router. It provides a little lift off the surface to allow better ventilation and to reduce sliding of the device. I just use it to cover the LED and persons will think it came with the laptop.

Alternatively you can use the very small kitchen cabinet door cushion. They are normally used to reduce the banging when the cabinet door is close. Some are plastic or synthetic cloth with adhesive on one side. Pick up a pack of 100 for a a dollar or two at the hardware. Whatever colour they are just use a black permanent marker and that did the trick. My laptop is black.

You must log in to answer this question.