Wireshark For Video Surveillance Tutorial

Author: Brian Karas, Published on Aug 01, 2016

Want to snoop on the data going between your NVR and your IP camera?  Wireshark is the tool most commonly used to analyze network traffic and see what is really happening on the wire. It is helpful both in troubleshooting and understanding what is happening with IP camera streams.

This report gives an introduction to Wireshark and how to do some basic analysis on captured data to find information useful for camera setup and debugging, including:

  • Analyzing transmissions from IP cameras
  • Finding Unknown static IP addresses of IP cameras
  • Finding the RTSP URL of an IP camera
  • Using the follow option to get more data on an IP camera

**** ** ***** ** *** **** ***** ******* **** *** and **** ** ******?  *********** *** **** **** ******** **** ** ******* ******* ******* *** see **** ** ****** ********* ** *** ****. ** ** helpful **** ** *************** *** ************* **** ** ********* **** IP ****** *******.

**** ****** ***** ** ************ ** ********* *** *** ** do **** ***** ******** ** ******** **** ** **** *********** useful *** ****** ***** *** *********, *********:

  • ********* ************* **** ** *******
  • ******* ******* ****** ** ********* ** ** *******
  • ******* *** **** *** ** ** ** ******
  • ***** *** ****** ****** ** *** **** **** ** ** IP ******

[***************]

Getting ******* **** *********

******** ************ *** ******* *** ************, ********* ******** ****** ** ****.  If *** *** *** ******** **** ******* ******* ******* *** using ****** ***** *** **** **** ****** **** ** ******* Wireshark ** *** **** ******* ** **** ***. *** ************ should *** ******* * ******* ** ********* *********, *** *** should ** *** ******* ****** ***-**** ***** ** ** ****.

Wireshark *****

***** *** * *** ** ********** ** *********, *** ***** videos ** *********** ** ********* ******* *** ***** ******* ** look ******* *** ******** ****.  *** ********* ***** ***** *** to ***** * ****** *******:

Find ** ******* ****** ** ** * ******

** *** **** **** **** ****** * ****** **** *** a ****** ** ******* **** *** ***** *** ****** *** this ******** ***** *** *** **** **.  ** ** *********** to ***** **** *** ****** *** **** ***** ** **** up ******* ***** *** ***** *** ****** *******.

** **** *** ** *** *** "***" ****** *** *** to *** * *** ******* ****** ** **** ******* ******** data.


Find *** **** *** ** * ******

** *** **** * ******** ********* ** * ****** *** you **** ** **** *** **** *** ***** **** **** tutorial ***** *** *** ** **** **** ******* ** * packet *******.  **** **** *** "***** *******" ******.


Find *** *** **** ******* ** ** *********** ******

** ******* ***** **** **** * ****** ** **** ** the ***** *****, ********* *** **** *** *** *** ******* related ** *** ***** ****** **** **** * *** ******.  This ***** ***** *** *** ** *** *** "******" ******.


Other ****** *******

********* *** * **** ******** ********* *********, ** ********* ** the ******* ******* *************, ****** *** ******** ** ***** ***** ***** ** **** for *************** ** ****** ** ****** ******* *******.

** *** **** *** ** ******* ** * ****** *** want ** *** *** *** ******* ***** ** ** **** that ****** **** *** **** ******** *** *** *** *** following ******:

**.**** = ***.***.*.*

** *** ******* **** ** *********** **** * ******** ****** you *** *** *** "***" (******) ******:

**.*** == ***.***.**.**

********* *** *** *** * "***" (***********) ****** ** *** all *** ******* ***** **** ** * ******:

**.*** == ***.***.*.***

******* ***** *** ** **** ** ******* *******, **** ** to **** *** ******* **** * ******** **:

**.**** = ***.***.*.** && **.***** == ***

 

Comments (12)

Great post Brian!

Brian

This great article only shows how much info is exposed on our network on regular bases. This info is greatly helpful to the integrator, and equally helpful for an intruder.

While a good integrator may protect the communication from the VMS to the cameras using https, the communication between the VMS and the client is completely exposed in the majority of cases. There are few exceptions to the rule - some VMS solutions that do provide encryption and that will not necessarily require setting of VPNs to protect the data

Mulli Diamant

Brian, Excellent Post...!!

Great and informative article.

Some people think HTTPS might be part the end all for security, but for most it's only the initial communications and authentication, I think a lot of product could well be using Onvif, and I bet you would find the RTSP video stream is not afaik encrypted. So a simple man in the middle just sniffing the video packets could well be on the way to an episode of CSI!

Even companies using own private protocol, are most likely going to use unencrypted video streams. For speed and that, all so important wave their stupid hand in front of the camera and see their update display on browser being 1,000ms faster than company XYZ

The reason most likely is lazy programmers and unskilled non-security experts.

Any manufacturer out there even know this, do they even understand this. Do they care?

At some point end-end encryption will be the normal, and you best be able to deliver this ability or loose out, only takes one company to start this being standard.

Just take a look at iMessage and also now WhatApp this is how you do it properly.

Video content delivery has been around for ages; DRM protection is open source, maybe if Onvif committee needs to look at how quickly the world changes.

One thing I found that you should get an intelligent switch to using Wireshark, so you can setup the unit to allow monitoring on a particular port that is so you can grab all the packets of data, between a stand alone NVR and IPC devices. NVR PC based units naturally installing Wireshark on them is much easier, as mentioned in the article.

5.1.1.4 RTP/RTSP/HTTP/TCP

