Im curious how the Meterpreter can take pictures from my webcam without turning on the webcam LED? Ive read that you have to write/change a driver, or a firmware, or you just change some DLLs, but then others say that the LED cant be hacked because then the webcam gets power the LED gets powered too but this is already for me false since the meterpreter can already do this. And i doubt that Rapid7 wrote dozens of firmwares to disable every single LED from every single Webcam, they did something brilliant, so brilliant that it works cross-platform. So what did they to achieve something like this?
Here's my webcam
*-usb:1 Description: Video Product: Lenovo EasyCamera Vendor: Vimicro corp. Physical ID: 5 Bus-Informations: usb@3:5 Version: 14.76 Capabilities: usb-2.00 Configuration: driver=uvcvideo maxpower=256mA speed=480Mbit/s
And here's the corresponding modinfo of "uvcvideo" (didnt included are "alias"es)
filename: /lib/modules/4.15.0-43-generic/kernel/drivers/media/usb/uvc/uvcvideo.ko version: 1.1.1 license: GPL description: USB Video Class driver author: Laurent Pinchart <email@example.com> srcversion: DBA8F055BDC0120170B3498 depends: videodev,videobuf2-core,videobuf2-v4l2,videobuf2-vmalloc,media retpoline: Y intree: Y name: uvcvideo vermagic: 4.15.0-43-generic SMP mod_unload signat: PKCS#7 signer: sig_key: sig_hashalgo: md4 parm: clock:Video buffers timestamp clock parm: hwtimestamps:Use hardware timestamps (uint) parm: nodrop:Don't drop incomplete frames (uint) parm: quirks:Forced device quirks (uint) parm: trace:Trace level bitmask (uint) parm: timeout:Streaming control requests timeout (uint)
I found a tool called "uvcdynctrl" it allows you to alter some things from a webcam but then I dump available controls of my webcam
sudo uvcdynctrl -c Listing available controls for device video0: Brightness Contrast Saturation Hue White Balance Temperature, Auto Gamma Power Line Frequency White Balance Temperature Sharpness Exposure, Auto Priority Pan (Absolute) Tilt (Absolute) Zoom, Absolute
nothing shows up what could turn off my LED..