Page 1 of 1

webcam hack

PostPosted: Thu Jul 05, 2012 7:36 pm
by 3rdEdition
Hi, im currently learning to hack. So how to hack hack webcam of another pc in the same network.
(edited)

Re: webcam hack

PostPosted: Thu Jul 05, 2012 8:38 pm
by WallShadow
Depends on the webcam model, depends on the OS, depends on your access level, and depends on your determination.

If there's a will, there's a way.


Please do elaborate OP.

-WallShadow <3

Re: webcam hack

PostPosted: Fri Jul 06, 2012 3:49 am
by 3rdEdition
webcam model i'm not sure about it, OS is Windows 7, access level is not admin and i do not know how to hack into computer as in remotely control. currently, i'm playing with Backtrack 5. So i assume Backtrack can help on this? haha. Hope I did elaborate enough to reach understanding :)

Re: webcam hack

PostPosted: Fri Jul 06, 2012 5:04 am
by ghost107
If its an IP camera just to access it just requires to know some HTTP (Just do an http Request and download the JPEG), this is usualy for unprotected IP cameras, or public ones. For protected ones its a little more ificult since it requires an username and a password.
More info here:
http://www.w3.org/Protocols/rfc2616/rfc2616.html

Ecample:
Accessing this image:http://192.168.1.2/axis-cgi/jpg/image.cgi
Code: Select all
GET /axis-cgi/jpg/image.cgi HTTP/1.1
Host:192.168.1.2


or Accessing a Video:http://192.168.1.2/axis-cgi/mjpg/video.cgi
Code: Select all
GET /axis-cgi/mjpg/video.cgi HTTP/1.1
Host:192.168.1.2


The recv usually is the video stream or the image(depending on what you access), but you really need to know the camera model(since the links differs from model to model).

So accessing an IP camera with password is accessing an link like this:
http://username:password@192.168.1.2/ax ... /image.cgi

For the web camera you first need to gain access to the persons computer, and then access its webcam, and stream the data to your computer.

Depending on what programming language you know, you must first know how to capture from a webcam(Java has JMF library, C/C++ has tones of library's);
http://msdn.microsoft.com/en-us/library ... 85%29.aspx
http://lwn.net/Articles/203924/

This stuff more depends on what operating system he has.

Re: webcam hack

PostPosted: Fri Jul 06, 2012 11:46 am
by centip3de
3rdEdition wrote:webcam model i'm not sure about it, OS is Windows 7, access level is not admin and i do not know how to hack into computer as in remotely control. currently, i'm playing with Backtrack 5. So i assume Backtrack can help on this? haha. Hope I did elaborate enough to reach understanding :)


Quick question, do you own the camera you're attempting to break into?

Re: webcam hack

PostPosted: Fri Jul 06, 2012 6:37 pm
by 3rdEdition
ghost107, thanks for your answer. seems complicated though haha but will look into it still :). gaining access to a computer still a newbie, so bare with me taking time on that. didn't know C++ can do such task. If can, I would like to learn using Backtrack coz it's more fun ><. Anyways, thanks and will update here if there's a progress.

centip3de, i don't own the camera, my father does. lol.....My bro is using currently :)

Re: webcam hack

PostPosted: Fri Jul 06, 2012 7:21 pm
by centip3de
3rdEdition wrote:centip3de, i don't own the camera, my father does. lol.....My bro is using currently :)


Carry on then.

Re: webcam hack

PostPosted: Tue Dec 31, 2019 9:22 am
by Aidenraza
To hack webcam on another PC go for the following steps. Metasploit's Meterpreter has a built-in element for dealing the remote system's webcam. The initial thing we want is to check in case there is a web cam, and in case there is, get its name. To do it writes: meterpreter > webcam_list. Here just take a snapshot from the webcam by writing: meterpreter > webcam_sna You will see that the system will now except a snapshot from her webcam onto our system in the directory /opt/framework3/msf3, which can be opened and see what's going on. For further facts try https://thevpn.guru/is-my-webcam-hacked/ . At the end just runs the webcam so that you can watch a unceasing video stream, by writing meterpreter > run webcam -p /var/www This instruction begins his/her webcam and directs its streaming output to /var/www/webcam.htm.