The data stream shall be sent via HTTP to traverse a firewall. A device shall support media transfer using RTP/RTSP/HTTP/TCP. And if a device supports TLS1.0, the data stream shall be sent or received via HTTPS to traverse a firewall, and a device shall support media transfer using RTP/RTSP/HTTPS/TCP.

ONVIF Streaming Spec v210

One thing I found that you should get an intelligent switch to using Wireshark, so you can setup the unit to allow monitoring on a particular port that is so you can grab all the packets of data, between a stand alone NVR and IPC devices.

This is a good idea. I actually have an old 10/100 Netgear *hub* ( a real hub, not a switch) that I've found to be handy for get a data stream from a camera or access control board. A pre-configured smart switch with a mirror port enabled would do the same thing.

I think a lot of product could well be using Onvif, and I bet you would find the RTSP video stream is not afaik encrypted. So a simple man in the middle just sniffing the video packets could well be on the way to an episode of CSI!

Years ago, at another company, we made a device that was a combination network sniffer and packet decoder. It could interpret SQL and SMB traffic in real time to analyze what users were doing with data. During that time I found an opensource project that could reconstruct files by reading packets off the wire. So, if you transferred a file to or from an SMB server, and I could get access to your network traffic, I could get a copy of the files you accessed by reconstructing them on my snoop machine. The same concept could be applied to unencrypted video streams, an enterprising developer could write something that showed you a mirror of an RTSP stream.

With a passive network tap you could easily create an RTSP stream mirror without even need a switch or mirror port/etc. Couple the passive tap to a Raspberry Pi, and you could create a device that wirelessly streams you a copy of the camera images without any detectable effect on the network.

This is a good idea. I actually have an old 10/100 Netgear *hub* ( a real hub, not a switch) that I've found to be handy for get a data stream from a camera or access control board. A pre-configured smart switch with a mirror port enabled would do the same thing.

A CSMA/CD 100Mbps hub? Lucky you!

Another way is to get in between the NVR and the IPC by routing thru your dual NIC PC.

I used a Netgear GS105E, not owning a time machine to go back and buy up all the hubs of yonder years! I be sure this is also now an old model in the world of IT, where one day means something obsolete or something even more useless.

How about an article with Wireshark and Wi-Fi exploits, see how vulnerable your home or business network is. All be it's a more complicated setup!

With Wi-Fi networks, we put our devices out there for everyone to sniff at.

I be sure this is also now an old model in the world of IT, where one day means something obsolete or something even more useless.

I have a GS724TP from ages ago that's still as useful as the day I bought it.

You know its funny, we have had cameras with 10/100Mbps interfaces for close to a decade now, but since we are not close to exceeding that on a per port basis even now, we don't really need 1 GB switches, not per port anyway. Unlike your typical IT needs.

That's why we're in a time machine...

An IPVM Wireshark certification class based on IP Cameras would be nice to have...

An IPVM Wireshark certification class based on IP Cameras would be nice to have...

And would be a mandatory prerequisite to gaining your IPVM Ethical Camera Hacker certificate.

An IPVM Wireshark certification class based on IP Cameras

FYI, we are adding in a 6th week for the IP networking class starting in January, that will include 2 classes on cybersecurity including more time on Wiresharking.

Login to read this IPVM report.
Why do I need to log in?
IPVM conducts unique testing and research funded by member's payments enabling us to offer the most independent, accurate and in-depth information.

Most Recent Industry Reports

'Sticker' Surveillance Camera Developed (CSEM Witness) on Nov 16, 2018
The Swiss Center for Electronics and Microtechnology (CSEM) has announced what it calls the: world’s first fully autonomous camera that can be...
ISC East 2018 Mini-Show Final Report on Nov 16, 2018
This is our second (updated) and final show report from ISC East. ISC East, by its own admission, is not a national or international show, billed...
Facial Detection Tested on Nov 16, 2018
Facial detection and recognition are increasingly offered by video surveillance manufacturers. Facial detection detects faces in an image/video...
Throughtek P2P/Cloud Solution Profile on Nov 15, 2018
Many IoT manufacturers either do not have the capabilities or the interest to develop their own cloud management software for their devices....
ASIS Offering Custom Research For Manufacturers on Nov 15, 2018
Manufacturers often want to know what industry people think about trends and, in particular, the segments and product they offer.  ASIS and its...
Hikvision Silent on "Bad Architectural Practices" Cybersecurity Report on Nov 14, 2018
A 'significant vulnerability was found in Hikvision cameras' by VDOO, a startup cybersecurity specialist. Hikvision has fixed the specific...
French Government Threatens School with $1.7M Fine For “Excessive Video Surveillance” on Nov 14, 2018
The French government has notified a high-profile Paris coding academy that it risks a fine of up to 1.5 million euros (about $1.7m) if it...
Integrator Credit Card Alternative Divvy on Nov 13, 2018
Most security integrators are small businesses but large enough that they have various employees that need to be able to expense various charges as...
Directory of Video Intercoms on Nov 13, 2018
Video Intercoms, also known as Video Door-Phones or Video Entry Systems, have been growing in the past decade as more and more IP camera...
Beware Amazon Go Store Hype (Tested) on Nov 13, 2018
IPVM's trip to and testing of Amazon Go's San Francisco store shows a number of significant operational and economic issues that undermine the...

The world's leading video surveillance information source, IPVM provides the best reporting, testing and training for 10,000+ members globally. Dedicated to independent and objective information, we uniquely refuse any and all advertisements, sponsorship and consulting from manufacturers.

About | FAQ | Contact