LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 10-10-2014, 07:58 PM   #1
Vido
Member
 
Registered: Mar 2014
Posts: 38

Rep: Reputation: Disabled
Debian 7 my web cam goes Live every 10-15 min Im not using skype or cheese ?


Hey guys,

This days I have nightmares, dont know what to do and how to investigate this.
Right now as Im writing this my web cam led is go "live" for ~3-4 sec and as I said earlier Im not using any software that can "record" from web cam. My skype is not started only my browser Iceweasel is and I doubt that somehow some site/flash plugin is using my web cam, I have many tabs opened and dont know what/who exactly is using my web cam and is there a way to find out ? Can I run something to monitor and capture which proces is using my web cam ?

Many tnx in advice, I hope so that this is only some bug somewhere
 
Old 10-10-2014, 08:09 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,997

Rep: Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628
Wireshare maybe or other network snooping recording such tools. It shouldn't go live.

I'd assume top could show many processes.


Be sure you also consider using your modem or routers tools to secure your system.
 
Old 10-10-2014, 10:19 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,342
Blog Entries: 28

Rep: Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145
Until you figure this out, cover your webcam with a sock or a folded index card or whatever works for you. I keep a folded index card over the webcam on my laptop because I almost never use it and I don't want to worry about this sort of stuff, though I doubt anyone is interested in what I do in webcam view.

I've been cautious about webcams ever since this.
 
Old 10-11-2014, 04:25 AM   #4
Vido
Member
 
Registered: Mar 2014
Posts: 38

Original Poster
Rep: Reputation: Disabled
@jefro I tried Wireshark and there is "so much" traffic going on so its difficult to see anything, I tried Sys Monitor and there is no new process in list when led on cam lights up

@Frankbell I will do that for now, it seams nothing else remain to do
 
Old 10-12-2014, 06:30 PM   #5
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by Vido View Post
Right now as Im writing this my web cam led is go "live" for ~3-4 sec and as I said earlier Im not using any software that can "record" from web cam. (..) dont know what/who exactly is using my web cam and is there a way to find out ? Can I run something to monitor and capture which proces is using my web cam ?
First reflex actually should be to look at the logs: system logs, Xorg log, xsession-errors for any clues. If that doesn't show anything check with 'lsmod' what modules are loaded, see if you can spot the webcam driver and check if it allows for debug mode. Unload the driver, set the option in /etc/modprobe*, load the driver and see if it spills nfo. If that doesn't show anything check 'dmesg' output, and if that doesn't show anything hardware detection / webcam / module-related either try to blacklist the webcam driver and ponder sending diagnostic nfo to the developer to have things fixed. Note blacklisting effectively stops you from using your webcam but by then its prolly easier to write an enable/disable script...
 
Old 10-13-2014, 02:22 AM   #6
propofol
Member
 
Registered: Nov 2007
Location: Seattle
Distribution: Debian Wheezy & Jessie; Ubuntu
Posts: 334

Rep: Reputation: 60
Have you tried lsof:
Code:
#lsof /dev/video0
 
Old 10-13-2014, 12:44 PM   #7
Vido
Member
 
Registered: Mar 2014
Posts: 38

Original Poster
Rep: Reputation: Disabled
Tnx for advices, u listed many things, firs I need to "get familiar" with all of that, its not easy to jump in just like that but I have time and patience

Yes I writed little bash that came handy

Code:
#!/bin/bash

while :
do
    if [[ `lsof /dev/video0` ]]
    then
        break
    fi
    sleep 0.5
done
echo "`lsof /dev/video0`"
echo "done"
but when camera started there was nothing from it, and yes I tested it with starting chesse and it worked so its seams and I do not how
camera was starte without accsessing /dev/video0 and Im not sure in what Im looking at right now, I will try this sugestions asap tnx once again
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Web cam dont work with cheese under centos6 zafar_dandoti Linux - Laptop and Netbook 0 03-09-2013 02:44 PM
Cheese doesen't work, skype does with my cam firekage Ubuntu 2 07-30-2012 01:25 PM
How to stream live video from web cam bschandra Linux - Newbie 2 01-11-2012 12:06 AM
Problems finding Linux compatible web cam and headset to use with Skype for Christmas bdrd Linux - Newbie 10 12-18-2008 07:46 PM
how can i broadcast live video from a web cam to a server then to the internet charlotterob Linux - Software 2 12-27-2006 10:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 04:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration