Finding out which app is using the webcam

58

23

Yesterday I was working on my laptop. Suddenly I noticed that the indicator light of the webcam was on, despite the fact that I wasn't making a video call or using the webcam in any other way at the moment.

It freaked me out.

It freaked me out that some unknown application on my computer was using my webcam without my permission, and possibly sending that video stream to god knows where on the Internet.

In the end, it turned out to be Skype which was in the process of crashing. (Despite me making no calls at the time.) So that story ended well.

But next time I see the webcam indicator light, I want to be ready. I want to be able to know exactly which app is using the webcam so I could destroy it.

Does anyone know how I can find out which app is using the webcam?

(I'm on Windows XP.)

Ram Rachum

Posted 2011-09-13T16:58:43.330

Reputation: 4 261

1Rut Row. . . Malware spying on you!! – surfasb – 2011-09-13T17:45:04.963

2

Frankly, I'd consider putting a sticker over the webcam unless you're using it. There's been a few bad people taking advantage of webcams: http://www.wired.com/threatlevel/2011/09/sextortionist/

– Hand-E-Food – 2011-09-15T01:50:02.173

Answers

65

As already suggested by harrymc, you can use Process Explorer to easily find out which programs currently use your Webcam. All you need to do is to find your Webcams Device Handle and search for it in Process Explorer.

First, search for your Webcam in the Device Manager, it should be under "Imaging devices" but can also be under "Sound, video and game controllers" if it has a built-in Microphone (like in my case).
Beware that it has two Device Handles in that case.

Right-click and select Properties (or Double-click), go to the Details Tab and search for "Physical Device Object name" in the Properties dropdown list and copy the value.

image

Now go to Process Explorer and click on "Find", then "Find Handle or DLL..." (or press CTRL+F) and enter your previously copied Device Handle.
Click search and after a bit of wait you will get a list with Processes using your Webcam.

image

Again: Beware that your Webcam's light might also be on because a built-in Microphone is in use, in which case you will also have to search for the Microphones Device Handle as well!

halfbit

Posted 2011-09-13T16:58:43.330

Reputation: 771

+1 Awesome, thanks for taking the time to add details, very helpful! – jeremyalan – 2014-11-21T17:15:13.320

3I had the light on and no results in the search. Probably something crashed and left it running. I'll re plug it in – Jonathan – 2015-06-11T05:28:46.967

1same for me, no results – tibbus – 2016-04-17T23:39:15.700

0 matching intems. – FractalSpace – 2017-02-12T00:49:45.920

This is not working! – Suncatcher – 2017-04-23T10:07:23.913

3+1 IMO this should be the accepted answer - much more useful than the currently accepted answer... – Shaul Behr – 2013-12-09T16:47:02.710

11

My idea is that maybe you could use Process Explorer to search out which program has opened the device.

Try it first when it is open by Skype or some other known program. Process Explorer can show you which files and devices are opened by this program, to find out what is the name of the device. You could then use the Search function with the device name to see if it does find this program.

If this works, then in the future Process Explorer can find for you which program is using the webcam.

image

(Sorry, I don't have a webcam for testing this out.)

harrymc

Posted 2011-09-13T16:58:43.330

Reputation: 306 093

2

Applications using "handles" to access various interfaces provided by OS. Device handles is actually "file handles".

Process Hacker ( http://processhacker.sf.net/ ) can search handles in all processes (Ctrl+F to open "Find handles and DLL's").

My webcam device handle was

\Device\USBPDO-6

I found that after comparing all \Device* handles opened by skype.exe while my webcam is on and off.

Sanya_Zol

Posted 2011-09-13T16:58:43.330

Reputation: 273

0

Find out the model of the webcam and if there's additional software that be installed to support it, I know some Logitech webcams have a 'webcam management application' that let you control the webcam features and sometimes report when it's in use and by which application.

As far I could see there's no really well known and trusted software to help with managing any webcams by reporting what's using it, and is looking like it requires the use of the software that the webcam manufacturer ships, or the tools provided by the laptop manufacturer like Dell.

So then you just have to hope that your webcam manufacturer has that "in use" reporting feature. If not - make that a requirement for a future upgrade replacement webcam.

Nick Josevski

Posted 2011-09-13T16:58:43.330

Reputation: 6 747